PHP 클래스 Mmoreram\PHPFormatter\Tests\Sorter\UseSorterTest

상속: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: mmoreram/php-formatter

보호된 프로퍼티들

프로퍼티 타입 설명
$data string Data
$useSorter Mmoreram\PHPFormatter\Sorter\UseSorter Use sorter

공개 메소드들

메소드 설명
dataSort ( ) : array Data for testSort.
setUp ( ) Setup.
testGroupSkip ( ) Test skip empty.
testGroupSkipWithMissingGroups ( ) Test skip empty where consecutive empty groups are between used groups.
testSort ( $groups, $sortType, $sortDirection, $groupType, $result ) Test sort.

메소드 상세

dataSort() 공개 메소드

Data for testSort.
public dataSort ( ) : array
리턴 array Data

setUp() 공개 메소드

Setup.
public setUp ( )

testGroupSkip() 공개 메소드

Test skip empty.
public testGroupSkip ( )

testGroupSkipWithMissingGroups() 공개 메소드

Test skip empty where consecutive empty groups are between used groups.
또한 보기: https://github.com/mmoreram/php-formatter/issues/24

testSort() 공개 메소드

Test sort.
public testSort ( $groups, $sortType, $sortDirection, $groupType, $result )

프로퍼티 상세

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

Data
protected string $data
리턴 string

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

Use sorter
protected UseSorter,Mmoreram\PHPFormatter\Sorter $useSorter
리턴 Mmoreram\PHPFormatter\Sorter\UseSorter