coldbox.system.testing

Class BaseModelTest

lucee.Component
    extended by testbox.system.BaseSpec
      extended by testbox.system.compat.framework.TestCase
        extended by coldbox.system.testing.BaseTestCase
          extended by coldbox.system.testing.BaseModelTest

Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- Standalone base test case for model objects

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Method Summary
    any setup()
         Setup a model to test.
     
    Methods inherited from class coldbox.system.testing.BaseTestCase
    afterAll, afterTests, announce, announceInterception, beforeAll, beforeTests, delete, execute, explodeRoute, get, getAppMapping, getCache, getCacheBox, getColdboxAppKey, getConfigMapping, getController, getFlashScope, getHandlerResults, getInstance, getInterceptor, getLogBox, getMockController, getMockModel, getMockRequestContext, getModel, getNativeStatusCode, getPageContextResponse, getRenderData, getRenderedContent, getRequestContext, getStatusCode, getUtil, getWireBox, metadataInspection, parseQueryString, patch, post, processException, put, request, reset, setAppMapping, setColdboxAppKey, setConfigMapping, setController, setupRequest
     
    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, teardown
     
    Methods inherited from class testbox.system.BaseSpec
    addAssertions, addMatchers, afterEach, aroundEach, aroundStub, beforeEach, clearDebugBuffer, closureStub, console, createEmptyMock, createMock, createStub, describe, expect, expectAll, expectedException, fdescribe, feature, ffeature, fgiven, fit, fscenario, fstory, fthen, fwhen, generateAroundEachClosuresStack, getDebugBuffer, getMockBox, getProperty, given, hasExpectedException, isExpectedException, it, makePublic, mockData, prepareMock, print, println, querySim, runAfterEachClosures, runAroundEachClosures, runBeforeEachClosures, runRemote, runSpec, runTestMethod, scenario, story, then, when, xdescribe, xfeature, xgiven, xit, xscenario, xstory, xthen, xwhen
     
    Methods inherited from class lucee.Component
    None

    Method Detail

    setup

    public any setup()

    Setup a model to test

    Overrides:
    setup in class BaseTestCase