X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fphpunit%2Fphpunit%2Ftests%2FTextUI%2Flog-json-post-66021.phpt;fp=vendor%2Fphpunit%2Fphpunit%2Ftests%2FTextUI%2Flog-json-post-66021.phpt;h=b045617c4dad7ddb1be62a26514624d5714cca73;hp=0000000000000000000000000000000000000000;hb=eba34333e3c89f208d2f72fa91351ad019a71583;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae diff --git a/vendor/phpunit/phpunit/tests/TextUI/log-json-post-66021.phpt b/vendor/phpunit/phpunit/tests/TextUI/log-json-post-66021.phpt new file mode 100644 index 000000000..b045617c4 --- /dev/null +++ b/vendor/phpunit/phpunit/tests/TextUI/log-json-post-66021.phpt @@ -0,0 +1,72 @@ +--TEST-- +phpunit --log-json php://stdout BankAccountTest ../_files/BankAccountTest.php +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +PHPUnit %s by Sebastian Bergmann and contributors. + +{ + "event": "suiteStart", + "suite": "BankAccountTest", + "tests": 3 +}{ + "event": "testStart", + "suite": "BankAccountTest", + "test": "BankAccountTest::testBalanceIsInitiallyZero" +}.{ + "event": "test", + "suite": "BankAccountTest", + "test": "BankAccountTest::testBalanceIsInitiallyZero", + "status": "pass", + "time": %f, + "trace": [], + "message": "", + "output": "" +}{ + "event": "testStart", + "suite": "BankAccountTest", + "test": "BankAccountTest::testBalanceCannotBecomeNegative" +}.{ + "event": "test", + "suite": "BankAccountTest", + "test": "BankAccountTest::testBalanceCannotBecomeNegative", + "status": "pass", + "time": %f, + "trace": [], + "message": "", + "output": "" +}{ + "event": "testStart", + "suite": "BankAccountTest", + "test": "BankAccountTest::testBalanceCannotBecomeNegative2" +}.{ + "event": "test", + "suite": "BankAccountTest", + "test": "BankAccountTest::testBalanceCannotBecomeNegative2", + "status": "pass", + "time": %f, + "trace": [], + "message": "", + "output": "" +} + +Time: %s, Memory: %s + +OK (3 tests, 3 assertions)