1 /* 2 $Id: PropertyFindMatchTest.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 PropertyFindMatchTest_H 11 #define PropertyFindMatchTest_H 12 13 14 #include "PropertyTestcase.h" 15 #include <PropertyInfo.h> 16 17 18 class PropertyFindMatchTest : 19 public PropertyTestcase { 20 21 private: 22 void ExecFindMatch(BPropertyInfo *propTest, 23 const char *prop, 24 uint32 comm, 25 uint32 spec, 26 bool wildcardCommand, 27 int32 result); 28 29 protected: 30 void TestProperty(BPropertyInfo *propTest, 31 const property_info *prop_list, 32 const value_info *value_list, 33 int32 prop_count, 34 int32 value_count, 35 ssize_t flat_size, 36 const char *lflat_data, 37 const char *bflat_data); 38 39 public: 40 static Test *suite(void); 41 PropertyFindMatchTest(std::string name = ""); 42 virtual ~PropertyFindMatchTest(); 43 }; 44 45 #endif 46