xref: /haiku/src/tests/kits/app/bpropertyinfo/PropertyFlattenTest.h (revision d081dee68d3a8b20dcb93a356feac64f98f2e983)
1 /*
2 	$Id: PropertyFlattenTest.h,v 1.1 2002/08/18 03:44:21 jrand 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 *flat_data);
29 
30 public:
31 	static Test *suite(void);
32 	PropertyFlattenTest(std::string name = "");
33 	virtual ~PropertyFlattenTest();
34 	};
35 
36 #endif