Created
August 25, 2011 19:41
-
-
Save grahamc/1171634 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ phpunit --debug -c phpunit.xml test/unit/lib/model/FieldStoryTest.php | |
PHPUnit 3.5.15 by Sebastian Bergmann. | |
Starting test 'FieldStoryTest::testFilter with data set #0 (3, Team 1, Team Leader, NULL)'. | |
. | |
Starting test 'FieldStoryTest::testFilter with data set #1 (1, Team 1, Team Leader, Foo)'. | |
. | |
Starting test 'FieldStoryTest::testFilter with data set #2 (2, Team 1, Team Leader, Bar)'. | |
. | |
Starting test 'FieldStoryTest::testFilter with data set #3 (3, Master Group, NULL, Bar)'. | |
. | |
Starting test 'FieldStoryTest::testFilter with data set #4 (1, Master Group, NULL, Foo)'. | |
. | |
Starting test 'FieldStoryTest::testFilter with data set #5 (0, Team 1, Team Member, Bar)'. | |
. | |
Starting test 'FieldStoryTest::testFilter with data set #6 (1, Team 1, Team Leader, Bar)'. | |
. | |
Starting test 'FieldStoryTest::testFilter with data set #7 (0, Master Group, NULL, Baz)'. | |
. | |
Starting test 'FieldStoryTest::testRecent'. | |
. | |
Starting test 'FieldStoryTest::testUpcoming'. | |
. | |
Starting test 'FieldStoryTest::testCreateStory with data set #0 (array(NULL, '4e56a4ccf1177', 'This is a story to test creation', '08/25/2011', array('15', '38'), '123 Connecticut Ave NW', 'Washington, DC', 'DC', true, true, true, 'This is what happened', 0, 0, 'This is a caption for picture 1', 'This is a caption for picture 2', NULL, NULL, NULL, NULL), array(array(0, 'php.gif', 'image/gif', '/Users/gchristensen/app/test/unit/lib/model/FieldStoryTest/php.gif', 2523), array(0, 'php.gif', 'image/gif', '/Users/gchristensen/app/test/unit/lib/model/FieldStoryTest/php.gif', 2523), array(4, NULL, NULL, NULL, 0), array(4, NULL, NULL, NULL, 0), array(4, NULL, NULL, NULL, 0), array(4, NULL, NULL, NULL, 0)))'. | |
PHP Notice: Undefined index: period in /Users/gchristensen/app/lib/form/FieldStoryForm.class.php on line 225 | |
PHP Stack trace: | |
PHP 1. {main}() /Users/gchristensen/pear/bin/phpunit:0 | |
PHP 2. PHPUnit_TextUI_Command::main() /Users/gchristensen/pear/bin/phpunit:49 | |
PHP 3. PHPUnit_TextUI_Command->run() /Users/gchristensen/pear/share/pear/PHPUnit/TextUI/Command.php:129 | |
PHP 4. PHPUnit_TextUI_TestRunner->doRun() /Users/gchristensen/pear/share/pear/PHPUnit/TextUI/Command.php:188 | |
PHP 5. PHPUnit_Framework_TestSuite->run() /Users/gchristensen/pear/share/pear/PHPUnit/TextUI/TestRunner.php:305 | |
PHP 6. PHPUnit_Framework_TestSuite->run() /Users/gchristensen/pear/share/pear/PHPUnit/Framework/TestSuite.php:693 | |
PHP 7. PHPUnit_Framework_TestSuite->runTest() /Users/gchristensen/pear/share/pear/PHPUnit/Framework/TestSuite.php:733 | |
PHP 8. PHPUnit_Framework_TestCase->run() /Users/gchristensen/pear/share/pear/PHPUnit/Framework/TestSuite.php:757 | |
PHP 9. PHPUnit_Framework_TestResult->run() /Users/gchristensen/pear/share/pear/PHPUnit/Framework/TestCase.php:576 | |
PHP 10. PHPUnit_Framework_TestCase->runBare() /Users/gchristensen/pear/share/pear/PHPUnit/Framework/TestResult.php:666 | |
PHP 11. PHPUnit_Framework_TestCase->runTest() /Users/gchristensen/pear/share/pear/PHPUnit/Framework/TestCase.php:628 | |
PHP 12. ReflectionMethod->invokeArgs() /Users/gchristensen/pear/share/pear/PHPUnit/Framework/TestCase.php:738 | |
PHP 13. FieldStoryTest->testCreateStory() /Users/gchristensen/app/test/unit/lib/model/FieldStoryTest.php:738 | |
PHP 14. FieldStoryForm->bind() /Users/gchristensen/app/test/unit/lib/model/FieldStoryTest.php:132 | |
Notice: Undefined index: period in /Users/gchristensen/app/lib/form/FieldStoryForm.class.php on line 225 | |
Call Stack: | |
0.0003 637024 1. {main}() /Users/gchristensen/pear/bin/phpunit:0 | |
0.0379 1190712 2. PHPUnit_TextUI_Command::main() /Users/gchristensen/pear/bin/phpunit:49 | |
0.0379 1191584 3. PHPUnit_TextUI_Command->run() /Users/gchristensen/pear/share/pear/PHPUnit/TextUI/Command.php:129 | |
1.1078 101047984 4. PHPUnit_TextUI_TestRunner->doRun() /Users/gchristensen/pear/share/pear/PHPUnit/TextUI/Command.php:188 | |
2.6800 102544856 5. PHPUnit_Framework_TestSuite->run() /Users/gchristensen/pear/share/pear/PHPUnit/TextUI/TestRunner.php:305 | |
3.1464 119934496 6. PHPUnit_Framework_TestSuite->run() /Users/gchristensen/pear/share/pear/PHPUnit/Framework/TestSuite.php:693 | |
3.1466 119935008 7. PHPUnit_Framework_TestSuite->runTest() /Users/gchristensen/pear/share/pear/PHPUnit/Framework/TestSuite.php:733 | |
3.1466 119935008 8. PHPUnit_Framework_TestCase->run() /Users/gchristensen/pear/share/pear/PHPUnit/Framework/TestSuite.php:757 | |
3.1467 119935008 9. PHPUnit_Framework_TestResult->run() /Users/gchristensen/pear/share/pear/PHPUnit/Framework/TestCase.php:576 | |
3.1474 119936160 10. PHPUnit_Framework_TestCase->runBare() /Users/gchristensen/pear/share/pear/PHPUnit/Framework/TestResult.php:666 | |
3.1563 120216952 11. PHPUnit_Framework_TestCase->runTest() /Users/gchristensen/pear/share/pear/PHPUnit/Framework/TestCase.php:628 | |
3.1564 120219296 12. ReflectionMethod->invokeArgs() /Users/gchristensen/pear/share/pear/PHPUnit/Framework/TestCase.php:738 | |
3.1564 120219360 13. FieldStoryTest->testCreateStory() /Users/gchristensen/app/test/unit/lib/model/FieldStoryTest.php:738 | |
3.2137 125218744 14. FieldStoryForm->bind() /Users/gchristensen/app/test/unit/lib/model/FieldStoryTest.php:132 | |
. | |
Starting test 'FieldStoryTest::testPictures'. | |
. | |
Time: 6 seconds, Memory: 137.00Mb | |
OK (12 tests, 75 assertions) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<phpunit | |
colors="true" | |
verbose="false" | |
stopOnFailure="false" | |
processIsolation="false" | |
convertNoticesToExceptions="true" | |
convertErrorsToExceptions="true" | |
convertWarningsToExceptions="true" | |
syntaxCheck="true" | |
bootstrap="test/bootstrap.php" | |
> | |
<testsuites> | |
<testsuite name="Unit Tests"> | |
<directory>test/unit/</directory> | |
</testsuite> | |
<testsuite name="Functional Tests"> | |
<directory>test/functional/</directory> | |
</testsuite> | |
</testsuites> | |
<filter> | |
<blacklist> | |
<directory suffix=".php">lib/vendor</directory> | |
<directory sufix=".php">lib/model/om</directory> | |
<directory sufix=".php">lib/model/map</directory> | |
<directory sufix=".php">lib/form/base</directory> | |
<directory sufix=".php">lib/form/base</directory> | |
<directory sufix=".php">config/</directory> | |
<directory sufix=".php">data/</directory> | |
<directory sufix=".php">log/</directory> | |
<directory sufix=".php">web/</directory> | |
<directory suffix=".php">cache</directory> | |
</blacklist> | |
</filter> | |
</phpunit> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment