Searched refs:propTest (Results 1 - 8 of 8) sorted by relevance
/haiku/src/tests/kits/app/bpropertyinfo/ |
H A D | PropertyFlattenTest.cpp | 49 BPropertyInfo *propTest, 60 assert(!propTest->IsFixedSize()); 61 assert(propTest->TypeCode() == B_PROPERTY_INFO_TYPE); 62 assert(propTest->AllowsTypeCode(B_PROPERTY_INFO_TYPE)); 63 assert(!propTest->AllowsTypeCode(B_TIME_TYPE)); 64 assert(propTest->FlattenedSize() == flat_size); 65 assert(propTest->Flatten(buffer, sizeof(buffer)/ sizeof(buffer[0])) == B_OK); 67 assert(memcmp(buffer, bflat_data, propTest->FlattenedSize()) == 0); 69 assert(memcmp(buffer, lflat_data, propTest->FlattenedSize()) == 0); 48 TestProperty( BPropertyInfo *propTest, const property_info *prop_list, const value_info *value_list, int32 prop_count, int32 value_count, ssize_t flat_size, const char *lflat_data, const char *bflat_data) argument
|
H A D | PropertyFindMatchTest.cpp | 48 BPropertyInfo *propTest, 59 const property_info *theProps = propTest->Properties(); 63 ExecFindMatch(propTest, uniquePropName, uniqueCommand, uniqueSpecifier, false, -1); 64 ExecFindMatch(propTest, commonPropName, uniqueCommand, uniqueSpecifier, false, -1); 65 ExecFindMatch(propTest, uniquePropName, commonCommand, uniqueSpecifier, false, -1); 66 ExecFindMatch(propTest, uniquePropName, uniqueCommand, commonSpecifier, false, -1); 86 ExecFindMatch(propTest, theProps[i].name, commands[j], uniqueSpecifier, 94 ExecFindMatch(propTest, theProps[i].name, uniqueCommand, specifiers[k], 97 ExecFindMatch(propTest, theProps[i].name, commands[j], specifiers[k], 129 BPropertyInfo *propTest, 47 TestProperty( BPropertyInfo *propTest, const property_info *prop_list, const value_info *value_list, int32 prop_count, int32 value_count, ssize_t flat_size, const char *lflat_data, const char *bflat_data) argument 128 ExecFindMatch( BPropertyInfo *propTest, const char *prop, uint32 comm, uint32 spec, bool wildcardCommand, int32 result ) argument [all...] |
H A D | PropertyFindMatchTest.h | 22 void ExecFindMatch(BPropertyInfo *propTest, 30 void TestProperty(BPropertyInfo *propTest,
|
H A D | PropertyFlattenTest.h | 22 void TestProperty(BPropertyInfo *propTest,
|
H A D | PropertyConstructionTest.h | 30 void TestProperty(BPropertyInfo *propTest,
|
H A D | PropertyConstructionTest.cpp | 165 BPropertyInfo *propTest, 174 assert(propTest->CountProperties() == prop_count); 175 assert(propTest->CountValues() == value_count); 176 CompareProperties(propTest->Properties(), prop_list, prop_count); 177 CompareValues(propTest->Values(), value_list, value_count); 164 TestProperty( BPropertyInfo *propTest, const property_info *prop_list, const value_info *value_list, int32 prop_count, int32 value_count, ssize_t flat_size, const char *lflat_data, const char *bflat_data) argument
|
H A D | PropertyTestcase.h | 26 virtual void TestProperty(BPropertyInfo *propTest,
|
H A D | PropertyTestcase.cpp | 582 BPropertyInfo *propTest; local 587 propTest = new BPropertyInfo(theTests[i].props, theTests[i].values); 588 TestProperty(propTest, theTests[i].props, theTests[i].values, 592 delete propTest; 596 propTest = new BPropertyInfo(propPtr, valuePtr, true); 597 TestProperty(propTest, theTests[i].props, theTests[i].values, 601 delete propTest; 603 propTest = new BPropertyInfo; 604 assert(propTest->Unflatten(B_PROPERTY_INFO_TYPE, theTests[i].lflat_data, 606 TestProperty(propTest, theTest [all...] |
Completed in 92 milliseconds