@@ -22,9 +22,6 @@ clean out the jackalope references and move all jackalope specific stuff (the .j
2222into the jackalope api-tests folder. These tests should be clean. The only relevant folders are
2323tests and fixtures, plus the .sample files, the rest should go out of this.
2424
25- TODO: convert all fixtures into system view to have the expected types
26-
27-
2825## Usage
2926
3027The phpcr-api-tests is a suite to test compliance for implementations of
@@ -34,17 +31,21 @@ the java content repository specification.
3431You need to provide a couple of files in order to let the tests detect your
3532implementation:
3633
37- TODO: configuration should be handled by bootstrap and not by baseClass
3834
39- * Copy phpunit.xml.sample to phpunit.xml and adapt if necessary. All <php /> vars beginning
40- with "jcr." are copied to the configuration array that is passed to the functions ` getJCRSession ` ,
41- ` getRepository ` and ` getFixtureLoader ` .
42- * Write your own bootstrap file. Have a look at inc/bootstrap.php.sample. You
35+ * Add the api tests as submodule of your project, for example in a folder tests/api
36+ * Copy phpunit.dist.xml to the parent folder of where you added the submodule,
37+ rename it to phpunit.xml and adapt as necessary.
38+ * All <php /> vars beginning with "jcr." are copied to the configuration array
39+ that is passed to the functions ` getJCRSession ` ,
40+ ` getRepository ` and ` getFixtureLoader ` .
41+ TODO: configuration should be handled by bootstrap and not by baseClass
42+ * Write your own bootstrap file. Have a look at bootstrap.dist.php You
4343 have to implement the following methods:
4444 ** getJCRSession()
4545 ** getRepository()
4646 ** getSimpleCredentials()
4747 ** getFixtureLoader()
48+ TODO: make this a class and move logic for configuration into the bootstrap
4849* Implement data for all the necessary fixtures. See the "fixtures/" folder for
4950 a JCR XML system view export of the fixture data. If your implementation can
5051 not import this format, you will need to convert them into a suitable format.
@@ -65,18 +66,6 @@ your own fixtures if you want.
6566The test suite provides default fixtures in the fixtures folder in the JCR
6667system view export format. It is recommended to use those.
6768
68- Current list of fixtures (subject to be extended):
69-
70- * general/base
71- * general/query
72- * 10_Writing/add
73- * 10_Writing/copy
74- * 10_Writing/delete
75- * 10_Writing/move
76- * 10_Writing/nodetype
77- * 15_Versioning/base
78-
79-
8069
8170### Using jackrabbit_importexport for load your own fixtures
8271
0 commit comments