Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 24th, 2011  |  syntax: Bash  |  size: 7.51 KB  |  views: 52  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. $ ./phpunit.sh TEST
  2. #!/usr/bin/env php
  3. PHPUnit @package_version@ by Sebastian Bergmann.
  4.  
  5. E.........FF.F.F...FPHP Notice:  Undefined index: REQUEST_TIME in C:\sites\ppi-fr
  6. amework-\Vendor\PHPUnit\php-timer\PHP\Timer.php on line 126
  7.  
  8. Notice: Undefined index: REQUEST_TIME in C:\sites\ppi-framework-\Vendor\PHPUnit\p
  9. hp-timer\PHP\Timer.php on line 126
  10.  
  11.  
  12. Time: 363598:39:17, Memory: 4.25Mb
  13.  
  14. There was 1 error:
  15.  
  16. 1) PPI_CacheTest::testSet
  17. PPI_Exception: No entry is registered for key 'PPI_Config'
  18.  
  19. C:\sites\ppi-framework-\Registry.php:80
  20. C:\sites\ppi-framework-\Helper.php:72
  21. C:\sites\ppi-framework-\Helper.php:117
  22. C:\sites\ppi-framework-\Test\Cache\CacheTest.php:17
  23. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestCase.php:738
  24. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestCase.php:628
  25. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestResult.php:666
  26. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestCase.php:576
  27. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestSuite.php:757
  28. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestSuite.php:733
  29. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestSuite.php:693
  30. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\TextUI\TestRunner.php:305
  31. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\TextUI\Command.php:188
  32. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\TextUI\Command.php:129
  33. C:\sites\ppi-framework-\Vendor\PHPUnit\phpunit.php:52
  34. C:\sites\ppi-framework-\Vendor\PHPUnit\ppitests.php:15
  35.  
  36. --
  37.  
  38.  
  39. There were 5 failures:
  40.  
  41. 1) PPI_Request_GetTest::testIsCollected
  42. Failed asserting that <boolean:true> is false.
  43.  
  44. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\Constraint.php:85
  45. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\Assert.php:2087
  46. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\Assert.php:768
  47. C:\sites\ppi-framework-\Test\Request\GetTest.php:24
  48. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestCase.php:738
  49. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestCase.php:628
  50. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestResult.php:666
  51. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestCase.php:576
  52. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestSuite.php:757
  53. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestSuite.php:733
  54. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestSuite.php:693
  55. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\TextUI\TestRunner.php:305
  56. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\TextUI\Command.php:188
  57. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\TextUI\Command.php:129
  58. C:\sites\ppi-framework-\Vendor\PHPUnit\phpunit.php:52
  59. C:\sites\ppi-framework-\Vendor\PHPUnit\ppitests.php:15
  60.  
  61. 2) PPI_Request_GetTest::testCollectGet
  62. Failed asserting that two strings are equal.
  63. --- Expected
  64. +++ Actual
  65. @@ @@
  66. -foo
  67. +
  68.  
  69. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\Constraint\IsEqual.php:1
  70. 64
  71. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\Assert.php:2087
  72. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\Assert.php:343
  73. C:\sites\ppi-framework-\Test\Request\GetTest.php:30
  74. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestCase.php:738
  75. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestCase.php:628
  76. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestResult.php:666
  77. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestCase.php:576
  78. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestSuite.php:757
  79. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestSuite.php:733
  80. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestSuite.php:693
  81. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\TextUI\TestRunner.php:305
  82. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\TextUI\Command.php:188
  83. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\TextUI\Command.php:129
  84. C:\sites\ppi-framework-\Vendor\PHPUnit\phpunit.php:52
  85. C:\sites\ppi-framework-\Vendor\PHPUnit\ppitests.php:15
  86.  
  87. 3) PPI_Request_PostTest::testIsCollected
  88. Failed asserting that <boolean:true> is false.
  89.  
  90. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\Constraint.php:85
  91. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\Assert.php:2087
  92. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\Assert.php:768
  93. C:\sites\ppi-framework-\Test\Request\PostTest.php:21
  94. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestCase.php:738
  95. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestCase.php:628
  96. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestResult.php:666
  97. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestCase.php:576
  98. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestSuite.php:757
  99. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestSuite.php:733
  100. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestSuite.php:693
  101. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\TextUI\TestRunner.php:305
  102. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\TextUI\Command.php:188
  103. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\TextUI\Command.php:129
  104. C:\sites\ppi-framework-\Vendor\PHPUnit\phpunit.php:52
  105. C:\sites\ppi-framework-\Vendor\PHPUnit\ppitests.php:15
  106.  
  107. 4) PPI_Request_PostTest::testCustomPost
  108. Failed asserting that two strings are equal.
  109. --- Expected
  110. +++ Actual
  111. @@ @@
  112. -beer
  113. +
  114.  
  115. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\Constraint\IsEqual.php:1
  116. 64
  117. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\Assert.php:2087
  118. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\Assert.php:343
  119. C:\sites\ppi-framework-\Test\Request\PostTest.php:39
  120. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestCase.php:738
  121. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestCase.php:628
  122. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestResult.php:666
  123. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestCase.php:576
  124. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestSuite.php:757
  125. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestSuite.php:733
  126. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestSuite.php:693
  127. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\TextUI\TestRunner.php:305
  128. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\TextUI\Command.php:188
  129. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\TextUI\Command.php:129
  130. C:\sites\ppi-framework-\Vendor\PHPUnit\phpunit.php:52
  131. C:\sites\ppi-framework-\Vendor\PHPUnit\ppitests.php:15
  132.  
  133. 5) Warning
  134. No tests found in class "PPI_RequestTest".
  135.  
  136. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\Assert.php:2517
  137. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\Warning.php:104
  138. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestCase.php:628
  139. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestResult.php:666
  140. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestCase.php:576
  141. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestSuite.php:757
  142. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestSuite.php:733
  143. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\Framework\TestSuite.php:693
  144. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\TextUI\TestRunner.php:305
  145. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\TextUI\Command.php:188
  146. C:\sites\ppi-framework-\Vendor\PHPUnit\PHPUnit\TextUI\Command.php:129
  147. C:\sites\ppi-framework-\Vendor\PHPUnit\phpunit.php:52
  148. C:\sites\ppi-framework-\Vendor\PHPUnit\ppitests.php:15
  149.  
  150. FAILURES!
  151. Tests: 20, Assertions: 54, Failures: 5, Errors: 1.
  152.  
  153. rave@RAVE-PC /c/sites/ppi-framework- (UnitTest)
  154. $
clone this paste RAW Paste Data