You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:17:41 UTC

[sling-org-apache-sling-testing-jcr-mock] 03/17: SLING-4042 mock documentation

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.testing.jcr-mock-1.1.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-jcr-mock.git

commit 53b9043134705560eeca776dd7fa4ac7997aa413
Author: Stefan Seifert <ss...@apache.org>
AuthorDate: Mon Oct 13 13:54:56 2014 +0000

    SLING-4042 mock documentation
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/testing/jcr-mock@1631393 13f79535-47bb-0310-9956-ffa450edef68
---
 src/site/markdown/index.md | 38 --------------------------------------
 src/site/markdown/usage.md | 17 -----------------
 2 files changed, 55 deletions(-)

diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
deleted file mode 100644
index 544541e..0000000
--- a/src/site/markdown/index.md
+++ /dev/null
@@ -1,38 +0,0 @@
-## About JCR Mocks
-
-Mock implementation of selected JCR APIs.
-
-### Maven Dependency
-
-```xml
-<dependency>
-  <groupId>org.apache.sling</groupId>
-  <artifactId>org.apache.sling.testing.jcr-mock</artifactId>
-  <version>1.0.0-SNAPHOT</version>
-</dependency>
-```
-
-### Documentation
-
-* [Usage](usage.html)
-* [API Documentation](apidocs/)
-* [Changelog](changes-report.html)
-
-### Implemented mock features
-
-The mock implementation supports:
-
-* Reading and writing all data (primitive values, arrays, binary data) via the JCR API
-* Creating any number of nodes and properties (stored in-memory in a hash map)
-* Register namespaces
-
-The following features are *not supported*:
-
-* Node types are supported in the API, but their definitions and constraints are not applied
-* Versioning not supported
-* Search not supported
-* Transactions not supported
-* Observation events can be registered but are ignored
-* Access control always grants access
-* Exporting/Importing data via document and system views not supported 
-* Workspace management methods not supported
diff --git a/src/site/markdown/usage.md b/src/site/markdown/usage.md
deleted file mode 100644
index 9ae3ce7..0000000
--- a/src/site/markdown/usage.md
+++ /dev/null
@@ -1,17 +0,0 @@
-## Usage
-
-### Getting JCR mock objects
-
-The factory class `MockJcr` allows to instantiate the different mock implementations.
-
-Example:
-
-```java
-// get session
-Session session = MockJcr.newSession();
-
-// get repository
-Repository repository = MockJcr.newRepository();
-```
-
-The repository is empty and contains only the root node. You can use the JCR API to fill it with content.

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.