PHP 클래스 eZ\Publish\Core\Persistence\Legacy\Tests\Content\UrlAlias\SlugConverterTest

파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$configuration array
$slugConverter eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\SlugConverter
$slugConverterMock PHPUnit_Framework_MockObject_MockObject
$transformationProcessorMock PHPUnit_Framework_MockObject_MockObject

공개 메소드들

메소드 설명
cleanupTextData ( )
convertData ( )
providerForTestGetUniqueCounterValue ( )
suite ( ) : PHPUnit_Framework_TestSuite Returns the test suite with all tests declared in this class.
testCleanupText ( $text, $method, $expected ) Test for the cleanupText() method.
testConstructor ( ) Test for the __construct() method.
testConvert ( ) Test for the convert() method.
testConvertNoMocking ( $text, $defaultText, $transformation, $expected ) Test for the convert() method.
testConvertWithDefaultTextFallback ( ) Test for the convert() method.
testConvertWithGivenTransformation ( ) Test for the convert() method.
testGetUniqueCounterValue ( $text, $isRootLevel, $returnValue ) Test for the getUniqueCounterValue() method.

보호된 메소드들

메소드 설명
getMockedSlugConverter ( ) : SlugConverter
getSlugConverterMock ( array $methods = [] ) : SlugConverter | PHPUnit_Framework_MockObject_MockObject
getTransformationProcessorMock ( ) : PHPUnit_Framework_MockObject_MockObject

메소드 상세

cleanupTextData() 공개 메소드

public cleanupTextData ( )

convertData() 공개 메소드

public convertData ( )

getMockedSlugConverter() 보호된 메소드

protected getMockedSlugConverter ( ) : SlugConverter
리턴 eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\SlugConverter

getSlugConverterMock() 보호된 메소드

protected getSlugConverterMock ( array $methods = [] ) : SlugConverter | PHPUnit_Framework_MockObject_MockObject
$methods array
리턴 eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\SlugConverter | PHPUnit_Framework_MockObject_MockObject

getTransformationProcessorMock() 보호된 메소드

protected getTransformationProcessorMock ( ) : PHPUnit_Framework_MockObject_MockObject
리턴 PHPUnit_Framework_MockObject_MockObject

providerForTestGetUniqueCounterValue() 공개 메소드

suite() 공개 정적인 메소드

Returns the test suite with all tests declared in this class.
public static suite ( ) : PHPUnit_Framework_TestSuite
리턴 PHPUnit_Framework_TestSuite

testCleanupText() 공개 메소드

Test for the cleanupText() method.
public testCleanupText ( $text, $method, $expected )

testConstructor() 공개 메소드

Test for the __construct() method.
public testConstructor ( )

testConvert() 공개 메소드

Test for the convert() method.
public testConvert ( )

testConvertNoMocking() 공개 메소드

Test for the convert() method.
public testConvertNoMocking ( $text, $defaultText, $transformation, $expected )

testConvertWithDefaultTextFallback() 공개 메소드

Test for the convert() method.

testConvertWithGivenTransformation() 공개 메소드

Test for the convert() method.

testGetUniqueCounterValue() 공개 메소드

Test for the getUniqueCounterValue() method.
public testGetUniqueCounterValue ( $text, $isRootLevel, $returnValue )

프로퍼티 상세

$configuration 보호되어 있는 프로퍼티

protected array $configuration
리턴 array

$slugConverter 보호되어 있는 프로퍼티

protected SlugConverter,eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias $slugConverter
리턴 eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\SlugConverter

$slugConverterMock 보호되어 있는 프로퍼티

protected PHPUnit_Framework_MockObject_MockObject $slugConverterMock
리턴 PHPUnit_Framework_MockObject_MockObject

$transformationProcessorMock 보호되어 있는 프로퍼티

protected PHPUnit_Framework_MockObject_MockObject $transformationProcessorMock
리턴 PHPUnit_Framework_MockObject_MockObject