Метод | Описание | |
---|---|---|
__construct ( string $inClassName, string $inSourceFile = '', string $outClassName = '', string $outSourceFile = '' ) | Constructor. | |
generate ( ) : mixed | Generates the class' source. |
Метод | Описание | |
---|---|---|
findTestedMethods ( ) : array | Returns the methods of the class under test that are called from the test methods. | |
findVariableName ( array $tokens, integer $start ) : mixed | Finds the variable name of the object for the method call that is currently being processed. | |
findVariablesThatReferenceClass ( array $tokens ) : array | Returns the variables used in test methods that reference the class under test. |
protected findTestedMethods ( ) : array | ||
Результат | array |
protected findVariablesThatReferenceClass ( array $tokens ) : array | ||
$tokens | array | |
Результат | array |