(file) Return to NitsNewInterfaceTests.h CVS log (file) (dir) Up to [OMI] / omi / nits / sample

 1 krisbash 1.1 #ifndef __NITS_NEW_INTERFACE_TESTS_H__
 2              #define __NITS_NEW_INTERFACE_TESTS_H__
 3              
 4              #define TEST_BUILD
 5              #ifdef _MSC_VER
 6              	#include <windows.h>
 7              #endif
 8              #include <nits/base/nits.h>
 9              #include <pal/palcommon.h>
10              
11              using namespace TestSystem;
12              
13              struct MyStruct
14              {
15                  int x;
16                  wchar_t *p;
17              };
18              
19              struct MyStruct1
20              {
21                  int a, b;
22 krisbash 1.1 };
23              
24              struct MyStruct2
25              {
26                  int c, d;
27              };
28              
29              NitsDeclSetup0(Fixture0, MyStruct);
30              
31              NitsDeclSetup1(Fixture2, MyStruct2, Fixture0);
32              
33              NitsDeclSetup1(Fixture4, MyStruct2, Fixture0);
34              
35              NitsDeclSetup2(Fixture5, MyStruct2, Fixture2, Fixture4);
36              
37              NitsDeclSplit2(Fixture3, MyStruct, Fixture0, Fixture1);
38              
39              NitsDeclSetup(MySetup2);
40              
41              #endif

ViewCVS 0.9.2