jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1135989 - /jackrabbit/sandbox/spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/RepositoryTest.java
Date Wed, 15 Jun 2011 10:30:37 GMT
Author: mduerig
Date: Wed Jun 15 10:30:37 2011
New Revision: 1135989

URL: http://svn.apache.org/viewvc?rev=1135989&view=rev
Log:
spi2microkernel prototype (WIP)
value types: string, double, boolean, long (tests)

Modified:
    jackrabbit/sandbox/spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/RepositoryTest.java

Modified: jackrabbit/sandbox/spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/RepositoryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/RepositoryTest.java?rev=1135989&r1=1135988&r2=1135989&view=diff
==============================================================================
--- jackrabbit/sandbox/spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/RepositoryTest.java
(original)
+++ jackrabbit/sandbox/spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/RepositoryTest.java
Wed Jun 15 10:30:37 2011
@@ -234,6 +234,7 @@ public class RepositoryTest {
     public void addStringProperty() throws RepositoryException {
         Node parentNode = getNode(testPath);
         addProperty(parentNode, "string", getSession().getValueFactory().createValue("string
value"));
+        addProperty(parentNode, "string2", getSession().getValueFactory().createValue("s:string
value"));
     }
 
     @Test
@@ -246,6 +247,7 @@ public class RepositoryTest {
     public void addDoubleProperty() throws RepositoryException {
         Node parentNode = getNode(testPath);
         addProperty(parentNode, "double", getSession().getValueFactory().createValue(42.2D));
+        addProperty(parentNode, "double2", getSession().getValueFactory().createValue(Double.NaN));
     }
 
     @Test



Mime
View raw message