testbox.build-testbox.testbox.tests.specsWithFailures

Class MXUnitExpectedExceptions

lucee.Component
    extended by testbox.system.BaseSpec
      extended by testbox.system.compat.framework.TestCase
        extended by testbox.build-testbox.testbox.tests.specsWithFailures.MXUnitExpectedExceptions
Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Method Summary
    any afterTests()
    any beforeTests()
         LIFE CYCLE Methods **********************************.
    private any getData()
    private any raiseExpectedException()
    private any raiseUnexpectedException()
    any setup()
    any teardown()
    any testExpectedExceptionFromMethodWithType()
    any testExpectedExceptionFromMethodWithTypeAndRegex()
    any testExpectedExceptionNoValue()
    any testExpectedExceptionWithValue()
    any testExpectException_should_fail()
    any testRaiseException_fail_wrong_exception_raised()
    any testRaiseException_pass()
     
    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, expectException, fail, getMockFactory, init, injectMethod, injectProperty, mock, runTestRemote, setMockingFramework
     
    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 lucee.Component
    None

    Method Detail

    afterTests

    public any afterTests()

    Overrides:
    afterTests in class TestCase

    beforeTests

    public any beforeTests()

    LIFE CYCLE Methods **********************************

    Overrides:
    beforeTests in class TestCase

    getData

    private any getData()


    raiseExpectedException

    private any raiseExpectedException()


    raiseUnexpectedException

    private any raiseUnexpectedException()


    setup

    public any setup()

    Overrides:
    setup in class TestCase

    teardown

    public any teardown()

    Overrides:
    teardown in class TestCase

    testExpectedExceptionFromMethodWithType

    public any testExpectedExceptionFromMethodWithType()


    testExpectedExceptionFromMethodWithTypeAndRegex

    public any testExpectedExceptionFromMethodWithTypeAndRegex()


    testExpectedExceptionNoValue

    public any testExpectedExceptionNoValue()


    testExpectedExceptionWithValue

    public any testExpectedExceptionWithValue()


    testExpectException_should_fail

    public any testExpectException_should_fail()


    testRaiseException_fail_wrong_exception_raised

    public any testRaiseException_fail_wrong_exception_raised()


    testRaiseException_pass

    public any testRaiseException_pass()