PHP Class lithium\tests\cases\analysis\InspectorTest

Inheritance: extends lithium\test\Unit
Show file Open project: unionofrad/lithium

Public Properties

Property Type Description
$test
$test2

Protected Properties

Property Type Description
$_test

Public Methods

Method Description
testBasicMethodInspection ( ) Tests that basic method lists and information are queried properly.
testCallableClassWithBadMethods ( )
testCallableClassWithRealMethods ( )
testCallableObjectWithBadMethods ( )
testCallableObjectWithRealMethods ( )
testCallableVisibility ( )
testCaseSensitiveIdentifiers ( ) Tests that class and namepace names which are equivalent in a case-insensitive search still match properly.
testClassDependencies ( )
testClassFileIntrospection ( )
testClassParents ( ) Tests getting a list of parent classes from an object or string class name.
testExecutableLines ( ) Gets the executable line numbers of this file based on a manual entry of line ranges. Will need to be updated manually if this method changes.
testExecutableLinesOnEmptyClass ( )
testGetClassProperties ( ) Tests getting static and non-static properties from various types of classes.
testIdentifierIntrospection ( ) Tests getting reflection information based on a string identifier.
testLineIntrospection ( ) Tests reading specific line numbers of a file.
testLineIntrospectionWithCRLFLineEndings ( ) Tests reading specific line numbers of a file that has CRLF line endings.
testMethodInspection ( )
testMethodInvocationWithParameters ( ) Tests that the correct parameters are always passed in Inspector::invokeMethod(), regardless of the number.
testMethodRange ( ) Tests that the range of executable lines of this test method is properly calculated.
testTypeDetection ( ) Tests that names of classes, methods, properties and namespaces are parsed properly from strings.

Method Details

testBasicMethodInspection() public method

Tests that basic method lists and information are queried properly.

testCallableClassWithBadMethods() public method

testCallableClassWithRealMethods() public method

testCallableObjectWithBadMethods() public method

testCallableObjectWithRealMethods() public method

testCallableVisibility() public method

testCaseSensitiveIdentifiers() public method

Tests that class and namepace names which are equivalent in a case-insensitive search still match properly.

testClassDependencies() public method

testClassFileIntrospection() public method

testClassParents() public method

Tests getting a list of parent classes from an object or string class name.
public testClassParents ( )

testExecutableLines() public method

Gets the executable line numbers of this file based on a manual entry of line ranges. Will need to be updated manually if this method changes.
public testExecutableLines ( )

testExecutableLinesOnEmptyClass() public method

testGetClassProperties() public method

Tests getting static and non-static properties from various types of classes.

testIdentifierIntrospection() public method

Tests getting reflection information based on a string identifier.

testLineIntrospection() public method

Tests reading specific line numbers of a file.

testLineIntrospectionWithCRLFLineEndings() public method

Tests reading specific line numbers of a file that has CRLF line endings.

testMethodInspection() public method

testMethodInvocationWithParameters() public method

Tests that the correct parameters are always passed in Inspector::invokeMethod(), regardless of the number.

testMethodRange() public method

Recursively meta.
public testMethodRange ( )

testTypeDetection() public method

Tests that names of classes, methods, properties and namespaces are parsed properly from strings.
public testTypeDetection ( )

Property Details

$_test protected property

protected $_test

$test public property

public $test

$test2 public static property

public static $test2