/[gr2lib]/trunk/gr2lib_UnitTest/shared.cs
ViewVC logotype

Contents of /trunk/gr2lib_UnitTest/shared.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 116 - (show annotations) (download)
Sun Jul 18 02:25:12 2010 UTC (10 years ago) by william
File size: 2037 byte(s)
setup running UserRigEditorControl from gr2lib_unittest, via compiler directive

1 //#define DEFAULT_GRANNY_TEST_FILE
2 //#define USE_SIMS3_GRANNY2_DLL_VERSION
3
4 #define USE_RIGEDITOR_CONTROL
5
6 //#define GRANNY_TEST_FILE_1
7 //#define GRANNY_TEST_FILE_2
8 //#define GRANNY_TEST_FILE_3
9 //#define GRANNY_TEST_FILE_4
10 //#define GRANNY_TEST_FILE_5
11
12 #define COPY_GRANNY_DLL_BY_VERSION
13
14 using System;
15 using System.Collections.Generic;
16 using System.Text;
17
18 namespace gr2lib_UnitTest
19 {
20 internal class shared
21 {
22
23 #if USE_RIGEDITOR_CONTROL
24 internal const bool USE_RIGEDITOR_CONTROL = true;
25 #else
26 internal const bool USE_RIGEDITOR_CONTROL = false;
27 #endif
28
29
30 internal const string GRANNY2_DLL_PREFIX = "granny2";
31 internal const string GRANNY2_DLL_SUFFIX = ".dll";
32
33 #if GRANNY_TEST_FILE_1 && !DEFAULT_GRANNY_TEST_FILE
34 internal const string GRANNY_TEST_FILE = "./media/blowtorch.grannyrig";
35 #endif
36 #if GRANNY_TEST_FILE_2 && !DEFAULT_GRANNY_TEST_FILE
37 internal const string GRANNY_TEST_FILE = "./media/S3_motorcycleChopper.gr2";
38 #endif
39 #if GRANNY_TEST_FILE_3 && !DEFAULT_GRANNY_TEST_FILE
40 internal const string GRANNY_TEST_FILE = "./media/abandonedoxcar.grannyrig";
41 #endif
42 #if GRANNY_TEST_FILE_4 && !DEFAULT_GRANNY_TEST_FILE
43 internal const string GRANNY_TEST_FILE = "./media/alarmire.grannyrig";
44 #endif
45 #if GRANNY_TEST_FILE_5 && !DEFAULT_GRANNY_TEST_FILE
46 internal const string GRANNY_TEST_FILE = "./media/blowtorch.grannyrig";
47 #endif
48 #if (!GRANNY_TEST_FILE_1 && !GRANNY_TEST_FILE_2 && !GRANNY_TEST_FILE_3 && !GRANNY_TEST_FILE_4 && !GRANNY_TEST_FILE_5) || DEFAULT_GRANNY_TEST_FILE
49 internal const string GRANNY_TEST_FILE = "./media/gryphon.gr2";
50 #endif
51
52 #if COPY_GRANNY_DLL_BY_VERSION
53 internal const bool COPY_DLL_BY_VERSION = true;
54 #else
55 internal const bool COPY_DLL_BY_VERSION = false;
56 #endif
57
58 #if USE_SIMS3_GRANNY2_DLL_VERSION
59 internal const string EXPECTED_API_VERSION = "2.6.0.10";
60 #else
61 internal const string EXPECTED_API_VERSION = "2.7.0.30";
62 #endif
63 }
64 }

  ViewVC Help
Powered by ViewVC 1.1.22