1 /* 2 $Id: PropertyFlattenTest.h 1218 2002-09-28 00:19:49Z shatty $ 3 4 This file defines a class for performing one test of BPropertyInfo 5 functionality. 6 7 */ 8 9 10 #ifndef PropertyFlattenTest_H 11 #define PropertyFlattenTest_H 12 13 14 #include "PropertyTestcase.h" 15 #include <PropertyInfo.h> 16 17 18 class PropertyFlattenTest : 19 public PropertyTestcase { 20 21 protected: 22 void TestProperty(BPropertyInfo *propTest, 23 const property_info *prop_list, 24 const value_info *value_list, 25 int32 prop_count, 26 int32 value_count, 27 ssize_t flat_size, 28 const char *lflat_data, 29 const char *bflat_data); 30 31 public: 32 static Test *suite(void); 33 PropertyFlattenTest(std::string name = ""); 34 virtual ~PropertyFlattenTest(); 35 }; 36 37 #endif 38