MXUnit 2.1.3 (Generated: 09/27/2012)

mxunit.framework
Class RemoteFacade

WEB-INF.cftags.component
        extended by mxunit.framework.RemoteFacade

public class RemoteFacade
extends WEB-INF.cftags.component

Main default interface into MXUnit framework from the MXUnit Ecplise Plugin.


Method Summary
 any actOnTestCase(any testCase)
          an 'Interceptor' for custom remote facades
remote string endTestRun(string TestRunKey)
          ensures proper cleanup
remote struct executeTestCase(String componentName, String methodNames, string TestRunKey)
package string formatExceptionKey(any ErrorType)
          ensures a string in the EXCEPTION key
remote array getComponentMethods(string componentName)
remote Date getFrameworkDate()
          returns the current framework version date in form of mm/dd/yyyy
remote String getFrameworkVersion()
          returns the current framework version in form of major
package any getObject(String componentName, string testRunKey)
remote String getServerType()
          returns the server type, whether coldfusion or bluedragon
remote void initializeSuitePool()
remote boolean ping()
          returns true
remote numeric purgeSuitePool()
remote string startTestRun()
 any testResultToStructs(any testResult, any componentPath)
          turns the TestResult item into a struct for passing to eclipse
 
Methods inherited from class WEB-INF.cftags.component
 

Method Detail

actOnTestCase

public any actOnTestCase(any testCase)
an 'Interceptor' for custom remote facades. This will enable you to act on each test case object, possibly injecting additional data, etc

Parameters:
testCase -

endTestRun

remote string endTestRun(string TestRunKey)
ensures proper cleanup

Parameters:
TestRunKey - the key returned from startTestRun; used for managing the pool of components

executeTestCase

remote struct executeTestCase(String componentName, String methodNames, string TestRunKey)

Parameters:
componentName
methodNames - pass empty string to run all methods. pass list of valid method names to run individual methods
TestRunKey - the key returned from startTestRun; used for managing the pool of components

formatExceptionKey

package string formatExceptionKey(any ErrorType)
ensures a string in the EXCEPTION key. This is necessitated by a weirdo bug in CF with NonArrayExceptions

Parameters:
ErrorType - the TYPE key from the cfcatch struct

getComponentMethods

remote array getComponentMethods(string componentName)

Parameters:
componentName -

getFrameworkDate

remote Date getFrameworkDate()
returns the current framework version date in form of mm/dd/yyyy


getFrameworkVersion

remote String getFrameworkVersion()
returns the current framework version in form of major.minor.buildnum


getObject

package any getObject(String componentName, string testRunKey)

Parameters:
componentName
testRunKey - the key returned from startTestRun; used for managing the pool of components

getServerType

remote String getServerType()
returns the server type, whether coldfusion or bluedragon


initializeSuitePool

remote void initializeSuitePool()


ping

remote boolean ping()
returns true


purgeSuitePool

remote numeric purgeSuitePool()


startTestRun

remote string startTestRun()


testResultToStructs

public any testResultToStructs(any testResult, any componentPath)
turns the TestResult item into a struct for passing to eclipse. It will only ever process a single component under test, although I did build it to loop over the array of tests returned from the TestResult, although currently there is no condition under which that will ever be more than a single-element array

Parameters:
testResult
componentPath - the full filesystem path to the component under test

MXUnit 2.1.3 (Generated: 09/27/2012)