All pastes #927462 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-03-04 09:53 UTC
rendered paste body
derick@kossu:~/dev/ezcomponents/trunk$ php UnitTest/src/runtests.php -D sqlite://:memory: Debug
ezcUnitTest uses the PHPUnit 3.2.15 framework from Sebastian Bergmann.

[Preparing tests]:
eZ Components:                          
  Debug:                                  
    ezcDebugDelayedInitTest:                .
    ezcDebugMemoryWriterTest:               ...
    ezcDebugTimerTest:                      ......
    ezcDebugTest:                           ............
    ezcDebugOptionsTest:                    ...
    ezcDebugHtmlFormatterTest:              ...
    ezcDebugVariableDumpToolTest:           ..........
    ezcDebugPhpStacktraceIteratorTest:      F.
    ezcDebugXdebugStacktraceIteratorTest:   F.

Time: 0 seconds

There were 2 failures:

1) testIterateTrace(ezcDebugPhpStacktraceIteratorTest)
Incorrect stack element 3.
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ -1,11 +1,11 @@
 Array
 (
-    [line] => 449
+    [line] => 476
     [function] => invoke
     [class] => ReflectionMethod
     [params] => Array
         (
-            [0] => class ezcDebugPhpStacktraceIteratorTest { protected $backupGlobals = TRUE; protected $data = array (); protected $dataName = ''; protected $expectedException = NULL; protected $expectedExceptionMessage = ''; protected $sharedFixture = NULL; protected $name = 'testIterateTrace'; protected $exception = NULL; protected $iniSettings = array (); protected $locale = array (); protected $mockObjects = array () }
+            [0] => class ezcDebugPhpStacktraceIteratorTest { protected $backupGlobals = TRUE; protected $createGlobalsReference = FALSE; protected $data = array (); protected $dataName = ''; protected $expectedException = NULL; protected $expectedExceptionMessage = ''; protected $sharedFixture = NULL; protected $name = 'testIterateTrace'; protected $exception = NULL; protected $exceptionMessage = NULL; protected $exceptionCode = 0; protected $iniSettings = array (); protected $locale = array (); protected $mockObjects = array () }
         )
 
 )

/home/derick/dev/ezcomponents/trunk/Debug/tests/php_stacktrace_iterator_test.php:61

2) testIterateTrace(ezcDebugXdebugStacktraceIteratorTest)
Incorrect stack element 3.
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ -2,10 +2,10 @@
 (
     [function] => invoke
     [class] => ReflectionMethod
-    [line] => 449
+    [line] => 476
     [params] => Array
         (
-            [0] => class ezcDebugXdebugStacktraceIteratorTest { private $tempDir = NULL; protected $backupGlobals = TRUE; protected $data = array (); protected $dataName = ''; protected $expectedException = NULL; protected $expectedExceptionMessage = ''; protected $sharedFixture = NULL; protected $name = 'testIterateTrace'; protected $exception = NULL; protected $iniSettings = array (); protected $locale = array (); protected $mockObjects = array () }
+            [0] => class ezcDebugXdebugStacktraceIteratorTest { private $tempDir = NULL; protected $backupGlobals = TRUE; protected $createGlobalsReference = FALSE; protected $data = array (); protected $dataName = ''; protected $expectedException = NULL; protected $expectedExceptionMessage = ''; protected $sharedFixture = NULL; protected $name = 'testIterateTrace'; protected $exception = NULL; protected $exceptionMessage = NULL; protected $exceptionCode = 0; protected $iniSettings = array (); protected $locale = array (); protected $mockObjects = array () }
         )
 
 )

/home/derick/dev/ezcomponents/trunk/Debug/tests/xdebug_stacktrace_iterator_test.php:66

FAILURES!
Tests: 42, Failures: 2.