Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/phpunit/phpunit/tests/TextUI/phpt-xfail.phpt')
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/phpt-xfail.phpt18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/phpunit/phpunit/tests/TextUI/phpt-xfail.phpt b/vendor/phpunit/phpunit/tests/TextUI/phpt-xfail.phpt
new file mode 100644
index 0000000..89927d4
--- /dev/null
+++ b/vendor/phpunit/phpunit/tests/TextUI/phpt-xfail.phpt
@@ -0,0 +1,18 @@
+--TEST--
+PHPT runner supports XFAIL section
+--FILE--
+<?php
+$_SERVER['argv'][1] = '--no-configuration';
+$_SERVER['argv'][2] = __DIR__ . '/../_files/phpt-xfail.phpt';
+
+require __DIR__ . '/../bootstrap.php';
+PHPUnit_TextUI_Command::main();
+--EXPECTF--
+PHPUnit %s by Sebastian Bergmann and contributors.
+
+I 1 / 1 (100%)
+
+Time: %s, Memory: %s
+
+OK, but incomplete, skipped, or risky tests!
+Tests: 1, Assertions: 1, Incomplete: 1. \ No newline at end of file