[exo-jcr-commits] exo-jcr SVN: r638 - jcr/branches/1.12.0-JBC/component/core/src/test/java/org/exoplatform/services/jcr/impl/storage/jbosscache.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Nov 13 08:27:09 EST 2009


Author: areshetnyak
Date: 2009-11-13 08:27:09 -0500 (Fri, 13 Nov 2009)
New Revision: 638

Modified:
   jcr/branches/1.12.0-JBC/component/core/src/test/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCCacheLoaderTest.java
Log:
EXOJCR-201 : The JDBCCacheLoaderTest was changed.

Modified: jcr/branches/1.12.0-JBC/component/core/src/test/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCCacheLoaderTest.java
===================================================================
--- jcr/branches/1.12.0-JBC/component/core/src/test/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCCacheLoaderTest.java	2009-11-13 13:18:46 UTC (rev 637)
+++ jcr/branches/1.12.0-JBC/component/core/src/test/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCCacheLoaderTest.java	2009-11-13 13:27:09 UTC (rev 638)
@@ -636,7 +636,7 @@
       conn.commit();
       
       // tests it
-      Map<Object, Object> attrebutes = loader.get(Fqn.fromString("/"+JBossCacheStorage.NODES + "/" + nodeId + "/" + "[]node:1"));
+      Map<Object, Object> attrebutes = loader.get(Fqn.fromElements(JBossCacheStorage.NODES, Constants.ROOT_UUID, "[]node:1"));
       
       assertNotNull(attrebutes);
       
@@ -659,7 +659,7 @@
 
       // tests it
       Map<Object, Object> attrebutes =
-         loader.get(Fqn.fromString("/" + JBossCacheStorage.PROPS + "/" + propData.getIdentifier()));
+         loader.get(Fqn.fromElements(JBossCacheStorage.PROPS, propData.getIdentifier()));
 
       assertNotNull(attrebutes);
 



More information about the exo-jcr-commits mailing list