public void Verify_NJasmine_implementation(IFixtureResult fixtureResult)
 {
     fixtureResult.failed();
     fixtureResult.hasTrace(@"
     failure_in_setup_doesnt_prevent_cleanup_in_same_scope
     failure_in_setup_doesnt_prevent_cleanup");
 }
Example #2
0
        public void Verify_NJasmine_implementation(IFixtureResult fixtureResult)
        {
            fixtureResult.failed();
            fixtureResult.hasTrace(@"
failure_in_setup_doesnt_prevent_cleanup_in_same_scope
failure_in_setup_doesnt_prevent_cleanup");
        }
        public void Verify_NJasmine_implementation(IFixtureResult fixtureResult)
        {
            fixtureResult.succeeds();

            fixtureResult.hasTrace(@"
creating some_observable_A
creating some_observable_B
creating some_observable_C
disposing some_observable_C
disposing some_observable_B
disposing some_observable_A
creating some_observable_G
creating some_observable_G
creating some_observable_A
creating some_observable_B
creating some_observable_D
disposing some_observable_D
disposing some_observable_B
disposing some_observable_A
creating some_observable_A
creating some_observable_B
creating some_observable_D
creating some_observable_E
creating some_observable_F
disposing some_observable_F
disposing some_observable_E
disposing some_observable_D
disposing some_observable_B
disposing some_observable_A
disposing some_observable_G
");
        }
            public void Verify_NJasmine_implementation(IFixtureResult fixtureResult)
            {
                if (!fixtureResult.WasRanByNUnit())
                    return;

                fixtureResult.succeeds();

                fixtureResult.hasTrace(@"
                running test 1
                running test 2
                TearDown NamespaceSetupB
                ");
            }
 public void Verify_NJasmine_implementation(IFixtureResult fixtureResult)
 {
     fixtureResult.succeeds();
     fixtureResult.hasTrace(@"
     First setup
     First test
     First cleanup
     First setup
     Second setup
     Second test
     Second cleanup
     First cleanup
     ");
 }
Example #6
0
        public void Verify_NJasmine_implementation(IFixtureResult fixtureResult)
        {
            fixtureResult.succeeds();
            fixtureResult.hasTrace(@"
one
two
three
four
-four
-three
-two
-one
");
        }
 public void Verify_NJasmine_implementation(IFixtureResult fixtureResult)
 {
     fixtureResult.succeeds();
     fixtureResult.hasTrace(@"
     one
     two
     three
     four
     -four
     -three
     -two
     -one
     ");
 }
Example #8
0
        public void Verify_NJasmine_implementation(IFixtureResult fixtureResult)
        {
            fixtureResult.succeeds();
            fixtureResult.hasTrace(@"
First setup
First test
First cleanup
First setup
Second setup
Second test
Second cleanup
First cleanup
");
        }
            public void Verify_NJasmine_implementation(IFixtureResult fixtureResult)
            {
                if (!fixtureResult.WasRanByNUnit())
                {
                    return;
                }

                fixtureResult.succeeds();

                fixtureResult.hasTrace(@"
running test 1
running test 2
TearDown NamespaceSetupB
");
            }
        public void Verify_NJasmine_implementation(IFixtureResult fixtureResult)
        {
            fixtureResult.succeeds();
            fixtureResult.hasTrace(@"
BEFORE ALL
first test
SECOND BEFORE ALL
INNER BEFORE ALL
second test
third test
INNER AFTER ALL
DISPOSING INNER BEFORE ALL
SECOND AFTER ALL
DISPOSING SECOND BEFORE ALL
AFTER ALL
DISPOSING BEFORE ALL
");
        }
        public void Verify_NJasmine_implementation(IFixtureResult fixtureResult)
        {
            fixtureResult.succeeds();

            fixtureResult.hasTrace(@"
            creating some_observable_A
            creating some_observable_B
            creating some_observable_C
            creating some_observable_A
            creating some_observable_B
            creating some_observable_D
            creating some_observable_A
            creating some_observable_B
            creating some_observable_D
            creating some_observable_E
            creating some_observable_F
            ");
        }
        public void Verify_NJasmine_implementation(IFixtureResult fixtureResult)
        {
            fixtureResult.succeeds();

            fixtureResult.hasTrace(@"
test started, before include of a
FixtureSetup some_Nunit_fixture_a
after include of a
first describe, before include of b
FixtureSetup some_Nunit_fixture_b
after include of b
test started, before include of a
SetUp some_Nunit_fixture_a
after include of a
first describe, before include of b
SetUp some_Nunit_fixture_b
after include of b
first test
TearDown some_Nunit_fixture_b
TearDown some_Nunit_fixture_a
before include of c
FixtureSetup some_Nunit_fixture_c
after include of c
test started, before include of a
SetUp some_Nunit_fixture_a
after include of a
first describe, before include of b
SetUp some_Nunit_fixture_b
after include of b
before include of c
SetUp some_Nunit_fixture_c
after include of c
second test test
TearDown some_Nunit_fixture_c
TearDown some_Nunit_fixture_b
TearDown some_Nunit_fixture_a
FixtureTearDown some_Nunit_fixture_c
FixtureTearDown some_Nunit_fixture_b
FixtureTearDown some_Nunit_fixture_a
");
        }
 public void Verify_NJasmine_implementation(IFixtureResult fixtureResult)
 {
     fixtureResult.succeeds();
     fixtureResult.hasTrace(@"
     BEFORE ALL
     first test
     SECOND BEFORE ALL
     INNER BEFORE ALL
     second test
     third test
     INNER AFTER ALL
     DISPOSING INNER BEFORE ALL
     SECOND AFTER ALL
     DISPOSING SECOND BEFORE ALL
     AFTER ALL
     DISPOSING BEFORE ALL
     ");
 }
        public void Verify_NJasmine_implementation(IFixtureResult fixtureResult)
        {
            fixtureResult.succeeds();

            fixtureResult.hasTrace(@"
            test started, before include of a
            FixtureSetup some_Nunit_fixture_a
            after include of a
            first describe, before include of b
            FixtureSetup some_Nunit_fixture_b
            after include of b
            test started, before include of a
            SetUp some_Nunit_fixture_a
            after include of a
            first describe, before include of b
            SetUp some_Nunit_fixture_b
            after include of b
            first test
            TearDown some_Nunit_fixture_b
            TearDown some_Nunit_fixture_a
            before include of c
            FixtureSetup some_Nunit_fixture_c
            after include of c
            test started, before include of a
            SetUp some_Nunit_fixture_a
            after include of a
            first describe, before include of b
            SetUp some_Nunit_fixture_b
            after include of b
            before include of c
            SetUp some_Nunit_fixture_c
            after include of c
            second test test
            TearDown some_Nunit_fixture_c
            TearDown some_Nunit_fixture_b
            TearDown some_Nunit_fixture_a
            FixtureTearDown some_Nunit_fixture_c
            FixtureTearDown some_Nunit_fixture_b
            FixtureTearDown some_Nunit_fixture_a
            ");
        }