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

Annotation of /trunk/gr2lib_UnitTest/shared.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 109 - (hide annotations) (download)
Sun Jul 18 01:58:10 2010 UTC (9 years, 11 months ago) by william
File size: 1835 byte(s)
bulk commit
1 william 100 //#define DEFAULT_GRANNY_TEST_FILE
2     #define USE_SIMS3_GRANNY2_DLL_VERSION
3    
4 william 109 #define GRANNY_TEST_FILE_1
5     //#define GRANNY_TEST_FILE_2
6 william 100 //#define GRANNY_TEST_FILE_3
7     //#define GRANNY_TEST_FILE_4
8     //#define GRANNY_TEST_FILE_5
9    
10     #define COPY_GRANNY_DLL_BY_VERSION
11    
12 william 96 using System;
13 william 54 using System.Collections.Generic;
14     using System.Text;
15    
16     namespace gr2lib_UnitTest
17     {
18     internal class shared
19     {
20 william 100
21     internal const string GRANNY2_DLL_PREFIX = "granny2";
22     internal const string GRANNY2_DLL_SUFFIX = ".dll";
23    
24     #if GRANNY_TEST_FILE_1 && !DEFAULT_GRANNY_TEST_FILE
25     internal const string GRANNY_TEST_FILE = "./media/blowtorch.grannyrig";
26     #endif
27     #if GRANNY_TEST_FILE_2 && !DEFAULT_GRANNY_TEST_FILE
28     internal const string GRANNY_TEST_FILE = "./media/S3_motorcycleChopper.gr2";
29     #endif
30     #if GRANNY_TEST_FILE_3 && !DEFAULT_GRANNY_TEST_FILE
31     internal const string GRANNY_TEST_FILE = "./media/abandonedoxcar.grannyrig";
32     #endif
33     #if GRANNY_TEST_FILE_4 && !DEFAULT_GRANNY_TEST_FILE
34     internal const string GRANNY_TEST_FILE = "./media/alarmire.grannyrig";
35     #endif
36     #if GRANNY_TEST_FILE_5 && !DEFAULT_GRANNY_TEST_FILE
37     internal const string GRANNY_TEST_FILE = "./media/blowtorch.grannyrig";
38     #endif
39     #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
40 william 64 internal const string GRANNY_TEST_FILE = "./media/gryphon.gr2";
41 william 100 #endif
42    
43     #if COPY_GRANNY_DLL_BY_VERSION
44     internal const bool COPY_DLL_BY_VERSION = true;
45 william 96 #else
46 william 100 internal const bool COPY_DLL_BY_VERSION = false;
47 william 96 #endif
48 william 100
49     #if USE_SIMS3_GRANNY2_DLL_VERSION
50     internal const string EXPECTED_API_VERSION = "2.6.0.10";
51 william 96 #else
52 william 100 internal const string EXPECTED_API_VERSION = "2.7.0.30";
53 william 96 #endif
54 william 54 }
55     }

  ViewVC Help
Powered by ViewVC 1.1.22