Property | Type | Description | |
---|---|---|---|
$adviceMatcher | null | |
||
$kernel | null | |
||
$transformer |
Method | Description | |
---|---|---|
setUp ( ) | {@inheritDoc} | |
testAspectIsSkipped ( ) | Do not make anything for aspect class | |
testEmptyNamespaceInFile ( ) | Do not make anything for code without classes | |
testInterfaceIsSkipped ( ) | Do not make anything for interface class | |
testMultipleClasses ( ) | Testcase for multiple classes (@see https://github.com/lisachenko/go-aop-php/issues/71) | |
testMultipleNamespacesInOneFile ( ) | It's a caution check that multiple namespaces are not yet supported | |
testTransformerWithIncludePaths ( ) | Transformer verifies include paths | |
testWeaverForFinalClass ( ) | Check that weaver can work with final class | |
testWeaverForNormalClass ( ) | Main test case for class | |
testWeaverForPhp7Class ( ) | Check that weaver can work with PHP7 classes |
Method | Description | |
---|---|---|
getAdviceMatcherMock ( ) : PHPUnit_Framework_MockObject_MockObject | |
Returns a mock for container | |
getKernelMock ( array $options, Go\Core\AspectContainer $container ) : PHPUnit_Framework_MockObject_MockObject | |
Returns a mock for kernel | |
normalizeWhitespaces ( string $value ) : string | Normalizes string context |
Method | Description | |
---|---|---|
getContainerMock ( ) : Go\Core\AspectContainer | Returns a mock for the container | |
loadTest ( string $name ) : |
protected getAdviceMatcherMock ( ) : PHPUnit_Framework_MockObject_MockObject | |
||
return | PHPUnit_Framework_MockObject_MockObject | |
protected getKernelMock ( array $options, Go\Core\AspectContainer $container ) : PHPUnit_Framework_MockObject_MockObject | |
||
$options | array | Additional options for kernel |
$container | Go\Core\AspectContainer | Container instance |
return | PHPUnit_Framework_MockObject_MockObject | |
protected normalizeWhitespaces ( string $value ) : string | ||
$value | string | |
return | string |
public testAspectIsSkipped ( ) |
public testEmptyNamespaceInFile ( ) |
public testInterfaceIsSkipped ( ) |
public testMultipleClasses ( ) |
public testMultipleNamespacesInOneFile ( ) |
public testTransformerWithIncludePaths ( ) |
public testWeaverForFinalClass ( ) |
public testWeaverForNormalClass ( ) |
public testWeaverForPhp7Class ( ) |
protected null|AdviceMatcher,Go\Core $adviceMatcher | ||
return | null | |
protected null|AspectKernel,Go\Core|PHPUnit_Framework_MockObject_MockObject $kernel | ||
return | null | |