MXUnit 2.1.3 (Generated: 09/27/2012)

mxunit.framework
Class ComponentUtils

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

public class ComponentUtils
extends WEB-INF.cftags.component

Internal component not generally used outside the framework


Method Summary
 ComponentUtils ComponentUtils()
          Constructor
 string buildInheritanceTree([struct metaData], [string accumulator=''])
 any dump([any o])
 string getComponentRoot([string fullPath=''])
 any getContextRootComponent()
 any getContextRootPath()
 string getInstallRoot()
 string getLineSeparator()
          Returns file
 any getMockFactoryInfo([any factoryName=''])
 string getSeparator()
          Returns file
 any hasJ2EEContext()
 any isCfc([any objectToCheck])
          Determines whether or not the given object is a ColdFusion component; Author: Nathan Dintenfass
 boolean isFrameworkTemplate(string template)
          whether the passed in template is part of the mxunit framework
 boolean objectIsTypeOf(any object, string type)
          returns true if the object 'type' as reported by getMetadata() matches the object's type or if the object is in the inheritance tree of the type
 
Methods inherited from class WEB-INF.cftags.component
 

Method Detail

ComponentUtils

public ComponentUtils ComponentUtils()
Constructor


buildInheritanceTree

public string buildInheritanceTree([struct metaData], [string accumulator=''])

Parameters:
metaData
accumulator

dump

public any dump([any o])

Parameters:
o

getComponentRoot

public string getComponentRoot([string fullPath=''])

Parameters:
fullPath - Test Hook.

getContextRootComponent

public any getContextRootComponent()


getContextRootPath

public any getContextRootPath()


getInstallRoot

public string getInstallRoot()


getLineSeparator

public string getLineSeparator()
Returns file.separator as seen by OS.


getMockFactoryInfo

public any getMockFactoryInfo([any factoryName=''])

Parameters:
factoryName

getSeparator

public string getSeparator()
Returns file.separator as seen by OS.


hasJ2EEContext

public any hasJ2EEContext()


isCfc

public any isCfc([any objectToCheck])
Determines whether or not the given object is a ColdFusion component; Author: Nathan Dintenfass

Parameters:
objectToCheck

isFrameworkTemplate

public boolean isFrameworkTemplate(string template)
whether the passed in template is part of the mxunit framework

Parameters:
template

objectIsTypeOf

public boolean objectIsTypeOf(any object, string type)
returns true if the object 'type' as reported by getMetadata() matches the object's type or if the object is in the inheritance tree of the type

Parameters:
object
type

MXUnit 2.1.3 (Generated: 09/27/2012)