[exo-jcr-commits] exo-jcr SVN: r5325 - jcr/trunk/exo.jcr.component.ext/src/test/java/org/exoplatform/services/jcr/ext/registry.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue Dec 13 11:26:59 EST 2011
Author: tolusha
Date: 2011-12-13 11:26:58 -0500 (Tue, 13 Dec 2011)
New Revision: 5325
Modified:
jcr/trunk/exo.jcr.component.ext/src/test/java/org/exoplatform/services/jcr/ext/registry/RegistryTest.java
Log:
EXOJCR-1673: Fixed test
Modified: jcr/trunk/exo.jcr.component.ext/src/test/java/org/exoplatform/services/jcr/ext/registry/RegistryTest.java
===================================================================
--- jcr/trunk/exo.jcr.component.ext/src/test/java/org/exoplatform/services/jcr/ext/registry/RegistryTest.java 2011-12-13 16:18:25 UTC (rev 5324)
+++ jcr/trunk/exo.jcr.component.ext/src/test/java/org/exoplatform/services/jcr/ext/registry/RegistryTest.java 2011-12-13 16:26:58 UTC (rev 5325)
@@ -77,21 +77,17 @@
assertTrue(regNodes.hasNode(RegistryService.EXO_APPLICATIONS));
assertTrue(regNodes.hasNode(RegistryService.EXO_USERS));
- assertTrue(regNodes.getNode(RegistryService.EXO_REGISTRY).isNodeType("exo:testFirstHideable")
- && regNodes.getNode(RegistryService.EXO_REGISTRY).isNodeType("exo:testSecondHideable"));
+ assertTrue(regNodes.isNodeType("exo:testFirstHideable"));
+ assertTrue(regNodes.isNodeType("exo:testSecondHideable"));
+ assertTrue(regNodes.getNode(RegistryService.EXO_USERS).isNodeType("exo:testFirstHideable"));
+ assertTrue(regNodes.getNode(RegistryService.EXO_USERS).isNodeType("exo:testSecondHideable"));
+ assertTrue(regNodes.getNode(RegistryService.EXO_GROUPS).isNodeType("exo:testFirstHideable"));
+ assertTrue(regNodes.getNode(RegistryService.EXO_GROUPS).isNodeType("exo:testSecondHideable"));
+ assertTrue(regNodes.getNode(RegistryService.EXO_SERVICES).isNodeType("exo:testFirstHideable"));
+ assertTrue(regNodes.getNode(RegistryService.EXO_SERVICES).isNodeType("exo:testSecondHideable"));
+ assertTrue(regNodes.getNode(RegistryService.EXO_APPLICATIONS).isNodeType("exo:testFirstHideable"));
+ assertTrue(regNodes.getNode(RegistryService.EXO_APPLICATIONS).isNodeType("exo:testSecondHideable"));
- assertTrue(regNodes.getNode(RegistryService.EXO_USERS).isNodeType("exo:testFirstHideable")
- && regNodes.getNode(RegistryService.EXO_USERS).isNodeType("exo:testSecondHideable"));
-
- assertTrue(regNodes.getNode(RegistryService.EXO_GROUPS).isNodeType("exo:testFirstHideable")
- && regNodes.getNode(RegistryService.EXO_GROUPS).isNodeType("exo:testSecondHideable"));
-
- assertTrue(regNodes.getNode(RegistryService.EXO_SERVICES).isNodeType("exo:testFirstHideable")
- && regNodes.getNode(RegistryService.EXO_SERVICES).isNodeType("exo:testSecondHideable"));
-
- assertTrue(regNodes.getNode(RegistryService.EXO_APPLICATIONS).isNodeType("exo:testFirstHideable")
- && regNodes.getNode(RegistryService.EXO_APPLICATIONS).isNodeType("exo:testSecondHideable"));
-
session.getWorkspace().getNodeTypeManager().getNodeType("exo:registry");
session.getWorkspace().getNodeTypeManager().getNodeType("exo:registryEntry");
session.getWorkspace().getNodeTypeManager().getNodeType("exo:registryGroup");
More information about the exo-jcr-commits
mailing list