~nunit-core/nunitv2/2.5

« back to all changes in this revision

Viewing changes to src/NUnitFramework/core/InvalidFixture.cs

  • Committer: jnewkirk
  • Date: 2002-07-10 20:00:13 UTC
  • Revision ID: vcs-imports@canonical.com-20020710200013-j8us5mbi0usp7p02
initialĀ load

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
using System;
 
2
 
 
3
namespace Nunit.Core
 
4
{
 
5
        /// <summary>
 
6
        /// Summary description for InvalidFixture.
 
7
        /// </summary>
 
8
        public class InvalidFixture
 
9
        {
 
10
                private Type fixtureType;
 
11
                private string message;
 
12
 
 
13
                public InvalidFixture(Type original, string why)
 
14
                {
 
15
                        fixtureType = original;
 
16
                        message = why;
 
17
                }
 
18
 
 
19
                public Type OriginalType
 
20
                {
 
21
                        get { return fixtureType; }
 
22
                }
 
23
 
 
24
                public string Message
 
25
                {
 
26
                        get { return message; }
 
27
                }
 
28
        }
 
29
}