コード例 #1
0
ファイル: bootstrap.php プロジェクト: metisfw/adyen
function run(Tester\TestCase $testCase)
{
    if (isset($_SERVER['argv'][1])) {
        $testCase->runTest($_SERVER['argv'][1]);
    } else {
        $testCase->run();
    }
}
コード例 #2
0
function run(Tester\TestCase $testCase)
{
    if (isset($_SERVER['argv'][1])) {
        $method = $_SERVER['argv'][1];
        if ($method !== '--method=nette-tester-list-methods') {
            $method = preg_replace('~^--method=([a-z_]+)~i', '$1', $method);
            $testCase->runTest($method);
        } else {
            $testCase->run();
        }
    } else {
        $testCase->run();
    }
}
コード例 #3
0
ファイル: bootstrap.php プロジェクト: xruff/csvparser
function run(Tester\TestCase $testCase)
{
    $testCase->run(isset($_SERVER['argv'][1]) ? $_SERVER['argv'][1] : null);
}
コード例 #4
0
ファイル: bootstrap.php プロジェクト: kollarovic/navigation
function run(Tester\TestCase $testCase)
{
    $testCase->run();
}
コード例 #5
0
ファイル: bootstrap.php プロジェクト: redhead/cached
 protected function setUp()
 {
     parent::setUp();
     $this->mockCtrl = new Mockyll\MockController();
 }