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/testdox-exclude-group.phpt')
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/testdox-exclude-group.phpt25
1 files changed, 25 insertions, 0 deletions
diff --git a/vendor/phpunit/phpunit/tests/TextUI/testdox-exclude-group.phpt b/vendor/phpunit/phpunit/tests/TextUI/testdox-exclude-group.phpt
new file mode 100644
index 0000000..8724c8a
--- /dev/null
+++ b/vendor/phpunit/phpunit/tests/TextUI/testdox-exclude-group.phpt
@@ -0,0 +1,25 @@
+--TEST--
+phpunit --testdox-text php://stdout --testdox-exclude-group one TestDoxGroupTest ../_files/TestDoxGroupTest.php
+--FILE--
+<?php
+$_SERVER['argv'][1] = '--no-configuration';
+$_SERVER['argv'][2] = '--testdox-text';
+$_SERVER['argv'][3] = 'php://stdout';
+$_SERVER['argv'][4] = '--testdox-exclude-group';
+$_SERVER['argv'][5] = 'one';
+$_SERVER['argv'][6] = 'TestDoxGroupTest';
+$_SERVER['argv'][7] = __DIR__ . '/../_files/TestDoxGroupTest.php';
+
+require __DIR__ . '/../bootstrap.php';
+PHPUnit_TextUI_Command::main();
+--EXPECTF--
+PHPUnit %s by Sebastian Bergmann and contributors.
+
+.DoxGroup
+. 2 / 2 (100%) [x] Two
+
+
+
+Time: %s, Memory: %s
+
+OK (2 tests, 0 assertions)