Пример #1
0
        private void CreateRun()
        {
            SequenceRun runs = new SequenceRun();

            OptionalNakedMethodRun setUp = new OptionalNakedMethodRun(this.setUpName);

            runs.Runs.Add(setUp);

            NakedMethodRun tests = new NakedMethodRun(this.testNameSuffix);

            runs.Runs.Add(tests);

            OptionalNakedMethodRun tearDown = new OptionalNakedMethodRun(this.tearDownName);

            runs.Runs.Add(tearDown);

            this.run = runs;
        }
Пример #2
0
        private void CreateRun()
        {
            SequenceRun runs = new SequenceRun();

            OptionalNakedMethodRun setUp = new OptionalNakedMethodRun(this.setUpName);
            runs.Runs.Add(setUp);

            NakedMethodRun tests = new NakedMethodRun(this.testNameSuffix);
            runs.Runs.Add(tests);

            OptionalNakedMethodRun tearDown = new OptionalNakedMethodRun(this.tearDownName);
            runs.Runs.Add(tearDown);

            this.run = runs;
        }