PHP Class VersionPress\Tests\End2End\Utils\End2EndTestCase

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
显示文件 Open project: versionpress/versionpress Class Usage Examples

Protected Properties

Property Type Description
$commitAsserter VersionPress\Tests\Utils\CommitAsserter
$gitRepository VersionPress\Git\GitRepository
$testConfig VersionPress\Tests\Utils\TestConfig
$wpAutomation VersionPress\Tests\Automation\WpAutomation

Public Methods

Method Description
__construct ( $name = null, array $data = [], $dataName = '' )
setUpBeforeClass ( )

Protected Methods

Method Description
setUp ( )

Private Methods

Method Description
setUpSite ( boolean $force ) Check if site is set up and VersionPress fully activated, and if not, do so. The $force parametr may force this.
staticInitialization ( )

Method Details

__construct() public method

public __construct ( $name = null, array $data = [], $dataName = '' )
$data array

setUp() protected method

protected setUp ( )

setUpBeforeClass() public static method

public static setUpBeforeClass ( )

Property Details

$commitAsserter protected_oe property

protected CommitAsserter,VersionPress\Tests\Utils $commitAsserter
return VersionPress\Tests\Utils\CommitAsserter

$gitRepository protected_oe property

protected GitRepository,VersionPress\Git $gitRepository
return VersionPress\Git\GitRepository

$testConfig protected_oe static_oe property

protected static TestConfig,VersionPress\Tests\Utils $testConfig
return VersionPress\Tests\Utils\TestConfig

$wpAutomation protected_oe static_oe property

protected static WpAutomation,VersionPress\Tests\Automation $wpAutomation
return VersionPress\Tests\Automation\WpAutomation