@@ -5,9 +5,9 @@ |
||
| 5 | 5 | |
| 6 | 6 | require_once __DIR__ . "/../../functions.php"; |
| 7 | 7 | |
| 8 | -use MyTester\TestCase, |
|
| 9 | - MyTester\Environment, |
|
| 10 | - Nette\Utils\Finder; |
|
| 8 | +use MyTester\TestCase; |
|
| 9 | +use MyTester\Environment; |
|
| 10 | +use Nette\Utils\Finder; |
|
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | 13 | * Tests Runner |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | |
| 4 | 4 | namespace MyTester; |
| 5 | 5 | |
| 6 | -use Nette\Utils\Finder, |
|
| 7 | - Nette\Utils\FileSystem; |
|
| 6 | +use Nette\Utils\Finder; |
|
| 7 | +use Nette\Utils\FileSystem; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * Automated tests runner |
@@ -45,10 +45,10 @@ |
||
| 45 | 45 | static::printLine($output . ". $text"); |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | - /** |
|
| 49 | - * @param string $results |
|
| 50 | - * @return bool |
|
| 51 | - */ |
|
| 48 | + /** |
|
| 49 | + * @param string $results |
|
| 50 | + * @return bool |
|
| 51 | + */ |
|
| 52 | 52 | static function checkFailed(string $results): bool { |
| 53 | 53 | $testsFailed = substr_count($results, " failed. "); |
| 54 | 54 | return (bool) $testsFailed; |