xref: /haiku/src/tests/kits/app/bpropertyinfo/PropertyFlattenTest.h (revision 51978af14a173e7fae0563b562be5603bc652aeb)
1 /*
2 	$Id: PropertyFlattenTest.h,v 1.3 2002/09/28 00:19:49 shatty Exp $
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