Changeset View
Changeset View
Standalone View
Standalone View
src/unit/engine/__tests__/PhutilUnitTestEngineTestCase.php
Show First 20 Lines • Show All 114 Lines • ▼ Show 20 Lines | final class PhutilUnitTestEngineTestCase extends PhutilTestCase { | ||||
protected function throwIfFalsey($input) { | protected function throwIfFalsey($input) { | ||||
if (!$input) { | if (!$input) { | ||||
throw new Exception(pht('This is a negative test case!')); | throw new Exception(pht('This is a negative test case!')); | ||||
} | } | ||||
} | } | ||||
public function testGetTestPaths() { | public function testGetTestPaths() { | ||||
$this->assertSkipped(pht('TOOLSETS: No test path selection yet.')); | |||||
$tests = array( | $tests = array( | ||||
'empty' => array( | 'empty' => array( | ||||
array(), | array(), | ||||
array(), | array(), | ||||
), | ), | ||||
'test file' => array( | 'test file' => array( | ||||
array(__FILE__), | array(__FILE__), | ||||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |