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

File: [OMI] / omi / nits / sample / NitsNewInterfaceTests.h (download)
Revision: 1.1, Mon Apr 20 17:19:54 2015 UTC (9 years, 2 months ago) by krisbash
Branch: MAIN
CVS Tags: OMI_1_0_8_2, OMI_1_0_8_1, HEAD
OMI 1.0.8-1

#ifndef __NITS_NEW_INTERFACE_TESTS_H__
#define __NITS_NEW_INTERFACE_TESTS_H__

#define TEST_BUILD
#ifdef _MSC_VER
	#include <windows.h>
#endif
#include <nits/base/nits.h>
#include <pal/palcommon.h>

using namespace TestSystem;

struct MyStruct
{
    int x;
    wchar_t *p;
};

struct MyStruct1
{
    int a, b;
};

struct MyStruct2
{
    int c, d;
};

NitsDeclSetup0(Fixture0, MyStruct);

NitsDeclSetup1(Fixture2, MyStruct2, Fixture0);

NitsDeclSetup1(Fixture4, MyStruct2, Fixture0);

NitsDeclSetup2(Fixture5, MyStruct2, Fixture2, Fixture4);

NitsDeclSplit2(Fixture3, MyStruct, Fixture0, Fixture1);

NitsDeclSetup(MySetup2);

#endif

ViewCVS 0.9.2