PHP 클래스 Eccube\Tests\Plugin\Web\AbstractWebTestCase

全フックポイントを利用するHookPointプラグインをロードし、WebTestで画面を巡回させる HookPointプラグインの各メソッドは、自身のフックポイント名をechoしている テストケース側では、出力された内容をexpectOutputStringメソッドで確認し、フックポイントの呼び出しが行われているかを検証する Class AbstractWebTestCase
상속: extends Eccube\Tests\EccubeTestCase
파일 보기 프로젝트 열기: ec-cube/ec-cube 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$client
$from テスト用プラグイン.
$to テスト用プラグイン設置先.

공개 메소드들

메소드 설명
logIn ( $user = null )
setUp ( )
tearDown ( )
verifyOutputString ( array $expected, string $message = '' ) echo等で出力される内容の検証.

메소드 상세

logIn() 공개 메소드

public logIn ( $user = null )

setUp() 공개 메소드

public setUp ( )

tearDown() 공개 메소드

public tearDown ( )

verifyOutputString() 공개 메소드

echo等で出力される内容の検証.
public verifyOutputString ( array $expected, string $message = '' )
$expected array
$message string

프로퍼티 상세

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

protected $client

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

テスト用プラグイン.
protected $from

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

テスト用プラグイン設置先.
protected $to