TestBox 2.4.0

testbox.samples.specsWithFailures
Class TeardownWithFailureTest

railo-context.Component
        extended by testbox.system.BaseSpec
            extended by testbox.system.compat.framework.TestCase
                extended by testbox.samples.specsWithFailures.TeardownWithFailureTest

public class TeardownWithFailureTest
extends TestCase

Method Summary
 void afterTests()
          put things here that you want to run after all tests
 void beforeTests()
          put things here that you want to run before all tests
 void setUp()
          put things here that you want to run before each test
 void stonesFailTest()
 void stonesSuccessTest()
 void tearDown()
          put things here that you want to run after each test
 
Methods inherited from class testbox.system.compat.framework.TestCase
addAssertDecorator, assert, assertArrayEquals, assertEquals, assertEqualsCase, assertEqualsWithTolerance, assertFalse, assertIsArray, assertIsDefined, assertIsEmpty, assertIsEmptyArray, assertIsEmptyQuery, assertIsEmptyStruct, assertIsExactTypeOf, assertIsQuery, assertIsStruct, assertIsTypeOf, assertIsXMLDoc, assertNotEquals, assertNotSame, assertQueryEquals, assertSame, assertStructEquals, assertTrue, debug, enableAfterTests, expectException, fail, getBaseTarget, getMockFactory, getRunnableMethods, init, injectMethod, injectProperty, mock, runTestRemote, setMockingFramework, TestCase
 
Methods inherited from class testbox.system.BaseSpec
addAssertions, addMatchers, afterEach, aroundEach, aroundStub, beforeEach, clearDebugBuffer, closureStub, console, createEmptyMock, createMock, createStub, describe, expect, expectedException, feature, generateAroundEachClosuresStack, getDebugBuffer, getMockBox, getProperty, given, hasExpectedException, isExpectedException, it, makePublic, prepareMock, print, println, querySim, runAfterEachClosures, runAroundEachClosures, runBeforeEachClosures, runRemote, runSpec, runTestMethod, scenario, sliceTagContext, story, then, when, xdescribe, xit
 
Methods inherited from class railo-context.Component
 

Method Detail

afterTests

public void afterTests()
put things here that you want to run after all tests

Overrides:
afterTests in class TestCase

beforeTests

public void beforeTests()
put things here that you want to run before all tests

Overrides:
beforeTests in class TestCase

setUp

public void setUp()
put things here that you want to run before each test

Overrides:
setUp in class TestCase

stonesFailTest

public void stonesFailTest()


stonesSuccessTest

public void stonesSuccessTest()


tearDown

public void tearDown()
put things here that you want to run after each test

Overrides:
tearDown in class TestCase

TestBox 2.4.0