~charlie.poole/nunitv2/equality-handlers

« back to all changes in this revision

Viewing changes to src/tests/mock-assembly/MockAssembly.cs

  • Committer: Charlie Poole
  • Date: 2011-03-29 21:54:46 UTC
  • mfrom: (3257.4.15 standalone-editor)
  • Revision ID: charlie@nunit.org-20110329215446-pu1r6okg4www4zat
Remove integrated project editor and substitute new standalone editor

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
                /// Constant definitions for the mock-assembly dll.
16
16
                /// </summary>
17
17
                public class MockAssembly
18
 
                {
19
 
#if NET_2_0
 
18
        {
 
19
#if CLR_2_0
20
20
            public static int Classes = 9;
21
21
#else
22
22
            public static int Classes = 8;
237
237
        
238
238
        [TestFixture]
239
239
        public class FixtureWithTestCases
240
 
        {
241
 
#if NET_2_0
242
 
                public static readonly int Tests = 4;
 
240
    {
 
241
#if CLR_2_0
 
242
        public static readonly int Tests = 4;
243
243
                public static readonly int Suites = 3;
244
244
#else
245
245
                public static readonly int Tests = 2;
251
251
                public int MethodWithParameters(int x, int y)
252
252
                {
253
253
                        return x+y;
254
 
                }
 
254
        }
255
255
 
256
 
#if NET_2_0
257
 
                [TestCase(2, 4)]
 
256
#if CLR_2_0
 
257
        [TestCase(2, 4)]
258
258
                [TestCase(9.2, 11.7)]
259
259
                public void GenericMethod<T>(T x, T y)
260
260
                {
279
279
        }
280
280
        
281
281
        public class GenericFixtureConstants
282
 
        {
283
 
#if NET_2_0
284
 
                public static readonly int Tests = 4;
 
282
    {
 
283
#if CLR_2_0
 
284
        public static readonly int Tests = 4;
285
285
                public static readonly int Suites = 3;
286
286
#else
287
287
        public static readonly int Tests = 0;
288
288
        public static readonly int Suites = 0;
289
289
#endif
290
 
        }
291
 
                
292
 
#if NET_2_0
293
 
        [TestFixture(5)]
 
290
    }
 
291
 
 
292
#if CLR_2_0
 
293
    [TestFixture(5)]
294
294
        [TestFixture(11.5)]
295
295
        public class GenericFixture<T>
296
296
        {