vfs: check userland buffers before reading them.
[haiku.git] / src / tests / kits / app / bpropertyinfo / PropertyFlattenTest.h
blobc208c09f472c8bb93e806595a05697a667882de2
1 /*
2 $Id: PropertyFlattenTest.h 1218 2002-09-28 00:19:49Z shatty $
4 This file defines a class for performing one test of BPropertyInfo
5 functionality.
7 */
10 #ifndef PropertyFlattenTest_H
11 #define PropertyFlattenTest_H
14 #include "PropertyTestcase.h"
15 #include <PropertyInfo.h>
18 class PropertyFlattenTest :
19 public PropertyTestcase {
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);
31 public:
32 static Test *suite(void);
33 PropertyFlattenTest(std::string name = "");
34 virtual ~PropertyFlattenTest();
37 #endif