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

Annotation of /trunk/gr2lib_UnitTest/shared.cs

Parent Directory Parent Directory | Revision Log Revision Log


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

1 william 100 //#define DEFAULT_GRANNY_TEST_FILE
2 william 116 //#define USE_SIMS3_GRANNY2_DLL_VERSION
3 william 100
4 william 116 #define USE_RIGEDITOR_CONTROL
5    
6     //#define GRANNY_TEST_FILE_1
7 william 109 //#define GRANNY_TEST_FILE_2
8 william 100 //#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 william 96 using System;
15 william 54 using System.Collections.Generic;
16     using System.Text;
17    
18     namespace gr2lib_UnitTest
19     {
20     internal class shared
21     {
22 william 100
23 william 116 #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 william 100 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 william 64 internal const string GRANNY_TEST_FILE = "./media/gryphon.gr2";
50 william 100 #endif
51    
52     #if COPY_GRANNY_DLL_BY_VERSION
53     internal const bool COPY_DLL_BY_VERSION = true;
54 william 96 #else
55 william 100 internal const bool COPY_DLL_BY_VERSION = false;
56 william 96 #endif
57 william 100
58     #if USE_SIMS3_GRANNY2_DLL_VERSION
59     internal const string EXPECTED_API_VERSION = "2.6.0.10";
60 william 96 #else
61 william 100 internal const string EXPECTED_API_VERSION = "2.7.0.30";
62 william 96 #endif
63 william 54 }
64     }

  ViewVC Help
Powered by ViewVC 1.1.22