incubator-graffito-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apope...@apache.org
Subject svn commit: r374845 - /incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/repository/RepositoryUtilTest.java
Date Sat, 04 Feb 2006 09:39:14 GMT
Author: apopescu
Date: Sat Feb  4 01:39:11 2006
New Revision: 374845

URL: http://svn.apache.org/viewcvs?rev=374845&view=rev
Log:
- renamed methods for better reporting
- added failure in case of no user transaction

Modified:
    incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/repository/RepositoryUtilTest.java

Modified: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/repository/RepositoryUtilTest.java
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/repository/RepositoryUtilTest.java?rev=374845&r1=374844&r2=374845&view=diff
==============================================================================
--- incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/repository/RepositoryUtilTest.java
(original)
+++ incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/repository/RepositoryUtilTest.java
Sat Feb  4 01:39:11 2006
@@ -79,7 +79,7 @@
      * Test for getRepository() and login
      *
      */
-    public void testgetRegistryAndLogin()
+    public void testRegistryAndLogin()
     {
         try
         {
@@ -102,7 +102,7 @@
      * Simple unit test to check if custome node types are well defined
      *
      */
-    public void testgetCustomNodeType()
+    public void testCustomNodeType()
     {
         try
         {
@@ -128,7 +128,7 @@
      * Test for getParentPath() 
      *
      */
-    public void testgetParentPath()
+    public void testGetParentPath()
     {
         try
         {
@@ -152,7 +152,7 @@
      * Test for getNodeName() 
      *
      */
-    public void testgetNodeName()
+    public void testGetNodeName()
     {
         try
         {
@@ -225,7 +225,8 @@
 		}
 		catch (Exception e)
 		{
-
+            e.printStackTrace();
+            fail("Unable to run user transaction : " + e);
 		}
     }
     



Mime
View raw message