PHP Class lithium\tests\cases\analysis\InspectorTest

Inheritance: extends lithium\test\Unit
Afficher le fichier Open project: unionofrad/lithium

Méthodes publiques

Свойство Type Description
$test
$test2

Protected Properties

Свойство Type Description
$_test

Méthodes publiques

Méthode 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 méthode

Tests that basic method lists and information are queried properly.

testCallableClassWithBadMethods() public méthode

testCallableClassWithRealMethods() public méthode

testCallableObjectWithBadMethods() public méthode

testCallableObjectWithRealMethods() public méthode

testCallableVisibility() public méthode

testCaseSensitiveIdentifiers() public méthode

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

testClassDependencies() public méthode

testClassFileIntrospection() public méthode

testClassParents() public méthode

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

testExecutableLines() public méthode

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 méthode

testGetClassProperties() public méthode

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

testIdentifierIntrospection() public méthode

Tests getting reflection information based on a string identifier.

testLineIntrospection() public méthode

Tests reading specific line numbers of a file.

testLineIntrospectionWithCRLFLineEndings() public méthode

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

testMethodInspection() public méthode

testMethodInvocationWithParameters() public méthode

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

testMethodRange() public méthode

Recursively meta.
public testMethodRange ( )

testTypeDetection() public méthode

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

Property Details

$_test protected_oe property

protected $_test

$test public_oe property

public $test

$test2 public_oe static_oe property

public static $test2