DNA SVN: r966 - trunk/dna-repository/src/main/java/org/jboss/dna/repository.
by dna-commits@lists.jboss.org
Author: rhauch
Date: 2009-06-03 16:07:47 -0400 (Wed, 03 Jun 2009)
New Revision: 966
Modified:
trunk/dna-repository/src/main/java/org/jboss/dna/repository/RepositoryService.java
Log:
DNA-436 Repository example uses different path in configuration repository than assumed by RepositoryService
Changed RepositoryService to use '/jcr:system' as the default path, since that makes for better integration
Modified: trunk/dna-repository/src/main/java/org/jboss/dna/repository/RepositoryService.java
===================================================================
--- trunk/dna-repository/src/main/java/org/jboss/dna/repository/RepositoryService.java 2009-06-03 19:55:23 UTC (rev 965)
+++ trunk/dna-repository/src/main/java/org/jboss/dna/repository/RepositoryService.java 2009-06-03 20:07:47 UTC (rev 966)
@@ -147,7 +147,7 @@
CheckArg.isNotNull(context, "context");
if (pathToConfigurationRoot == null) pathToConfigurationRoot = context.getValueFactories()
.getPathFactory()
- .create("/dna:system");
+ .create("/jcr:system");
this.sources = sources;
this.pathToConfigurationRoot = pathToConfigurationRoot;
this.configurationSourceName = configurationSourceName;
16 years, 7 months
DNA SVN: r965 - in trunk/dna-cnd/src: test/java/org/jboss/dna/cnd and 1 other directories.
by dna-commits@lists.jboss.org
Author: rhauch
Date: 2009-06-03 15:55:23 -0400 (Wed, 03 Jun 2009)
New Revision: 965
Added:
trunk/dna-cnd/src/test/resources/cnd/aircraft.cnd
trunk/dna-cnd/src/test/resources/cnd/cars.cnd
Modified:
trunk/dna-cnd/src/main/antlr3/org/jboss/dna/cnd/Cnd.g
trunk/dna-cnd/src/test/java/org/jboss/dna/cnd/CndImporterTest.java
Log:
Added more test cases to the CND importer, including two that use regular expressions for the constraints
Modified: trunk/dna-cnd/src/main/antlr3/org/jboss/dna/cnd/Cnd.g
===================================================================
--- trunk/dna-cnd/src/main/antlr3/org/jboss/dna/cnd/Cnd.g 2009-06-03 17:29:22 UTC (rev 964)
+++ trunk/dna-cnd/src/main/antlr3/org/jboss/dna/cnd/Cnd.g 2009-06-03 19:55:23 UTC (rev 965)
@@ -348,8 +348,8 @@
// Quoted strings may contain escaped characters.
fragment QUOTED_STRING
- : '"' ( EscapeSequence | ~('\\'|'"'))* '"'
- | '\'' ( EscapeSequence | ~('\\'|'\''))* '\''
+ : '"' ( EscapeSequence | ~('"'))* '"'
+ | '\'' ( EscapeSequence | ~('\''))* '\''
;
fragment EscapeSequence
Modified: trunk/dna-cnd/src/test/java/org/jboss/dna/cnd/CndImporterTest.java
===================================================================
--- trunk/dna-cnd/src/test/java/org/jboss/dna/cnd/CndImporterTest.java 2009-06-03 17:29:22 UTC (rev 964)
+++ trunk/dna-cnd/src/test/java/org/jboss/dna/cnd/CndImporterTest.java 2009-06-03 19:55:23 UTC (rev 965)
@@ -101,10 +101,12 @@
}
}
- protected Node node( String pathToNode, String childNodeName, String nameValue ) {
+ protected Node node( String pathToNode,
+ String childNodeName,
+ String nameValue ) {
Node a = graph.getNodeAt("/a/" + pathToNode);
List<Location> children = a.getChildren();
-
+
for (Location childLocation : a.getChildren()) {
if (!childLocation.getPath().getLastSegment().getName().equals(name(childNodeName))) continue;
Node child = graph.getNodeAt(childLocation);
@@ -113,7 +115,7 @@
return child;
}
}
-
+
return null;
}
@@ -245,7 +247,8 @@
// + * (nt:base) = nt:unstructured multiple version
assertNodeType("nt:unstructured", NO_SUPERTYPES, NO_PRIMARY_NAME, NodeOptions.Ordered);
assertProperty("nt:unstructured", "*", "Undefined", NO_DEFAULTS, PropertyOptions.Multiple);
- // We should test for this, but we'd have to rewrite node() to look more like RepositoryNodeTypeManager.findChildNodeDefinition
+ // We should test for this, but we'd have to rewrite node() to look more like
+ // RepositoryNodeTypeManager.findChildNodeDefinition
// assertProperty("nt:unstructured", "*", "Undefined", NO_DEFAULTS);
assertChild("nt:unstructured", "*", "nt:base", "nt:unstructured", OnParentVersion.Version, ChildOptions.Multiple);
@@ -334,8 +337,9 @@
// + * (nt:base) = nt:unstructured multiple version
assertNodeType("nt:unstructured", NO_SUPERTYPES, NO_PRIMARY_NAME, NodeOptions.Ordered);
assertProperty("nt:unstructured", "*", "Undefined", NO_DEFAULTS, PropertyOptions.Multiple);
- // We should test for this, but we'd have to rewrite node() to look more like RepositoryNodeTypeManager.findChildNodeDefinition
- //assertProperty("nt:unstructured", "*", "Undefined", NO_DEFAULTS);
+ // We should test for this, but we'd have to rewrite node() to look more like
+ // RepositoryNodeTypeManager.findChildNodeDefinition
+ // assertProperty("nt:unstructured", "*", "Undefined", NO_DEFAULTS);
assertChild("nt:unstructured", "*", "nt:base", "nt:unstructured", OnParentVersion.Version, ChildOptions.Multiple);
// [mix:referenceable]
@@ -428,6 +432,20 @@
assertThat(problems.size(), is(1));
}
+ @Test
+ public void shouldImportCndForAircraft() throws Exception {
+ importer.importFrom(openCndFile("aircraft.cnd"), problems);
+ if (problems.size() != 0) printProblems();
+ assertThat(problems.size(), is(0));
+ }
+
+ @Test
+ public void shouldImportCndForCars() throws Exception {
+ importer.importFrom(openCndFile("cars.cnd"), problems);
+ if (problems.size() != 0) printProblems();
+ assertThat(problems.size(), is(0));
+ }
+
public static final String[] NO_DEFAULTS = {};
public static final String[] NO_SUPERTYPES = {};
public static final String[] NO_VALUE_CONSTRAINTS = {};
Added: trunk/dna-cnd/src/test/resources/cnd/aircraft.cnd
===================================================================
--- trunk/dna-cnd/src/test/resources/cnd/aircraft.cnd (rev 0)
+++ trunk/dna-cnd/src/test/resources/cnd/aircraft.cnd 2009-06-03 19:55:23 UTC (rev 965)
@@ -0,0 +1,64 @@
+/*
+ * JBoss DNA (http://www.jboss.org/dna)
+ * See the COPYRIGHT.txt file distributed with this work for information
+ * regarding copyright ownership. Some portions may be licensed
+ * to Red Hat, Inc. under one or more contributor license agreements.
+ * See the AUTHORS.txt file in the distribution for a full listing of
+ * individual contributors.
+ *
+ * JBoss DNA is free software. Unless otherwise indicated, all code in JBoss DNA
+ * is licensed to you under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * JBoss DNA is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+//------------------------------------------------------------------------------
+// N A M E S P A C E S
+//------------------------------------------------------------------------------
+<jcr='http://www.jcp.org/jcr/1.0'>
+<nt='http://www.jcp.org/jcr/nt/1.0'>
+<mix='http://www.jcp.org/jcr/mix/1.0'>
+<air='http://jboss.org/dna/examples/aircraft/1.0'>
+
+//------------------------------------------------------------------------------
+// N O D E T Y P E S
+//------------------------------------------------------------------------------
+
+[air:Aircraft] > nt:unstructured
+ - air:maker (string)
+ - air:model (string)
+ - air:designedBy (string)
+ - air:introduced (string) < "(19|20)\d{2}" // any 4 digit number starting with '19' or '20'
+ - air:range (string) // any integer (with optional ',' every 1000s place)
+ < "\d{1,3}(,?\d{3})*\s*(nm|m|km|mi|ft)" // followed by 'nm', 'm', 'km', 'mi', or 'ft'
+ - air:maxSpeed (string) // any integer (with optional ',' every 1000s place)
+ < '\d{1,3}(,?\d{3})*\s*(kt|mph|km/h|kmph)' // followed by 'kt', 'mph', 'km/h' or 'kmph'
+ - air:takeoffSpeed (string) // any integer (with optional ',' every 1000s place)
+ < '\d{1,3}(,?\d{3})*\s*(kt|mph|km/h|kmph)' // followed by 'kt', 'mph', 'km/h' or 'kmph'
+ - air:cruiseSpeed (string) // any integer (with optional ',' every 1000s place)
+ < '\d{1,3}(,?\d{3})*\s*(kt|mph|km/h|kmph)' // followed by 'kt', 'mph', 'km/h' or 'kmph'
+ - air:emptyWeight (string) // any integer (with optional ',' every 1000s place)
+ < '\d{1,3}(,?\d{3})*\s*(lb|kg)' // followed by 'lb' or 'kg'
+ - air:maxWeight (string) // any integer (with optional ',' every 1000s place)
+ < '\d{1,3}(,?\d{3})*\s*(lb|kg)' // followed by 'lb' or 'kg'
+ - air:rateOfClimb (string) // any integer (with optional ',' every 1000s place)
+ < '\d{1,3}(,?\d{3})*\s*(ft|km|m)/(s|min)' // followed by 'ft/s', 'ft/min', 'km/s', 'km/min', 'm/s', or 'm/min'
+ - air:serviceCeiling (string) // any integer (with optional ',' every 1000s place)
+ < '\d{1,3}(,?\d{3})*\s*(nm|m|km|mi|ft)' // followed by 'nm', 'm', 'km', 'mi', or 'ft'
+ - air:fuelCapacity (string) // any integer (with optional ',' every 1000s place)
+ < '\d{1,3}(,?\d{3})*\s*(lb|kg|gal|L)' // followed by 'lb', 'kg', 'gal', or 'L'
+ - air:crew (long) < '[0,)' // any non-negative value
+ - air:numberBuilt (string) // any integer (with optional ',' every 1000s place)
+ < '\d{1,3}(,?\d{3})*\s*[+]?' , // optionally followed by '+'
+ '([<>]\s*)?\d{1,3}(,?\d{3})*' // or prefixed by '<' or '>'
+ - air:url (string)
Added: trunk/dna-cnd/src/test/resources/cnd/cars.cnd
===================================================================
--- trunk/dna-cnd/src/test/resources/cnd/cars.cnd (rev 0)
+++ trunk/dna-cnd/src/test/resources/cnd/cars.cnd 2009-06-03 19:55:23 UTC (rev 965)
@@ -0,0 +1,50 @@
+/*
+ * JBoss DNA (http://www.jboss.org/dna)
+ * See the COPYRIGHT.txt file distributed with this work for information
+ * regarding copyright ownership. Some portions may be licensed
+ * to Red Hat, Inc. under one or more contributor license agreements.
+ * See the AUTHORS.txt file in the distribution for a full listing of
+ * individual contributors.
+ *
+ * JBoss DNA is free software. Unless otherwise indicated, all code in JBoss DNA
+ * is licensed to you under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * JBoss DNA is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+//------------------------------------------------------------------------------
+// N A M E S P A C E S
+//------------------------------------------------------------------------------
+<jcr='http://www.jcp.org/jcr/1.0'>
+<nt='http://www.jcp.org/jcr/nt/1.0'>
+<mix='http://www.jcp.org/jcr/mix/1.0'>
+<car='http://jboss.org/dna/examples/cars/1.0'>
+
+//------------------------------------------------------------------------------
+// N O D E T Y P E S
+//------------------------------------------------------------------------------
+
+[car:Car] > nt:unstructured
+ - car:maker (string)
+ - car:model (string)
+ - car:year (string) < '(19|20)\d{2}' // any 4 digit number starting with '19' or '20'
+ - car:msrp (string) < '[$]\d{1,3}[,]?\d{3}([.]\d{2})?' // of the form "$X,XXX.ZZ", "$XX,XXX.ZZ" or "$XXX,XXX.ZZ"
+ // where '.ZZ' is optional
+ - car:userRating (long) < '[1,5]' // any value from 1 to 5 (inclusive)
+ - car:valueRating (long) < '[1,5]' // any value from 1 to 5 (inclusive)
+ - car:mpgCity (long) < '(0,]' // any value greater than 0
+ - car:mpgHighway (long) < '(0,]' // any value greater than 0
+ - car:lengthInInches (double) < '(0,]' // any value greater than 0
+ - car:wheelbaseInInches (double) < '(0,]' // any value greater than 0
+ - car:engine (string)
+
16 years, 7 months
DNA SVN: r964 - trunk.
by dna-commits@lists.jboss.org
Author: bcarothers
Date: 2009-06-03 13:29:22 -0400 (Wed, 03 Jun 2009)
New Revision: 964
Modified:
trunk/pom.xml
Log:
Removing REST subprojects until they pass integration tests on non-Windows platforms
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2009-06-03 14:19:41 UTC (rev 963)
+++ trunk/pom.xml 2009-06-03 17:29:22 UTC (rev 964)
@@ -143,8 +143,8 @@
<module>extensions/dna-mimetype-detector-aperture</module>
<module>extensions/dna-common-jdbc</module>
<module>extensions/dna-connector-jdbc-metadata</module>
- <module>extensions/dna-web-jcr-rest</module>
- <module>extensions/dna-web-jcr-rest-war</module>
+ <!-- module>extensions/dna-web-jcr-rest</module -->
+ <!-- module>extensions/dna-web-jcr-rest-war</module -->
<module>dna-integration-tests</module>
<!--module>docs/examples/gettingstarted</module-->
</modules>
16 years, 7 months
DNA SVN: r963 - trunk/extensions/dna-web-jcr-rest.
by dna-commits@lists.jboss.org
Author: bcarothers
Date: 2009-06-03 10:19:41 -0400 (Wed, 03 Jun 2009)
New Revision: 963
Modified:
trunk/extensions/dna-web-jcr-rest/pom.xml
Log:
Overrode RESTEasy JAXB Provider default dependency to use jaxb-impl 2.1.9 since 2.1.8 is no longer in the JBoss Maven repository.
Modified: trunk/extensions/dna-web-jcr-rest/pom.xml
===================================================================
--- trunk/extensions/dna-web-jcr-rest/pom.xml 2009-06-03 13:38:10 UTC (rev 962)
+++ trunk/extensions/dna-web-jcr-rest/pom.xml 2009-06-03 14:19:41 UTC (rev 963)
@@ -22,12 +22,23 @@
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxb-provider</artifactId>
<version>1.1-RC2</version>
- <!--
- <scope>runtime, integration-test</scope>
- -->
+ <exclusions>
+ <exclusion>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
+ <!-- This is only included as a temp. workaround. Current release of RESTEasy depends on 2.1.8, which is not in our repo at this time
+ This should be removed after RESTEasy 1.1GA is released and added to this pom.
+ -->
<dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <version>2.1.9</version>
+ </dependency>
+ <dependency>
<groupId>org.jboss.dna</groupId>
<artifactId>dna-jcr</artifactId>
</dependency>
@@ -65,5 +76,6 @@
<artifactId>jaxb-api</artifactId>
<version>2.1</version>
</dependency>
+
</dependencies>
</project>
16 years, 7 months
DNA SVN: r962 - trunk/extensions/dna-web-jcr-rest-war/src/main/webapp/WEB-INF.
by dna-commits@lists.jboss.org
Author: bcarothers
Date: 2009-06-03 09:38:10 -0400 (Wed, 03 Jun 2009)
New Revision: 962
Modified:
trunk/extensions/dna-web-jcr-rest-war/src/main/webapp/WEB-INF/web.xml
Log:
Changed context parameter to avoid deprecation warning
Modified: trunk/extensions/dna-web-jcr-rest-war/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/extensions/dna-web-jcr-rest-war/src/main/webapp/WEB-INF/web.xml 2009-06-03 10:01:29 UTC (rev 961)
+++ trunk/extensions/dna-web-jcr-rest-war/src/main/webapp/WEB-INF/web.xml 2009-06-03 13:38:10 UTC (rev 962)
@@ -36,7 +36,7 @@
</context-param>
<context-param>
- <param-name>javax.ws.rs.core.Application</param-name>
+ <param-name>javax.ws.rs.Application</param-name>
<param-value>org.jboss.dna.web.jcr.rest.JcrApplication</param-value>
</context-param>
16 years, 7 months
DNA SVN: r961 - trunk/extensions/dna-web-jcr-rest-war/src/test/resources.
by dna-commits@lists.jboss.org
Author: bcarothers
Date: 2009-06-03 06:01:29 -0400 (Wed, 03 Jun 2009)
New Revision: 961
Modified:
trunk/extensions/dna-web-jcr-rest-war/src/test/resources/log4j.properties
Log:
Added more verbosity
Modified: trunk/extensions/dna-web-jcr-rest-war/src/test/resources/log4j.properties
===================================================================
--- trunk/extensions/dna-web-jcr-rest-war/src/test/resources/log4j.properties 2009-06-03 09:58:15 UTC (rev 960)
+++ trunk/extensions/dna-web-jcr-rest-war/src/test/resources/log4j.properties 2009-06-03 10:01:29 UTC (rev 961)
@@ -10,4 +10,4 @@
log4j.appender.stdout.Threshold = DEBUG
log4j.appender.stdout.Target = System.out
log4j.appender.stdout.layout = org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern = [%-5p] [%C] : %m%n
+log4j.appender.stdout.layout.ConversionPattern = [%-5p] [%C] : %m%n [%F:%L]
16 years, 7 months
DNA SVN: r960 - trunk/extensions/dna-web-jcr-rest-war/src/test/resources.
by dna-commits@lists.jboss.org
Author: bcarothers
Date: 2009-06-03 05:58:15 -0400 (Wed, 03 Jun 2009)
New Revision: 960
Modified:
trunk/extensions/dna-web-jcr-rest-war/src/test/resources/log4j.properties
Log:
Added verbosity to log4j.properties to help determine why nightly build failed
Modified: trunk/extensions/dna-web-jcr-rest-war/src/test/resources/log4j.properties
===================================================================
--- trunk/extensions/dna-web-jcr-rest-war/src/test/resources/log4j.properties 2009-06-03 01:41:22 UTC (rev 959)
+++ trunk/extensions/dna-web-jcr-rest-war/src/test/resources/log4j.properties 2009-06-03 09:58:15 UTC (rev 960)
@@ -10,4 +10,4 @@
log4j.appender.stdout.Threshold = DEBUG
log4j.appender.stdout.Target = System.out
log4j.appender.stdout.layout = org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern = [%-5p] [%C{1}] : %m%n
+log4j.appender.stdout.layout.ConversionPattern = [%-5p] [%C] : %m%n
16 years, 7 months
DNA SVN: r959 - trunk/extensions/dna-web-jcr-rest.
by dna-commits@lists.jboss.org
Author: bcarothers
Date: 2009-06-02 21:41:22 -0400 (Tue, 02 Jun 2009)
New Revision: 959
Modified:
trunk/extensions/dna-web-jcr-rest/pom.xml
Log:
Renamed POM to avoid duplication of name with -war subproject
Modified: trunk/extensions/dna-web-jcr-rest/pom.xml
===================================================================
--- trunk/extensions/dna-web-jcr-rest/pom.xml 2009-06-03 00:30:50 UTC (rev 958)
+++ trunk/extensions/dna-web-jcr-rest/pom.xml 2009-06-03 01:41:22 UTC (rev 959)
@@ -9,8 +9,8 @@
</parent>
<artifactId>dna-web-jcr-rest</artifactId>
<packaging>jar</packaging>
- <name>JBoss DNA JCR REST Servlet</name>
- <description>JBoss DNA servlet that provides RESTful access to JCR items</description>
+ <name>JBoss DNA JCR REST Library</name>
+ <description>JBoss DNA REST support library</description>
<url>http://labs.jboss.org/dna</url>
<dependencies>
<dependency>
16 years, 7 months
DNA SVN: r958 - trunk.
by dna-commits@lists.jboss.org
Author: bcarothers
Date: 2009-06-02 20:30:50 -0400 (Tue, 02 Jun 2009)
New Revision: 958
Modified:
trunk/pom.xml
Log:
Added REST subprojects to build
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2009-06-02 20:15:57 UTC (rev 957)
+++ trunk/pom.xml 2009-06-03 00:30:50 UTC (rev 958)
@@ -143,6 +143,8 @@
<module>extensions/dna-mimetype-detector-aperture</module>
<module>extensions/dna-common-jdbc</module>
<module>extensions/dna-connector-jdbc-metadata</module>
+ <module>extensions/dna-web-jcr-rest</module>
+ <module>extensions/dna-web-jcr-rest-war</module>
<module>dna-integration-tests</module>
<!--module>docs/examples/gettingstarted</module-->
</modules>
16 years, 7 months
DNA SVN: r957 - trunk/dna-jcr/src/test/java/org/jboss/dna/jcr.
by dna-commits@lists.jboss.org
Author: bcarothers
Date: 2009-06-02 16:15:57 -0400 (Tue, 02 Jun 2009)
New Revision: 957
Modified:
trunk/dna-jcr/src/test/java/org/jboss/dna/jcr/AbstractJcrNodeTest.java
Log:
DNA-370 JcrWorkspace.clone Is Not Implemented
Removed two test cases from AbstractJcrNodeTest that can no longer be readily executed without setting up a session (and are duplicative of testing functionality in JcrTckTest).
Modified: trunk/dna-jcr/src/test/java/org/jboss/dna/jcr/AbstractJcrNodeTest.java
===================================================================
--- trunk/dna-jcr/src/test/java/org/jboss/dna/jcr/AbstractJcrNodeTest.java 2009-06-02 19:52:50 UTC (rev 956)
+++ trunk/dna-jcr/src/test/java/org/jboss/dna/jcr/AbstractJcrNodeTest.java 2009-06-02 20:15:57 UTC (rev 957)
@@ -32,6 +32,7 @@
import javax.jcr.Item;
import javax.jcr.ItemNotFoundException;
import javax.jcr.ItemVisitor;
+import javax.jcr.NoSuchWorkspaceException;
import javax.jcr.Node;
import javax.jcr.NodeIterator;
import javax.jcr.PathNotFoundException;
@@ -255,11 +256,6 @@
node.getBaseVersion();
}
- @Test( expected = UnsupportedOperationException.class )
- public void shouldNotAllowGetCorrespondingNodePath() throws Exception {
- node.getCorrespondingNodePath(null);
- }
-
@Test( expected = UnsupportedRepositoryOperationException.class )
public void shoudNotAllowGetLock() throws Exception {
node.getLock();
@@ -718,8 +714,4 @@
node.unlock();
}
- @Test( expected = UnsupportedOperationException.class )
- public void shouldNotAllowUpdate() throws Exception {
- node.update(null);
- }
}
16 years, 7 months