Exemplo n.º 1
0
        public void setup()
        {
            builder = new NSpecTestMethodBuilder();

            test = NUnitSubstitute.ForTestMethod();
            test.BuilderException   = new Exception();
            test.Categories         = new ArrayList();
            test.Description        = "description";
            test.ExceptionProcessor = Substitute.For <ExpectedExceptionProcessor>(test);
            test.Fixture            = this;
            test.IgnoreReason       = "ignoreReason";
            test.Parent             = NUnitSubstitute.ForTest();
            test.Properties         = new Hashtable();
            test.RunState           = RunState.Runnable;
        }
 public void setup()
 {
     testResult = new TestResult(NUnitSubstitute.ForTest());
     testResultExampleReporter = new TestResultExampleReporter(testResult);
 }
Exemplo n.º 3
0
        public void setup()
        {
            specification = new DecorateTestSpecification();

            test = NUnitSubstitute.ForTest();
        }