Miscellany
public text v1 · immutable[13:55]fh@larson ezcomponents/trunk % php UnitTest/src/runtests.php Webdav
ezcUnitTest uses the PHPUnit 3.2.0beta2 framework from Sebastian Bergmann.
[Preparing tests]:
eZ Components:
Webdav:
ezcWebdavBasicServerTest: ..........
ezcWebdavPluginConfigurationTest: ...
ezcWebdavPluginRegistryTest: ...............
ezcWebdavTransportConfigurationTest: ............
ezcWebdavTransportDispatcherTest: .................
ezcWebdavFlaggedPropertyStorageTest: ............
ezcWebdavPropertyStorageTest: .............................
ezcWebdavInfrastructureBaseTest: ....
ezcWebdavCreationDatePropertyTest: ............
ezcWebdavDeadPropertyTest: ............
ezcWebdavDisplayNamePropertyTest: ............
ezcWebdavGetContentLanguagePropertyTest: ............
ezcWebdavGetContentLengthPropertyTest: ............
ezcWebdavGetContentTypePropertyTest: ............
ezcWebdavGetEtagPropertyTest: ............
ezcWebdavGetLastModifiedPropertyTest: ............
ezcWebdavLockDiscoveryPropertyActiveLockTest: ............
ezcWebdavLockDiscoveryPropertyTest: ............
ezcWebdavResourceTypePropertyTest: ............
ezcWebdavSourcePropertyLinkTest: ............
ezcWebdavSourcePropertyTest: ............
ezcWebdavSupportedLockPropertyLockentryTest: ............
ezcWebdavSupportedLockPropertyTest: ............
ezcWebdavCopyRequestTest: ........
ezcWebdavLockRequestTest: ........
ezcWebdavMoveRequestTest: ........
ezcWebdavPropFindRequestTest: ........
ezcWebdavPropPatchRequestTest: ......
ezcWebdavUnlockRequestTest: ........
ezcWebdavRequestPropertyBehaviourContentTest: .......
ezcWebdavErrorResonseTest: .....
ezcWebdavGetResponseTest: ......
ezcWebdavOptionsResponseTest: ......
ezcWebdavResponseTest: ..........
ezcWebdavMemoryBackendTest: .....................................................FFFF.F.......
ezcWebdavFileBackendTest: ...........................................F.FFF..F.F..
ezcWebdavFileBackendOptionsTestCase: .......
ezcWebdavBasicPathFactoryTest: ..........
ezcWebdavAutomaticPathFactoryTest: ...........
ezcWebdavClientRfcTest: ................
ezcWebdavClientLitmusTest: ...........................................................................................................................................................
ezcWebdavClientCadaverTest: .................................
ezcWebdavClientNautilusTest: F
Time: 6 seconds
There were 12 failures:
1) testPropFindNamesOnCollection(ezcWebdavMemoryBackendTest)
Expected response does not match real response.
Failed asserting that two objects are equal.
--- Expected
+++ Actual
@@ -99,27 +99,6 @@
)
- [getcontenttype] => ezcWebdavGetContentTypeProperty Object
- (
- [properties:protected] => Array
- (
- [hasError] =>
- [errors] => Array
- (
- )
-
- [namespace] => DAV:
- [name] => getcontenttype
- [mime] =>
- [charset] =>
- )
-
- [pluginData:protected] => Array
- (
- )
-
- )
-
[getetag] => ezcWebdavGetEtagProperty Object
(
[properties:protected] => Array
@@ -227,28 +206,22 @@
[3] => Array
(
[0] => DAV:
- [1] => getcontenttype
- )
-
- [4] => Array
- (
- [0] => DAV:
[1] => getetag
)
- [5] => Array
+ [4] => Array
(
[0] => DAV:
[1] => getlastmodified
)
- [6] => Array
+ [5] => Array
(
[0] => DAV:
[1] => getcontentlength
)
- [7] => Array
+ [6] => Array
(
[0] => DAV:
[1] => resourcetype
@@ -257,7 +230,7 @@
)
[propertyOrderPosition:protected] => 0
- [propertyOrderNextId:protected] => 8
+ [propertyOrderNextId:protected] => 7
)
)
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/backend_memory_test.php:1985
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/test_case.php:44
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:209
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:20
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/runtests.php:27
2) testPropFindNamesOnCollectionDepthZero(ezcWebdavMemoryBackendTest)
Expected response does not match real response.
Failed asserting that two objects are equal.
--- Expected
+++ Actual
@@ -99,27 +99,6 @@
)
- [getcontenttype] => ezcWebdavGetContentTypeProperty Object
- (
- [properties:protected] => Array
- (
- [hasError] =>
- [errors] => Array
- (
- )
-
- [namespace] => DAV:
- [name] => getcontenttype
- [mime] =>
- [charset] =>
- )
-
- [pluginData:protected] => Array
- (
- )
-
- )
-
[getetag] => ezcWebdavGetEtagProperty Object
(
[properties:protected] => Array
@@ -227,28 +206,22 @@
[3] => Array
(
[0] => DAV:
- [1] => getcontenttype
- )
-
- [4] => Array
- (
- [0] => DAV:
[1] => getetag
)
- [5] => Array
+ [4] => Array
(
[0] => DAV:
[1] => getlastmodified
)
- [6] => Array
+ [5] => Array
(
[0] => DAV:
[1] => getcontentlength
)
- [7] => Array
+ [6] => Array
(
[0] => DAV:
[1] => resourcetype
@@ -257,7 +230,7 @@
)
[propertyOrderPosition:protected] => 0
- [propertyOrderNextId:protected] => 8
+ [propertyOrderNextId:protected] => 7
)
)
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/backend_memory_test.php:2053
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/test_case.php:44
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:209
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:20
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/runtests.php:27
3) testPropFindNamesOnCollectionDepthOne(ezcWebdavMemoryBackendTest)
Expected response does not match real response.
Failed asserting that two objects are equal.
--- Expected
+++ Actual
@@ -99,27 +99,6 @@
)
- [getcontenttype] => ezcWebdavGetContentTypeProperty Object
- (
- [properties:protected] => Array
- (
- [hasError] =>
- [errors] => Array
- (
- )
-
- [namespace] => DAV:
- [name] => getcontenttype
- [mime] =>
- [charset] =>
- )
-
- [pluginData:protected] => Array
- (
- )
-
- )
-
[getetag] => ezcWebdavGetEtagProperty Object
(
[properties:protected] => Array
@@ -227,28 +206,22 @@
[3] => Array
(
[0] => DAV:
- [1] => getcontenttype
- )
-
- [4] => Array
- (
- [0] => DAV:
[1] => getetag
)
- [5] => Array
+ [4] => Array
(
[0] => DAV:
[1] => getlastmodified
)
- [6] => Array
+ [5] => Array
(
[0] => DAV:
[1] => getcontentlength
)
- [7] => Array
+ [6] => Array
(
[0] => DAV:
[1] => resourcetype
@@ -257,7 +230,7 @@
)
[propertyOrderPosition:protected] => 0
- [propertyOrderNextId:protected] => 8
+ [propertyOrderNextId:protected] => 7
)
)
@@ -371,27 +344,6 @@
)
- [getcontenttype] => ezcWebdavGetContentTypeProperty Object
- (
- [properties:protected] => Array
- (
- [hasError] =>
- [errors] => Array
- (
- )
-
- [namespace] => DAV:
- [name] => getcontenttype
- [mime] =>
- [charset] =>
- )
-
- [pluginData:protected] => Array
- (
- )
-
- )
-
[getetag] => ezcWebdavGetEtagProperty Object
(
[properties:protected] => Array
@@ -499,28 +451,22 @@
[3] => Array
(
[0] => DAV:
- [1] => getcontenttype
- )
-
- [4] => Array
- (
- [0] => DAV:
[1] => getetag
)
- [5] => Array
+ [4] => Array
(
[0] => DAV:
[1] => getlastmodified
)
- [6] => Array
+ [5] => Array
(
[0] => DAV:
[1] => getcontentlength
)
- [7] => Array
+ [6] => Array
(
[0] => DAV:
[1] => resourcetype
@@ -529,7 +475,7 @@
)
[propertyOrderPosition:protected] => 0
- [propertyOrderNextId:protected] => 8
+ [propertyOrderNextId:protected] => 7
)
)
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/backend_memory_test.php:2137
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/test_case.php:44
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:209
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:20
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/runtests.php:27
4) testPropFindNamesOnCollectionDepthInfinite(ezcWebdavMemoryBackendTest)
Expected response does not match real response.
Failed asserting that two objects are equal.
--- Expected
+++ Actual
@@ -99,27 +99,6 @@
)
- [getcontenttype] => ezcWebdavGetContentTypeProperty Object
- (
- [properties:protected] => Array
- (
- [hasError] =>
- [errors] => Array
- (
- )
-
- [namespace] => DAV:
- [name] => getcontenttype
- [mime] =>
- [charset] =>
- )
-
- [pluginData:protected] => Array
- (
- )
-
- )
-
[getetag] => ezcWebdavGetEtagProperty Object
(
[properties:protected] => Array
@@ -227,28 +206,22 @@
[3] => Array
(
[0] => DAV:
- [1] => getcontenttype
- )
-
- [4] => Array
- (
- [0] => DAV:
[1] => getetag
)
- [5] => Array
+ [4] => Array
(
[0] => DAV:
[1] => getlastmodified
)
- [6] => Array
+ [5] => Array
(
[0] => DAV:
[1] => getcontentlength
)
- [7] => Array
+ [6] => Array
(
[0] => DAV:
[1] => resourcetype
@@ -257,7 +230,7 @@
)
[propertyOrderPosition:protected] => 0
- [propertyOrderNextId:protected] => 8
+ [propertyOrderNextId:protected] => 7
)
)
@@ -371,27 +344,6 @@
)
- [getcontenttype] => ezcWebdavGetContentTypeProperty Object
- (
- [properties:protected] => Array
- (
- [hasError] =>
- [errors] => Array
- (
- )
-
- [namespace] => DAV:
- [name] => getcontenttype
- [mime] =>
- [charset] =>
- )
-
- [pluginData:protected] => Array
- (
- )
-
- )
-
[getetag] => ezcWebdavGetEtagProperty Object
(
[properties:protected] => Array
@@ -499,28 +451,22 @@
[3] => Array
(
[0] => DAV:
- [1] => getcontenttype
- )
-
- [4] => Array
- (
- [0] => DAV:
[1] => getetag
)
- [5] => Array
+ [4] => Array
(
[0] => DAV:
[1] => getlastmodified
)
- [6] => Array
+ [5] => Array
(
[0] => DAV:
[1] => getcontentlength
)
- [7] => Array
+ [6] => Array
(
[0] => DAV:
[1] => resourcetype
@@ -529,7 +475,7 @@
)
[propertyOrderPosition:protected] => 0
- [propertyOrderNextId:protected] => 8
+ [propertyOrderNextId:protected] => 7
)
)
@@ -912,27 +858,6 @@
)
- [getcontenttype] => ezcWebdavGetContentTypeProperty Object
- (
- [properties:protected] => Array
- (
- [hasError] =>
- [errors] => Array
- (
- )
-
- [namespace] => DAV:
- [name] => getcontenttype
- [mime] =>
- [charset] =>
- )
-
- [pluginData:protected] => Array
- (
- )
-
- )
-
[getetag] => ezcWebdavGetEtagProperty Object
(
[properties:protected] => Array
@@ -1040,28 +965,22 @@
[3] => Array
(
[0] => DAV:
- [1] => getcontenttype
- )
-
- [4] => Array
- (
- [0] => DAV:
[1] => getetag
)
- [5] => Array
+ [4] => Array
(
[0] => DAV:
[1] => getlastmodified
)
- [6] => Array
+ [5] => Array
(
[0] => DAV:
[1] => getcontentlength
)
- [7] => Array
+ [6] => Array
(
[0] => DAV:
[1] => resourcetype
@@ -1070,7 +989,7 @@
)
[propertyOrderPosition:protected] => 0
- [propertyOrderNextId:protected] => 8
+ [propertyOrderNextId:protected] => 7
)
)
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/backend_memory_test.php:2237
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/test_case.php:44
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:209
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:20
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/runtests.php:27
5) testPropFindAllPropsOnCollection(ezcWebdavMemoryBackendTest)
Expected response does not match real response.
Failed asserting that two objects are equal.
--- Expected
+++ Actual
@@ -104,27 +104,6 @@
)
- [getcontenttype] => ezcWebdavGetContentTypeProperty Object
- (
- [properties:protected] => Array
- (
- [hasError] =>
- [errors] => Array
- (
- )
-
- [namespace] => DAV:
- [name] => getcontenttype
- [mime] => application/octet-stream
- [charset] =>
- )
-
- [pluginData:protected] => Array
- (
- )
-
- )
-
[getetag] => ezcWebdavGetEtagProperty Object
(
[properties:protected] => Array
@@ -236,28 +215,22 @@
[3] => Array
(
[0] => DAV:
- [1] => getcontenttype
- )
-
- [4] => Array
- (
- [0] => DAV:
[1] => getetag
)
- [5] => Array
+ [4] => Array
(
[0] => DAV:
[1] => getlastmodified
)
- [6] => Array
+ [5] => Array
(
[0] => DAV:
[1] => getcontentlength
)
- [7] => Array
+ [6] => Array
(
[0] => DAV:
[1] => resourcetype
@@ -266,7 +239,7 @@
)
[propertyOrderPosition:protected] => 0
- [propertyOrderNextId:protected] => 8
+ [propertyOrderNextId:protected] => 7
)
)
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/backend_memory_test.php:2401
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/test_case.php:44
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:209
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:20
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/runtests.php:27
6) testPropFindOnResource(ezcWebdavFileBackendTest)
Response does not equal serialzed response.
Failed asserting that two objects are equal.
--- Expected
+++ Actual
@@ -66,7 +66,7 @@
[name] => getlastmodified
[date] => ezcWebdavDateTime Object
(
- [backupTime:private] =>
+ [backupTime:private] => Tue, 19 Jan 2038 03:14:07 +0100
)
)
@@ -183,7 +183,6 @@
[headers:protected] => Array
(
- [Content-Type] => text/xml; charset="utf-8"
)
)
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/backend_file_test.php:70
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/backend_file_test.php:1292
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/test_case.php:44
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:209
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:20
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/runtests.php:27
7) testPropFindNamesOnResource(ezcWebdavFileBackendTest)
Response does not equal serialzed response.
Failed asserting that two objects are equal.
--- Expected
+++ Actual
@@ -304,7 +304,6 @@
[headers:protected] => Array
(
- [Content-Type] => text/xml; charset="utf-8"
)
)
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/backend_file_test.php:70
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/backend_file_test.php:1435
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/test_case.php:44
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:209
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:20
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/runtests.php:27
8) testPropFindNamesOnCollectionDepthZero(ezcWebdavFileBackendTest)
Response does not equal serialzed response.
Failed asserting that two objects are equal.
--- Expected
+++ Actual
@@ -307,7 +307,6 @@
[headers:protected] => Array
(
- [Content-Type] => text/xml; charset="utf-8"
)
)
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/backend_file_test.php:70
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/backend_file_test.php:1448
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/test_case.php:44
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:209
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:20
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/runtests.php:27
9) testPropFindAllPropsOnResource(ezcWebdavFileBackendTest)
Response does not equal serialzed response.
Failed asserting that two objects are equal.
--- Expected
+++ Actual
@@ -66,7 +66,7 @@
[name] => getlastmodified
[date] => ezcWebdavDateTime Object
(
- [backupTime:private] =>
+ [backupTime:private] => Tue, 19 Jan 2038 03:14:07 +0100
)
)
@@ -90,7 +90,7 @@
[name] => creationdate
[date] => ezcWebdavDateTime Object
(
- [backupTime:private] =>
+ [backupTime:private] => Thu, 11 Oct 2007 13:53:42 +0100
)
)
@@ -152,7 +152,7 @@
[namespace] => DAV:
[name] => getcontenttype
- [mime] => application/octet-stream
+ [mime] => text/plain
[charset] =>
)
@@ -312,7 +312,6 @@
[headers:protected] => Array
(
- [Content-Type] => text/xml; charset="utf-8"
)
)
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/backend_file_test.php:70
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/backend_file_test.php:1494
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/test_case.php:44
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:209
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:20
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/runtests.php:27
10) testPropPatchAddPropertyFail(ezcWebdavFileBackendTest)
Response does not equal serialzed response.
Failed asserting that two objects are equal.
--- Expected
+++ Actual
@@ -153,7 +153,6 @@
[headers:protected] => Array
(
- [Content-Type] => text/xml; charset="utf-8"
)
)
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/backend_file_test.php:70
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/backend_file_test.php:1644
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/test_case.php:44
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:209
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:20
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/runtests.php:27
11) testPropPatchFailOnRemoveProperty(ezcWebdavFileBackendTest)
Response does not equal serialzed response.
Failed asserting that two objects are equal.
--- Expected
+++ Actual
@@ -114,7 +114,7 @@
[name] => getlastmodified
[date] => ezcWebdavDateTime Object
(
- [backupTime:private] =>
+ [backupTime:private] => Tue, 19 Jan 2038 03:14:07 +0100
)
)
@@ -185,7 +185,6 @@
[headers:protected] => Array
(
- [Content-Type] => text/xml; charset="utf-8"
)
)
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/backend_file_test.php:70
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/backend_file_test.php:1790
/home/fh/svn/ez/ezcomponents/trunk/Webdav/tests/test_case.php:44
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:209
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:20
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/runtests.php:27
12) Warning(PHPUnit_Framework_Warning)
No client tests found in class "ezcWebdavClientNautilusTest".
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:209
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/test/runner.php:20
/home/fh/svn/ez/ezcomponents/trunk/UnitTest/src/runtests.php:27
FAILURES!
Tests: 716, Failures: 12.