Return-Path: Delivered-To: apmail-jackrabbit-commits-archive@www.apache.org Received: (qmail 95354 invoked from network); 20 May 2009 13:12:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 May 2009 13:12:51 -0000 Received: (qmail 46489 invoked by uid 500); 20 May 2009 13:13:04 -0000 Delivered-To: apmail-jackrabbit-commits-archive@jackrabbit.apache.org Received: (qmail 46419 invoked by uid 500); 20 May 2009 13:13:04 -0000 Mailing-List: contact commits-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list commits@jackrabbit.apache.org Received: (qmail 46303 invoked by uid 99); 20 May 2009 13:13:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2009 13:13:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2009 13:12:56 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 13FF92388877; Wed, 20 May 2009 13:12:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r776688 [1/2] - in /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test: ./ api/ api/nodetype/ api/observation/ api/query/ api/version/ Date: Wed, 20 May 2009 13:12:32 -0000 To: commits@jackrabbit.apache.org From: reschke@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090520131234.13FF92388877@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: reschke Date: Wed May 20 13:12:30 2009 New Revision: 776688 URL: http://svn.apache.org/viewvc?rev=776688&view=rev Log: JCR-73: JavaDoc fixes (JavaDoc uses HTML, not XHTML, also misplaced tags around JavaDoc link tags) Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/ISO8601.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/NotExecutableException.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/RepositoryHelper.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/RepositoryStub.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/AddNodeTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/DocumentViewImportTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/ExportDocViewTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NamespaceRegistryTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeAddMixinTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeItemIsModifiedTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeItemIsNewTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeOrderableChildNodesTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeRemoveMixinTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeUUIDTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/PropertyItemIsModifiedTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/PropertyItemIsNewTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SerializationTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SessionTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SessionUUIDTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueBinaryTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueBooleanTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueDateTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueDoubleTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueLongTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueReferenceTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueStringTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/StringPropertyTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/TreeComparator.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeDefTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/AddEventListenerTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventIteratorTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventResult.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/LockingTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeAddedTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeMovedTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeRemovedTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeReorderTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/PropertyAddedTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/PropertyChangedTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/PropertyRemovedTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/WorkspaceOperationTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/AbstractQueryLevel2Test.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/SQLOrderByTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/SQLQueryLevel2Test.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/SaveTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/XPathDocOrderTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/XPathOrderByTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/XPathPosIndexTest.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/XPathQueryLevel2Test.java jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/version/AbstractOnParentVersionTest.java Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java Wed May 20 13:12:30 2009 @@ -490,7 +490,7 @@ * Returns the value of the configuration property with specified * name. If the property does not exist defaultValue is * returned. - *

+ *

* Configuration properties are defined in the file: * repositoryStubImpl.properties. * Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/ISO8601.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/ISO8601.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/ISO8601.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/ISO8601.java Wed May 20 13:12:30 2009 @@ -25,7 +25,7 @@ * The ISO8601 utility class provides helper methods * to deal with date/time formatting using a specific ISO8601-compliant * format (see ISO 8601). - *

+ *

* The currently supported format is: *

  *   ±YYYY-MM-DDThh:mm:ss.SSSTZD

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/NotExecutableException.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/NotExecutableException.java?rev=776688&r1=776687&r2=776688&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/NotExecutableException.java (original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/NotExecutableException.java Wed May 20 13:12:30 2009
@@ -22,7 +22,8 @@
  * a feature is optional.
  * 

* A test method may simply declare this exception in its signature and throw - * this exception at any point in the method.
+ * this exception at any point in the method. + *

* The TCK framework will take care that a test method throwing this exception * is not considered to be in error, but that the repository is unable to * execute this test. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/RepositoryHelper.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/RepositoryHelper.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/RepositoryHelper.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/RepositoryHelper.java Wed May 20 13:12:30 2009 @@ -139,7 +139,7 @@ * Returns the value of the configuration property with specified * name. If the property does not exist null is * returned. - *

+ *

* Configuration properties are defined in the file: * repositoryStubImpl.properties. * Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/RepositoryStub.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/RepositoryStub.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/RepositoryStub.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/RepositoryStub.java Wed May 20 13:12:30 2009 @@ -35,7 +35,7 @@ /** * The RepositoryStub is the entry point to the JCR Repository * for the TCK Test harness. - *

+ *

* Implementors of the JCR specification need to provide an implementation * for the abstract methods defined in this class. */ @@ -154,7 +154,7 @@ /** * Creates and/or returns the configured RepositryStub * implementation. - *

+ *

* The property file is located in the following sequence: *

    *
  1. If the system property -Djavax.jcr.tck.properties is @@ -242,7 +242,7 @@ /** * Returns a Credentials object, that can be used to login * to the Repository returned by {@link #getRepository}. - *

    + *

    * The Credentials returned has 'superuser' rights. That * is, the Session object returned by {@link Repository#login(Credentials)} * has read write access to the whole Content Repository. @@ -257,12 +257,12 @@ /** * Returns a Credentials object, that can be used to login * to the Repository returned by {@link #getRepository}. - *

    + *

    * The Credentials returned has read/write rights. That * is, the Session object returned by {@link Repository#login(Credentials)} * has read write access to the Node configured in the * JCR TCK Interview. - *

    + *

    * For details, see: JCR TCK User Guide. * * @return a Credentials object, that allows to login to the @@ -275,12 +275,12 @@ /** * Returns a Credentials object, that can be used to login * to the Repository returned by {@link #getRepository}. - *

    + *

    * The Credentials returned must have read-only rights. That * is, the Session object returned by {@link Repository#login()} * has read-only access to the Node configured in the * JCR TCK Interview. - *

    + *

    * For details, see: JCR TCK User Guide. * * @return a Credentials object, that allows to login to the Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/AddNodeTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/AddNodeTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/AddNodeTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/AddNodeTest.java Wed May 20 13:12:30 2009 @@ -199,7 +199,7 @@ /** * Creates a new node using {@link Node#addNode(String, String)}, then tries * to call {@link javax.jcr.Node#save()} on the new node. - *

    + *

    * This should throw an {@link RepositoryException}. */ public void testAddNodeRepositoryExceptionSaveOnNewNode() throws RepositoryException { Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/DocumentViewImportTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/DocumentViewImportTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/DocumentViewImportTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/DocumentViewImportTest.java Wed May 20 13:12:30 2009 @@ -89,7 +89,7 @@ * imports the document created with createSimpleDocument method and checks * the imported tree according the rules outlined in chapter 7.3.2 of the * specification. - *

    + *

    * Additionally it checks the uuidBehaviour flag if the jcr:uuid property is * respected during import. * @@ -116,7 +116,7 @@ * IMPORT_UUID_CREATE_NEW. It imports the document created with * createSimpleDocument method and checks the imported tree according the * rules outlined in chapter 7.3.2 of the specification. - *

    + *

    * Additionally it checks the uuidBehaviour flag if the jcr:uuid property is * respected during import. * Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/ExportDocViewTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/ExportDocViewTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/ExportDocViewTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/ExportDocViewTest.java Wed May 20 13:12:30 2009 @@ -339,10 +339,10 @@ /** * Compares the child tree of a given node against the child elements of a * given element. (chapter 6.4.2.1 points 2,3,4 of the JCR specification). - *

    + *

    * Considered are the export constraints regarding nodes named jcr:xmldata * (chapter 6.4.2.3 of the JCR specification). - *

    + *

    * Also the numbers of exported child elements is compared with the number * of child nodes. * Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NamespaceRegistryTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NamespaceRegistryTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NamespaceRegistryTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NamespaceRegistryTest.java Wed May 20 13:12:30 2009 @@ -29,7 +29,7 @@ /** * NamespaceRegistryTest tests whether the repository registers and * unregisters namespaces correctly. This is a level 2 feature. - *

    + *

    * NOTE: Implementations are free to not support unregistering. In other words: * Even a repository that supports namespaces may always legally throw an * exception when you try to unregister. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeAddMixinTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeAddMixinTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeAddMixinTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeAddMixinTest.java Wed May 20 13:12:30 2009 @@ -107,7 +107,7 @@ /** * Tests if Node.addMixin(String mixinName) throws a * LockException if Node is locked - *

    + *

    * The test creates a node nodeName1 of type * testNodeType under testRoot and locks the node * with the superuser session. Then the test tries to add a mixin to @@ -170,7 +170,7 @@ /** * Tests if Node.addMixin(String mixinName) throws a * VersionException if Node is checked-in. - *

    + *

    * The test creates a node nodeName1 of type * testNodeType under testRoot and checks it in. * Then the test tries to add a mixin to nodeName1. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeItemIsModifiedTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeItemIsModifiedTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeItemIsModifiedTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeItemIsModifiedTest.java Wed May 20 13:12:30 2009 @@ -24,8 +24,9 @@ /** * Test cases for {@link Item#isModified()} on a node. - *

    - * Configuration requirements:
    + *

    + * Configuration requirements: + *

    * The node at {@link #testRoot} must allow a child node of type * {@link #testNodeType} with name {@link #nodeName1}. The node type must * support a non-mandatory string property with name {@link #propertyName1}. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeItemIsNewTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeItemIsNewTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeItemIsNewTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeItemIsNewTest.java Wed May 20 13:12:30 2009 @@ -24,8 +24,9 @@ /** * Test cases for {@link Item#isNew()} on a node. - *

    - * Configuration requirements:
    + *

    + * Configuration requirements: + *

    * The node at {@link #testRoot} must allow a child node of type * {@link #testNodeType} with name {@link #nodeName1}. * Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeOrderableChildNodesTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeOrderableChildNodesTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeOrderableChildNodesTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeOrderableChildNodesTest.java Wed May 20 13:12:30 2009 @@ -30,10 +30,10 @@ /** * NodeOrderableChildNodesTest contains all node writing tests (LEVEL 2) that require a node * that allows child node ordering (tests therefore are optional). - *

    + *

    * If the repository does not support a node type with orderable child nodes * a {@link NotExecutableException} exception is thrown. - *

    + *

    * Prerequisites: *

      *
    • javax.jcr.tck.NodeOrderableChildNodesTest.nodetype2Name of a @@ -73,8 +73,9 @@ /** * Tries to reorder child nodes using {@link Node#orderBefore(String, String)} - * with an invalid destination reference.

      This should - * throw an {@link ItemNotFoundException}. + * with an invalid destination reference. + *

      + * This should throw an {@link ItemNotFoundException}. */ public void testOrderBeforeInvalidDest() throws RepositoryException, NotExecutableException { @@ -93,8 +94,9 @@ /** * Tries to reorder child nodes using {@link Node#orderBefore(String, - * String)} with an invalid source reference.

      This should throw - * an {@link ItemNotFoundException}. + * String)} with an invalid source reference. + *

      + * This should throw an {@link ItemNotFoundException}. */ public void testOrderBeforeInvalidSrc() throws RepositoryException, NotExecutableException { @@ -113,7 +115,9 @@ /** * Tries to reorder on a node using {@link Node#orderBefore(String, String)} - * that does not support child reordering.

      This should throw and + * that does not support child reordering. + *

      + * This should throw and * {@link UnsupportedRepositoryOperationException}. Prequisites:

        *
      • javax.jcr.tck.NodeOrderableChildNodesTest.testOrderBeforeUnsupportedRepositoryOperationException.nodetype2
      • * A valid node type that does not support child node ordering. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java Wed May 20 13:12:30 2009 @@ -37,7 +37,7 @@ /** * Tests the 'read' methods specified in the {@link javax.jcr.Node} interface on * a level 1 repository. - *

        + *

        * Most tests require at least one child node under the root node, otherwise a * {@link org.apache.jackrabbit.test.NotExecutableException} is thrown. * Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeRemoveMixinTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeRemoveMixinTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeRemoveMixinTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeRemoveMixinTest.java Wed May 20 13:12:30 2009 @@ -130,7 +130,7 @@ /** * Tests if Node.removeMixin(String mixinName) throws a * LockException if Node is locked. - *

        + *

        * The test creates a node nodeName1 of type * testNodeType under testRoot, adds a mixin and * then locks the node with the superuser session. Then the test tries to @@ -196,7 +196,7 @@ /** * Tests if Node.removeMixin(String mixinName) throws a * VersionException if Node is checked-in - *

        + *

        * The test creates a node nodeName1 of type * testNodeType under testRoot, adds a mixin and * then checks it in. Then the test tries to remove the added. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeTest.java Wed May 20 13:12:30 2009 @@ -78,8 +78,9 @@ /** * Calls {@link javax.jcr.Node#getCorrespondingNodePath(String )} with a non - * existing workspace.

        This should throw an {@link - * javax.jcr.NoSuchWorkspaceException }. + * existing workspace. + *

        + * This should throw an {@link javax.jcr.NoSuchWorkspaceException }. */ public void testGetCorrespondingNodePathNoSuchWorkspaceException() throws RepositoryException { // get default workspace test root node using superuser session @@ -162,8 +163,10 @@ /** * Tries calling {@link javax.jcr.Node#update(String)} after node has - * changed in first workspace but not been saved yet.

        This should - * throw and {@link javax.jcr.InvalidItemStateException}.

        + * changed in first workspace but not been saved yet. + *

        + * This should throw an {@link javax.jcr.InvalidItemStateException}. + *

        * Prerequisites:

        • javax.jcr.tck.propertyname1 name of * a String property that can be modified in javax.jcr.tck.nodetype * for testing
        @@ -205,8 +208,9 @@ /** * Tries to use {@link javax.jcr.Node#update(String)} with an invalid - * workspace.

        This should throw an {@link - * javax.jcr.NoSuchWorkspaceException}. + * workspace. + *

        + * This should throw an {@link javax.jcr.NoSuchWorkspaceException}. */ public void testUpdateNoSuchWorkspaceException() throws RepositoryException { // get default workspace test root node using superuser session @@ -229,7 +233,8 @@ /** * Calls {@link javax.jcr.Node#update(String)} for a node that only exists * in current workspace.

        In that case nothing should happen. - *

        Prerequisites:

        • javax.jcr.tck.propertyname1 + *

          + * Prerequisites:

          • javax.jcr.tck.propertyname1 * name of a String property that can be modified in * javax.jcr.tck.nodetype for testing
          */ @@ -258,9 +263,12 @@ /** * Checks if {@link javax.jcr.Node#update(String)} works properly by * creating the same node in two workspaces one with a child node the other - * with a property set.

          Calling update() on the node + * with a property set. + *

          + * Calling update() on the node * with properties, should remove the properties and add the child node. - *

          Prerequisites:

          • javax.jcr.tck.nodetype + *

            + * Prerequisites:

            • javax.jcr.tck.nodetype * must allow children of same nodetype.
            • javax.jcr.tck.propertyname1 * name of a String property that can be modified in * javax.jcr.tck.nodetype for testing
            @@ -305,8 +313,8 @@ /** * Tries to add a node using {@link javax.jcr.Node#addNode(String)} where * node type can not be determined by parent (nt:base is used - * as parent nodetype).

            This should throw a {@link - * javax.jcr.nodetype.ConstraintViolationException}. + * as parent nodetype). + *

            This should throw a {@link javax.jcr.nodetype.ConstraintViolationException}. */ public void testAddNodeConstraintViolationExceptionUndefinedNodeType() throws RepositoryException { // get default workspace test root node using superuser session @@ -325,9 +333,11 @@ /** * Tries to add a node using {@link javax.jcr.Node#addNode(String)} as a - * child of a property.

            This should throw an {@link - * javax.jcr.nodetype.ConstraintViolationException}. - *

            Prerequisites:

            • javax.jcr.tck.propertyname1 + * child of a property. + *

              + * This should throw an {@link javax.jcr.nodetype.ConstraintViolationException}. + *

              + * Prerequisites:

              • javax.jcr.tck.propertyname1 * name of a String property that can be set in javax.jcr.tck.nodetype * for testing
              */ @@ -353,8 +363,11 @@ /** * Tries to create a node using {@link javax.jcr.Node#addNode(String, * String)} at a location where there is already a node with same name and - * the parent does not allow same name siblings.

              This should - * throw an {@link javax.jcr.ItemExistsException }.

              Prerequisites: + * the parent does not allow same name siblings. + *

              + * This should throw an {@link javax.jcr.ItemExistsException}. + *

              + * Prerequisites: *

              • javax.jcr.tck.NodeTest.testAddNodeItemExistsException.nodetype * node type that does not allow same name siblings and allows to add child * nodes of the same type.
              @@ -384,8 +397,9 @@ /** * Tries to add a node using {@link javax.jcr.Node#addNode(String)} to a non - * existing destination node.

              This should throw an {@link - * javax.jcr.PathNotFoundException}. + * existing destination node. + *

              + * This should throw an {@link javax.jcr.PathNotFoundException}. */ public void testAddNodePathNotFoundException() throws RepositoryException { // get default workspace test root node using superuser session @@ -402,8 +416,8 @@ /** * Adds a new node using {@link javax.jcr.Node#addNode(String)} with an - * index for the new name.

              This should throw an {@link - * RepositoryException}. + * index for the new name. + *

              This should throw an {@link RepositoryException}. */ public void testAddNodeRepositoryExceptionRelPathIndex() throws RepositoryException { // get default workspace test root node using superuser session @@ -420,8 +434,9 @@ /** * Creates a new node using {@link Node#addNode(String)}, then tries to call - * {@link javax.jcr.Node#save()} on the newly node.

              This should - * throw an {@link RepositoryException}. + * {@link javax.jcr.Node#save()} on the newly node. + *

              + * This should throw an {@link RepositoryException}. */ public void testAddNodeRepositoryExceptionSaveOnNewNode() throws RepositoryException { // get default workspace test root node using superuser session @@ -490,8 +505,11 @@ /** * Creates a node with a mandatory child node using {@link * Node#addNode(String, String)}, saves on parent node then tries to delete - * the mandatory child node.

              This should throw a {@link - * ConstraintViolationException}.

              Prerequisites:

                + * the mandatory child node. + *

                + * This should throw a {@link ConstraintViolationException}. + *

                + * Prerequisites:

                  *
                • javax.jcr.tck.NodeTest.testRemoveMandatoryNode.nodetype2 * a node type that has a mandatory child node
                • javax.jcr.tck.NodeTest.testRemoveMandatoryNode.nodetype3 * nodetype of the mandatory child node
                • javax.jcr.tck.NodeTest.testRemoveMandatoryNode.nodename3 @@ -524,8 +542,9 @@ /** * Removes a node using {@link javax.jcr.Node#remove()} with session 1, - * afterwards it tries the same with session 2.

                  This should throw - * an {@link InvalidItemStateException}. + * afterwards it tries the same with session 2. + *

                  + * This should throw an {@link InvalidItemStateException}. */ public void testRemoveInvalidItemStateException() throws RepositoryException { @@ -620,7 +639,7 @@ /** * Tests if Node.remove() does not throw a * LockException if Node is locked. - *

                  + *

                  * The test creates a node nodeName1 of type * testNodeType under testRoot and locks the node * with the superuser session. Then the test removes @@ -668,7 +687,7 @@ /** * Tests if Node.remove() throws a LockException * if the parent node of Node is locked. - *

                  + *

                  * The test creates a node nodeName1 of type * testNodeType under testRoot, adds a child node * nodeName2 and locks it with the superuser session. Then the @@ -725,7 +744,8 @@ /** * Tests object identity, meaning two nodes objects accuired through the - * same session must have the same properties and states.

                  + * same session must have the same properties and states. + *

                  * Prerequisites:

                  • javax.jcr.tck.nodetype must allow * children of same node type
                  • javax.jcr.tck.propertyname1 * name of a String property that can be set in javax.jcr.tck.nodetype @@ -841,7 +861,8 @@ /** * Tries to call {@link Node#refresh(boolean)} on a deleted node. - *

                    This should throw an {@link InvalidItemStateException}. + *

                    + * This should throw an {@link InvalidItemStateException}. */ public void testRefreshInvalidItemStateException() throws RepositoryException { // get default workspace test root node using superuser session @@ -866,7 +887,8 @@ /** * Checks if {@link javax.jcr.Node#refresh(boolean refresh)} works properly - * with refresh set to false.

                    + * with refresh set to false. + *

                    * Procedure:

                    • Creates two nodes with session 1
                    • Modifies * node 1 with session 1 by adding a child node
                    • Get node 2 with * session 2
                    • Modifies node 2 with session 2 by adding a child @@ -874,7 +896,8 @@ * javax.jcr.Node#save()}
                    • calls Node.refresh(false) * on root node in session 1
                    Session 1 changes should be cleared * and session 2 changes should now be visible to session 1. - *

                    Prerequisites:
                    • javax.jcr.tck.nodetype + *

                      + * Prerequisites:

                      • javax.jcr.tck.nodetype * must accept children of same nodetype
                      */ public void testRefreshBooleanFalse() throws RepositoryException { @@ -922,14 +945,17 @@ /** * Checks if {@link javax.jcr.Node#refresh(boolean refresh)} works properly - * with refresh set to true.

                      + * with refresh set to true. + *

                      * Procedure:

                      • Creates two nodes with session 1
                      • Modifies * node 1 with session 1 by adding a child node
                      • Get node 2 with * session 2
                      • Modifies node 2 with session 2 by adding a child * node
                      • saves session 2 changes using {@link * javax.jcr.Node#save()}
                      • calls Node.refresh(true) on * root node in session 1
                      Session 1 changes and session 2 - * changes now be visible to session 1.

                      Prerequisites:
                        + * changes now be visible to session 1. + *

                        + * Prerequisites:

                          *
                        • javax.jcr.tck.nodetype must accept children of same * nodetype
                        */ @@ -979,12 +1005,15 @@ /** * Tries to save a node using {@link javax.jcr.Node#save()} that was already - * deleted by an other session.

                        Procedure:
                        • Creates a new + * deleted by an other session. + *

                          + * Procedure:

                          • Creates a new * node with session 1, saves it, adds a child node.
                          • Access new * node with session 2,deletes the node, saves it.
                          • Session 1 tries * to save modifications using Node.save() on root node .
                          • *
                          This should throw an {@link javax.jcr.InvalidItemStateException}. - *

                          Prerequisites:
                          • javax.jcr.tck.nodetype + *

                            + * Prerequisites:

                            • javax.jcr.tck.nodetype * must accept children of same nodetype
                            */ public void testSaveInvalidStateException() throws RepositoryException { @@ -1026,7 +1055,7 @@ /** * Tries to create and save a node using {@link javax.jcr.Node#save()} with * an mandatory property that is not set on saving time. - *

                            + *

                            * Prerequisites:

                            • javax.jcr.tck.Node.testSaveContstraintViolationException.nodetype2 * must reference a nodetype that has at least one property that is * mandatory but not autocreated
                            Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeUUIDTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeUUIDTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeUUIDTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeUUIDTest.java Wed May 20 13:12:30 2009 @@ -92,7 +92,8 @@ /** * Moves a referencable node using {@link javax.jcr.Session#move(String, * String)} with one session and saves afterward changes made with a second - * session to the moved node using {@link Node#save()}.

                            + * session to the moved node using {@link Node#save()}. + *

                            * Procedure:

                            • Creates node 1 and node 2 with session 1
                            • *
                            • Gets reference to node 1 using session 2
                            • Session 1 moves * node 1 under node 2, saves changes
                            • Session 2 modifes node 1, Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/PropertyItemIsModifiedTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/PropertyItemIsModifiedTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/PropertyItemIsModifiedTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/PropertyItemIsModifiedTest.java Wed May 20 13:12:30 2009 @@ -25,8 +25,9 @@ /** * Test cases for {@link Item#isModified()} on a property. - *

                              - * Configuration requirements:
                              + *

                              + * Configuration requirements: + *

                              * The node at {@link #testRoot} must allow a child node of type * {@link #testNodeType} with name {@link #nodeName1}. The node type must * support a non-mandatory string property with name {@link #propertyName1}. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/PropertyItemIsNewTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/PropertyItemIsNewTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/PropertyItemIsNewTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/PropertyItemIsNewTest.java Wed May 20 13:12:30 2009 @@ -25,8 +25,9 @@ /** * Test cases for {@link Item#isNew()} on a property. - *

                              - * Configuration requirements:
                              + *

                              + * Configuration requirements: + *

                              * The node at {@link #testRoot} must allow a child node of type * {@link #testNodeType} with name {@link #nodeName1}. The node type must * support a non-mandatory string property with name {@link #propertyName1}. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SerializationTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SerializationTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SerializationTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SerializationTest.java Wed May 20 13:12:30 2009 @@ -51,7 +51,7 @@ /** * SerializationTest contains the test cases for the method * Workspace.exportSysView() and Session.importSysView(). - *

                              + *

                              * This class exports and re-imports the repository. The tests check for * differences between the original and the re-imported repository. * Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SessionTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SessionTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SessionTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SessionTest.java Wed May 20 13:12:30 2009 @@ -43,9 +43,11 @@ public class SessionTest extends AbstractJCRTest { /** - * Tries to move a node using {@link javax.jcr.Session#move(String src, String dest)} - * to a location where a node already exists with - * same name.

                              Prerequisites: + * Tries to move a node using {@link javax.jcr.Session#move(String src, String dest)} + * to a location where a node already exists with + * same name. + *

                              + * Prerequisites: *

                                *
                              • javax.jcr.tck.SessionTest.testMoveItemExistsException.nodetype2 * must contain name of a nodetype that does not allow same name sibling @@ -53,7 +55,9 @@ *
                              • javax.jcr.tck.SessionTest.testMoveItemExistsException.nodetype3 * must contain name of a valid nodetype that can be added as a child of * nodetype2
                              • - *
                              This should throw an {@link javax.jcr.ItemExistsException}. + *
                            + *

                            + * This should throw an {@link javax.jcr.ItemExistsException}. */ public void testMoveItemExistsException() throws RepositoryException { // get default workspace test root node using superuser session @@ -83,9 +87,10 @@ } /** - * Calls {@link javax.jcr.Session#move(String src, String dest)} - * with invalid destination path.

                            Should throw - * . + * Calls {@link javax.jcr.Session#move(String src, String dest)} + * with invalid destination path. + *

                            + * Should throw a {@link javax.jcr.PathNotFoundException}. */ public void testMovePathNotFoundExceptionDestInvalid() throws RepositoryException { // get default workspace test root node using superuser session @@ -109,9 +114,10 @@ } /** - * Calls {@link javax.jcr.Session#move(String src, String dest)} with - * invalid source path.

                            Should throw an {@link - * javax.jcr.PathNotFoundException}. + * Calls {@link javax.jcr.Session#move(String src, String dest)} with + * invalid source path. + *

                            + * Should throw a {@link javax.jcr.PathNotFoundException}. */ public void testMovePathNotFoundExceptionSrcInvalid() throws RepositoryException { // get default workspace test root node using superuser session @@ -133,9 +139,10 @@ } /** - * Calls {@link javax.jcr.Session#move(String src, String dest)} - * with a destination path that has an index postfixed.
                            - *
                            This should throw an {@link javax.jcr.RepositoryException}. + * Calls {@link javax.jcr.Session#move(String src, String dest)} + * with a destination path that has an index postfixed. + *

                            + * This should throw a {@link javax.jcr.RepositoryException}. */ public void testMoveRepositoryException() throws RepositoryException { // get default workspace test root node using superuser session @@ -162,10 +169,12 @@ } /** - * Moves a node using {@link javax.jcr.Session#move(String src, String dest)} - * , afterwards it tries to only save the old parent node.
                            - *
                            This should throw {@link javax.jcr.nodetype.ConstraintViolationException}. - *

                            Prerequisites:

                            • javax.jcr.tck.nodetype + * Moves a node using {@link javax.jcr.Session#move(String src, String dest)}, + * afterwards it tries to only save the old parent node. + *

                              + * This should throw {@link javax.jcr.nodetype.ConstraintViolationException}. + *

                              + * Prerequisites:

                              • javax.jcr.tck.nodetype * must accept children of same nodetype
                              */ public void testMoveConstraintViolationExceptionSrc() throws RepositoryException { @@ -196,10 +205,13 @@ } /** - * Moves a node using {@link javax.jcr.Session#move(String src, String dest)} - * , afterwards it tries to only save the destination parent - * node.

                              This should throw {@link javax.jcr.nodetype.ConstraintViolationException}. - *

                              Prerequisites:
                              • javax.jcr.tck.nodetype + * Moves a node using {@link javax.jcr.Session#move(String src, String dest)}, + * afterwards it tries to only save the destination parent + * node. + *

                                + * This should throw a {@link javax.jcr.nodetype.ConstraintViolationException}. + *

                                + * Prerequisites:

                                • javax.jcr.tck.nodetype * must accept children of same nodetype
                                */ public void testMoveConstraintViolationExceptionDest() throws RepositoryException { @@ -230,9 +242,10 @@ } /** - * Calls {@link javax.jcr.Session#move(String src, String dest)} where - * the parent node of src is locked.

                                Should throw a {@link - * LockException} immediately or on save. + * Calls {@link javax.jcr.Session#move(String src, String dest)} where + * the parent node of src is locked. + *

                                + * Should throw a {@link LockException} immediately or on save. */ public void testMoveLockException() throws NotExecutableException, RepositoryException { @@ -284,10 +297,11 @@ } /** - * Checks if {@link javax.jcr.Session#move(String src, String dest)} - * works properly. To verify if node has been moved properly + * Checks if {@link javax.jcr.Session#move(String src, String dest)} + * works properly. To verify if node has been moved properly * it uses a second session to retrieve the moved node. - *

                                Prerequisites:

                                • javax.jcr.tck.nodetype + *

                                  + * Prerequisites:

                                  • javax.jcr.tck.nodetype * must accept children of same nodetype
                                  */ public void testMoveNode() throws RepositoryException { @@ -322,7 +336,9 @@ /** * Checks if a newly created node gets properly saved using .

                                  It creates a new node, saves + * javax.jcr.Session#save()}
                                  . + *

                                  + * It creates a new node, saves * it using session.save() then uses a different session to * verify if the node has been properly saved. */ @@ -348,10 +364,14 @@ /** * Checks if a modified node gets properly saved using .

                                  It creates a new node, saves + * javax.jcr.Session#save()}
                                  . + *

                                  + * It creates a new node, saves * it using session.save(), modifies the node by adding a child * node, saves again and finally verifies with a different session if - * changes have been stored properly.

                                  Prerequisites:

                                    + * changes have been stored properly. + *

                                    + * Prerequisites:

                                      *
                                    • javax.jcr.tck.nodetype must accept children of same * nodetype
                                    */ @@ -386,7 +406,8 @@ /** * Tries to create and save a node using {@link javax.jcr.Session#save()} - * with an mandatory property that is not set on saving time.

                                    + * with an mandatory property that is not set on saving time. + *

                                    * Prerequisites:

                                    • javax.jcr.tck.SessionTest.testSaveContstraintViolationException.nodetype2 * must reference a nodetype that has one at least one property that is * mandatory but not autocreated
                                    @@ -409,11 +430,15 @@ /** * Tries to save a node using {@link javax.jcr.Session#save()} that was - * already deleted by an other session.

                                    Procedure:
                                      + * already deleted by an other session. + *

                                      + * Procedure:

                                        *
                                      • Creates a new node with session 1, saves it, adds a child node.
                                      • *
                                      • Access new node with session 2,deletes the node, saves it.
                                      • *
                                      • session 1 tries to save modifications .
                                      This should throw - * an {@link javax.jcr.InvalidItemStateException}.

                                      Prerequisites: + * an {@link javax.jcr.InvalidItemStateException}. + *

                                      + * Prerequisites: *

                                      • javax.jcr.tck.nodetype must accept children of same * nodetype
                                      */ @@ -455,14 +480,17 @@ /** * Checks if {@link javax.jcr.Session#refresh(boolean refresh)} works - * properly with refresh set to false.

                                      + * properly with refresh set to false. + *

                                      * Procedure:

                                      • Creates two nodes with session 1
                                      • Modifies * node 1 with session 1 by adding a child node
                                      • Get node 2 with * session 2
                                      • Modifies node 2 with session 2 by adding a child * node
                                      • saves session 2 changes using {@link * javax.jcr.Session#save()}
                                      • calls Session.refresh(false) * on session 1
                                      Session 1 changes should be cleared and session 2 - * changes should now be visible to session 1.

                                      Prerequisites:
                                        + * changes should now be visible to session 1. + *

                                        + * Prerequisites:

                                          *
                                        • javax.jcr.tck.nodetype must accept children of same * nodetype
                                        */ @@ -512,14 +540,17 @@ /** * Checks if {@link javax.jcr.Session#refresh(boolean refresh)} works - * properly with refresh set to true.

                                        + * properly with refresh set to true. + *

                                        * Procedure:

                                        • Creates two nodes with session 1
                                        • Modifies * node 1 with session 1 by adding a child node
                                        • Get node 2 with * session 2
                                        • Modifies node 2 with session 2 by adding a child * node
                                        • saves session 2 changes using {@link * javax.jcr.Session#save()}
                                        • calls Session.refresh(true) * on session 1
                                        Session 1 changes and session 2 changes now be - * visible to session 1.

                                        Prerequisites:
                                          + * visible to session 1. + *

                                          + * Prerequisites:

                                            *
                                          • javax.jcr.tck.nodetype must accept children of same * nodetype
                                          */ @@ -569,7 +600,10 @@ /** * Checks if {@link javax.jcr.Session#hasPendingChanges()} works - * properly.

                                          Procedure:
                                          • Gets a session, checks + * properly. + *

                                            + * Procedure: + *

                                            • Gets a session, checks * inital flag setting
                                            • Adds a node, checks flag
                                            • Saves on * session, checks flag
                                            • Adds a property, checks flag
                                            • Saves * on session, checks flag
                                            • Adds a child node, checks flag
                                            • Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SessionUUIDTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SessionUUIDTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SessionUUIDTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SessionUUIDTest.java Wed May 20 13:12:30 2009 @@ -92,8 +92,8 @@ /** * Moves a referencable node using {@link javax.jcr.Session#move(String, String)} with one session and - * saves afterward changes made with a second session to the moved node using {@link Session#save()}.
                                              - *
                                              + * saves afterward changes made with a second session to the moved node using {@link Session#save()}. + *

                                              * Procedure: *

                                                *
                                              • Creates node 1 and node 2 with session 1
                                              • Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueBinaryTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueBinaryTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueBinaryTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueBinaryTest.java Wed May 20 13:12:30 2009 @@ -29,11 +29,13 @@ /** * Tests the various {@link Property#setValue(Value)} methods. - *

                                                - * Configuration requirements:
                                                The node at {@link #testRoot} must allow a + *

                                                + * Configuration requirements: + *

                                                + * The node at {@link #testRoot} must allow a * child node of type {@link #testNodeType} with name {@link #nodeName1}. The * node type {@link #testNodeType} must define a single value binary property - * with name {@link #propertyName1}.
                                                As a special case, if the specified node + * with name {@link #propertyName1}. As a special case, if the specified node * type automatically adds a jcr:content child node of type nt:resource, and * propertyName1 is specified as "jcr:data", that binary property * is used instead. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueBooleanTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueBooleanTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueBooleanTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueBooleanTest.java Wed May 20 13:12:30 2009 @@ -26,8 +26,10 @@ /** * Tests the various {@link Property#setValue(Value)} methods. - *

                                                - * Configuration requirements:
                                                The node at {@link #testRoot} must allow a + *

                                                + * Configuration requirements: + *

                                                + * The node at {@link #testRoot} must allow a * child node of type {@link #testNodeType} with name {@link #nodeName1}. The * node type {@link #testNodeType} must define a single value boolean property * with name {@link #propertyName1}. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueDateTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueDateTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueDateTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueDateTest.java Wed May 20 13:12:30 2009 @@ -28,8 +28,10 @@ /** * Tests the various {@link Property#setValue(Value)} methods. - *

                                                - * Configuration requirements:
                                                The node at {@link #testRoot} must allow a + *

                                                + * Configuration requirements: + *

                                                + * The node at {@link #testRoot} must allow a * child node of type {@link #testNodeType} with name {@link #nodeName1}. The * node type {@link #testNodeType} must define a single value date property * with name {@link #propertyName1}. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueDoubleTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueDoubleTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueDoubleTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueDoubleTest.java Wed May 20 13:12:30 2009 @@ -26,8 +26,10 @@ /** * Tests the various {@link Property#setValue(Value)} methods. - *

                                                - * Configuration requirements:
                                                The node at {@link #testRoot} must allow a + *

                                                + * Configuration requirements: + *

                                                + * The node at {@link #testRoot} must allow a * child node of type {@link #testNodeType} with name {@link #nodeName1}. The * node type {@link #testNodeType} must define a single value double property * with name {@link #propertyName1}. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueLongTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueLongTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueLongTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueLongTest.java Wed May 20 13:12:30 2009 @@ -26,8 +26,10 @@ /** * Tests the various {@link Property#setValue(Value)} methods. - *

                                                - * Configuration requirements:
                                                The node at {@link #testRoot} must allow a + *

                                                + * Configuration requirements: + *

                                                + * The node at {@link #testRoot} must allow a * child node of type {@link #testNodeType} with name {@link #nodeName1}. The * node type {@link #testNodeType} must define a single value long property * with name {@link #propertyName1}. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueReferenceTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueReferenceTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueReferenceTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueReferenceTest.java Wed May 20 13:12:30 2009 @@ -27,8 +27,10 @@ /** * Tests the various {@link Property#setValue(Value)} methods. - *

                                                - * Configuration requirements:
                                                The node at {@link #testRoot} must allow a + *

                                                + * Configuration requirements: + *

                                                + * The node at {@link #testRoot} must allow a * child node of type {@link #testNodeType} with name {@link #nodeName1}. The * node type {@link #testNodeType} must define a single value reference property * with name {@link #propertyName1}. The node type {@link #testNodeType} must Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueStringTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueStringTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueStringTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SetValueStringTest.java Wed May 20 13:12:30 2009 @@ -30,8 +30,9 @@ /** * Tests the various {@link Property#setValue(Value)} methods. - *

                                                - * Configuration requirements:
                                                + *

                                                + * Configuration requirements: + *

                                                * The node at {@link #testRoot} must allow a child node of type * {@link #testNodeType} with name {@link #nodeName1}. The node type * {@link #testNodeType} must define a single value string property with Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/StringPropertyTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/StringPropertyTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/StringPropertyTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/StringPropertyTest.java Wed May 20 13:12:30 2009 @@ -30,34 +30,34 @@ * conversions to other Properties (except Name and Path property). If no String * property is found or only a multivalue String property with an empty array, a * NotExecutableException is thrown on setUp. More precisely, the tests are: - *

                                                + *

                                                * - Value.getString() should return a string equals to Property.getString(), * and in case of a multivalue property the failure of Property.getString() is * checked. - *

                                                + *

                                                * - Value.getBoolean() Conversion to Boolean property. - *

                                                + *

                                                * - Value.getDate() Conversion to Date property is only valid when the String * follows the required Date pattern (6.2.5.1 of jsr170 specification). - *

                                                + *

                                                * - Value.getDouble() Conversion to Double are only valid when the String * follows the correct patterns as required by the according Java classes. - *

                                                + *

                                                * - Value.getLong() Conversion to Double are only valid when the String follows * the correct patterns as required by the according Java classes. - *

                                                + *

                                                * - Value.getStream() Conversion to a Binary property follows the rules of * Value.getStream() as explained in chapter 6.2.7 of the jsr170 specification. * The required encoding is utf-8. - *

                                                + *

                                                * - Property.getNode() Conversion to a Reference property is tested with * Property.getNode. The String should match the UUID pattern but this doesn't * guarantee to be a reference (which especially requires integrity). - *

                                                + *

                                                * - Property.getLength() . - *

                                                + *

                                                * - Property.getLengths() . - *

                                                + *

                                                * - Property.getType() is compared to Value.getType() . * * @test Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/TreeComparator.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/TreeComparator.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/TreeComparator.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/TreeComparator.java Wed May 20 13:12:30 2009 @@ -39,7 +39,7 @@ * TreeComparator compares two trees. This allows re-use for * different tests, and it allows to test a function on any tree, not just a * simple example node. - *

                                                + *

                                                * TreeComparator also creates an example tree that contains as many features as * possible. */ @@ -120,7 +120,7 @@ /** * Creates a simple example tree. Use this tree for general repository * functions, such as serialization, namespaces and versioning. - *

                                                + *

                                                * The beauty of this is that the tree contains exactly the features that * are supported by the repository. Any repository exceptions that occur are * displayed on "out", but are otherwise ignored. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeDefTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeDefTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeDefTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeDefTest.java Wed May 20 13:12:30 2009 @@ -146,7 +146,7 @@ /** * This test checks if item definitions with mandatory constraints are * respected. - *

                                                + *

                                                * If the default workspace does not contain a node with a node type * definition that specifies a mandatory child node a {@link * org.apache.jackrabbit.test.NotExecutableException} is thrown. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/AddEventListenerTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/AddEventListenerTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/AddEventListenerTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/AddEventListenerTest.java Wed May 20 13:12:30 2009 @@ -25,13 +25,14 @@ /** * Tests the options for addEventListener(). - *

                                                - * Configuration requirements are:
                                                + *

                                                + * Configuration requirements: + *

                                                * The {@link #testRoot} must allow child nodes of type {@link #testNodeType}. * The child nodes that are created will be named {@link #nodeName1} and * {@link #nodeName2}. Furthermore {@link #testNodeType} must allow to add * child nodes of the same type ({@link #testNodeType}). - *

                                                + *

                                                * Certain test require that {@link #testNodeType} is mix:referenceable or * allows to add that mixin. If the repository does not support mix:referenceable * a {@link org.apache.jackrabbit.test.NotExecutableException} is thrown Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventIteratorTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventIteratorTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventIteratorTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventIteratorTest.java Wed May 20 13:12:30 2009 @@ -30,8 +30,9 @@ *

                                              • {@link javax.jcr.observation.EventIterator#getPosition()}
                                              • *
                                              • {@link javax.jcr.observation.EventIterator#skip(long)}
                                              • *
                                              - *

                                              - * Configuration requirements are:
                                              + *

                                              + * Configuration requirements: + *

                                              * The {@link #testRoot} must allow child nodes of type {@link #testNodeType}. * The child nodes that are created will be named {@link #nodeName1}, * {@link #nodeName2} and {@link #nodeName3}. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventResult.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventResult.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventResult.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventResult.java Wed May 20 13:12:30 2009 @@ -29,7 +29,7 @@ /** * Utility class for Event retrieval with an * EventListener. - *

                                              + *

                                              * The {@link #getEventIterator(long)} and {@link #getEvents(long)} methods * will block until an event is delivered and then return the events. Note, that * only one of the methods can be called for an expected event delivery. Calling @@ -70,7 +70,7 @@ /** * Gets the events from the EventListener. Waits at most wait * milliseconds for the events. - *

                                              + *

                                              * If the events are not delivered within wait time an empty * array is returned and a log message is written. * @@ -89,7 +89,7 @@ /** * Gets the events from the EventListener. Waits at most wait * milliseconds for the events. - *

                                              + *

                                              * If the events are not delivered within wait time * null is returned and a log message is written. * @param wait time in milliseconds to wait at most for Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventTest.java Wed May 20 13:12:30 2009 @@ -22,8 +22,9 @@ /** * Tests methods on the {@link javax.jcr.observation.Event} interface. - *

                                              - * Configuration requirements are:
                                              + *

                                              + * Configuration requirements: + *

                                              * The {@link #testRoot} must allow child nodes of type {@link #testNodeType}. * The child node that is created will be named {@link #nodeName1}. * Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/LockingTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/LockingTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/LockingTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/LockingTest.java Wed May 20 13:12:30 2009 @@ -25,8 +25,9 @@ /** * Tests if locking a node triggers property added events for jcr:lockOwner * and jcr:lockIsDeep. - *

                                              - * Configuration requirements are:
                                              + *

                                              + * Configuration requirements: + *

                                              * The {@link #testRoot} must allow child nodes of type {@link #testNodeType}. * The child node that is created will be named {@link #nodeName1}. The node * type {@link #testNodeType} must either have mix:lockable as one of its Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeAddedTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeAddedTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeAddedTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeAddedTest.java Wed May 20 13:12:30 2009 @@ -22,8 +22,9 @@ /** * Test cases for {@link javax.jcr.observation.Event#NODE_ADDED} events. - *

                                              - * Configuration requirements are:
                                              + *

                                              + * Configuration requirements: + *

                                              * The {@link #testRoot} must allow child nodes of type {@link #testNodeType}. * The child nodes that are created will be named {@link #nodeName1} and * {@link #nodeName2}. Furthermore {@link #testNodeType} must allow to add Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeMovedTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeMovedTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeMovedTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeMovedTest.java Wed May 20 13:12:30 2009 @@ -28,8 +28,9 @@ /** * Tests if {@link javax.jcr.Session#move} operations trigger the appropriate * observation events. - *

                                              - * Configuration requirements are:
                                              + *

                                              + * Configuration requirements: + *

                                              * The {@link #testRoot} must allow child nodes of type {@link #testNodeType}. * The child nodes that are created will be named {@link #nodeName1}, * {@link #nodeName2}, {@link #nodeName3} and {@link #nodeName4}. Furthermore Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeRemovedTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeRemovedTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeRemovedTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeRemovedTest.java Wed May 20 13:12:30 2009 @@ -22,8 +22,9 @@ /** * Test cases for {@link javax.jcr.observation.Event#NODE_REMOVED} events. - *

                                              - * Configuration requirements are:
                                              + *

                                              + * Configuration requirements: + *

                                              * The {@link #testRoot} must allow child nodes of type {@link #testNodeType}. * The child nodes that are created will be named {@link #nodeName1} and * {@link #nodeName2}. Furthermore {@link #testNodeType} must allow to add Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeReorderTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeReorderTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeReorderTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/NodeReorderTest.java Wed May 20 13:12:30 2009 @@ -29,7 +29,7 @@ /** * Tests if {@link javax.jcr.Node#orderBefore(String, String)} operations trigger * the appropriate observation events. - *

                                              + *

                                              * @tck.config testroot must allow orderable child nodes of type * nodetype, otherwise the test cases throw a * {@link NotExecutableException}. Some tests are only executed if the node Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/PropertyAddedTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/PropertyAddedTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/PropertyAddedTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/PropertyAddedTest.java Wed May 20 13:12:30 2009 @@ -24,8 +24,9 @@ /** * Test cases for {@link javax.jcr.observation.Event#PROPERTY_ADDED} events. - *

                                              - * Configuration requirements are:
                                              + *

                                              + * Configuration requirements: + *

                                              * The {@link #testRoot} must allow child nodes of type {@link #testNodeType}. * The child nodes that are created will be named {@link #nodeName1} and * {@link #nodeName2}. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/PropertyChangedTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/PropertyChangedTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/PropertyChangedTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/PropertyChangedTest.java Wed May 20 13:12:30 2009 @@ -27,8 +27,9 @@ /** * Test cases for {@link javax.jcr.observation.Event#PROPERTY_CHANGED} events. - *

                                              - * Configuration requirements are:
                                              + *

                                              + * Configuration requirements: + *

                                              * The {@link #testRoot} must allow child nodes of type {@link #testNodeType}. * The child nodes that are created will be named {@link #nodeName1} and * {@link #nodeName2}. @@ -106,7 +107,7 @@ *

                                            * is triggered if a property is transiently removed and set again with * the same name but different type and then saved. - *

                                            + *

                                            * If the node type {@link #testNodeType} does not suppport a property with * name {@link #propertyName1} of type {@link PropertyType#UNDEFINED} a * {@link NotExecutableException} is thrown. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/PropertyRemovedTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/PropertyRemovedTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/PropertyRemovedTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/PropertyRemovedTest.java Wed May 20 13:12:30 2009 @@ -23,8 +23,9 @@ /** * Test cases for {@link javax.jcr.observation.Event#PROPERTY_REMOVED} events. - *

                                            - * Configuration requirements are:
                                            + *

                                            + * Configuration requirements: + *

                                            * The {@link #testRoot} must allow child nodes of type {@link #testNodeType}. * The child nodes that are created will be named {@link #nodeName1} and * {@link #nodeName2}. Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/WorkspaceOperationTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/WorkspaceOperationTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/WorkspaceOperationTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/WorkspaceOperationTest.java Wed May 20 13:12:30 2009 @@ -22,9 +22,9 @@ /** * Tests if workspace operations trigger the appropriate observation events. - * - *

                                            - * Configuration requirements are:
                                            + *

                                            + * Configuration requirements: + *

                                            * The {@link #testRoot} must allow child nodes of type {@link #testNodeType}. * The child nodes that are created will be named {@link #nodeName1}, * {@link #nodeName2}, {@link #nodeName3} and {@link #nodeName4}. Furthermore Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/AbstractQueryLevel2Test.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/AbstractQueryLevel2Test.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/AbstractQueryLevel2Test.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/AbstractQueryLevel2Test.java Wed May 20 13:12:30 2009 @@ -69,7 +69,7 @@ * the node type must allow a String property with name {@link * #propertyName1} and a multi valued String property with name {@link * #propertyName2}. - *

                                            + *

                                            * If the node type does not support multi values for {@link #propertyName2} * a {@link org.apache.jackrabbit.test.NotExecutableException} is thrown. */ Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/SQLOrderByTest.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/SQLOrderByTest.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/SQLOrderByTest.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/SQLOrderByTest.java Wed May 20 13:12:30 2009 @@ -22,7 +22,7 @@ /** * This test searches for all nodes of a specific node type and orders them by * the property with name configured as {@link #propertyName1}. - *

                                            + *

                                            * The default workspace must at least contain two nodes of type {@link #testNodeType} * with String properties named {@link #propertyName1} containing distinct * values. @@ -57,7 +57,7 @@ /** * Test if sort order ascending is respected. - *

                                            + *

                                            * For configuration description see {@link SQLOrderByTest}. */ public void testOrderByAscending() throws Exception { @@ -67,7 +67,7 @@ /** * Test if sort order descending is respected. - *

                                            + *

                                            * For configuration description see {@link SQLOrderByTest}. */ public void testOrderByDescending() throws Exception { @@ -78,7 +78,7 @@ /** * Test if default sort order is respected and is ascending if the * order by modifier is missing. - *

                                            + *

                                            * For configuration description see {@link SQLOrderByTest}. */ public void testOrderByDefault() throws Exception { Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/SQLQueryLevel2Test.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/SQLQueryLevel2Test.java?rev=776688&r1=776687&r2=776688&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/SQLQueryLevel2Test.java (original) +++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/SQLQueryLevel2Test.java Wed May 20 13:12:30 2009 @@ -35,7 +35,7 @@ /** * Test if the optional jcr:score property for full-text search is * supported. - *

                                            + *

                                            * For configuration description see {@link #setUpFullTextTest()}. */ public void testScoreColumn() throws Exception { @@ -48,7 +48,7 @@ /** * Test full-text search of the repository. - *

                                            + *

                                            * For configuration description see {@link #setUpFullTextTest()}. */ public void testFullTextSearch() throws Exception { @@ -74,7 +74,7 @@ /** * Test range evaluation of a Query. - *

                                            + *

                                            * For configuration description see {@link #setUpRangeTest()}. */ public void testRange() throws Exception { @@ -90,7 +90,7 @@ /** * Test multi-value support of search. - *

                                            + *

                                            * For configuration description see {@link #setUpMultiValueTest()}. */ public void testMultiValueSearch() throws Exception { @@ -107,7 +107,7 @@ /** * Test if the optional jcr:path pseudo property is contained in the query * result. - *

                                            + *

                                            * For configuration description see {@link #setUpFullTextTest()}. */ public void testPathColumn() throws Exception {