[jboss-cvs] JBossAS SVN: r93548 - in projects/jboss-jca/trunk/deployers/src/test/java/org/jboss/jca/test/deployers/spec: rars and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Sep 15 12:41:59 EDT 2009


Author: jesper.pedersen
Date: 2009-09-15 12:41:58 -0400 (Tue, 15 Sep 2009)
New Revision: 93548

Added:
   projects/jboss-jca/trunk/deployers/src/test/java/org/jboss/jca/test/deployers/spec/package.html
Modified:
   projects/jboss-jca/trunk/deployers/src/test/java/org/jboss/jca/test/deployers/spec/RarTestCase.java
   projects/jboss-jca/trunk/deployers/src/test/java/org/jboss/jca/test/deployers/spec/rars/package.html
Log:
[JBJCA-173] Add test cases for .rar deployments

Modified: projects/jboss-jca/trunk/deployers/src/test/java/org/jboss/jca/test/deployers/spec/RarTestCase.java
===================================================================
--- projects/jboss-jca/trunk/deployers/src/test/java/org/jboss/jca/test/deployers/spec/RarTestCase.java	2009-09-15 16:33:58 UTC (rev 93547)
+++ projects/jboss-jca/trunk/deployers/src/test/java/org/jboss/jca/test/deployers/spec/RarTestCase.java	2009-09-15 16:41:58 UTC (rev 93548)
@@ -65,20 +65,20 @@
    @Test
    public void testRa15dtdinout() throws Throwable
    {
-     URL archive = getURL("ra15dtdinout.rar");
+      URL archive = getURL("ra15dtdinout.rar");
  
-     try
-     {
-        embedded.deploy(archive);
-     }
-     catch (Throwable t)
-     {
-        fail(t.getMessage());
-     }
-     finally
-     {
-        embedded.undeploy(archive);
-     }
+      try
+      {
+         embedded.deploy(archive);
+      }
+      catch (Throwable t)
+      {
+         fail(t.getMessage());
+      }
+      finally
+      {
+         embedded.undeploy(archive);
+      }
    }
 
    /**
@@ -88,20 +88,20 @@
    @Test
    public void testRa15inoutjbossra() throws Throwable
    {
-     URL archive = getURL("ra15inoutjbossra.rar");
+      URL archive = getURL("ra15inoutjbossra.rar");
  
-     try
-     {
-        embedded.deploy(archive);
-     }
-     catch (Throwable t)
-     {
-        fail(t.getMessage());
-     }
-     finally
-     {
-        embedded.undeploy(archive);
-     }
+      try
+      {
+         embedded.deploy(archive);
+      }
+      catch (Throwable t)
+      {
+         fail(t.getMessage());
+      }
+      finally
+      {
+         embedded.undeploy(archive);
+      }
    }
 
    /**
@@ -111,20 +111,20 @@
    @Test
    public void testRa15inout() throws Throwable
    {
-     URL archive = getURL("ra15inout.rar");
+      URL archive = getURL("ra15inout.rar");
  
-     try
-     {
-        embedded.deploy(archive);
-     }
-     catch (Throwable t)
-     {
-        fail(t.getMessage());
-     }
-     finally
-     {
-        embedded.undeploy(archive);
-     }
+      try
+      {
+         embedded.deploy(archive);
+      }
+      catch (Throwable t)
+      {
+         fail(t.getMessage());
+      }
+      finally
+      {
+         embedded.undeploy(archive);
+      }
    }
 
    /**
@@ -134,20 +134,20 @@
    @Test
    public void testRa15outjbossradefaultns() throws Throwable
    {
-     URL archive = getURL("ra15outjbossradefaultns.rar");
- 
-     try
-     {
-        embedded.deploy(archive);
-     }
-     catch (Throwable t)
-     {
-        fail(t.getMessage());
-     }
-     finally
-     {
-        embedded.undeploy(archive);
-     }
+      URL archive = getURL("ra15outjbossradefaultns.rar");
+      
+      try
+      {
+         embedded.deploy(archive);
+      }
+      catch (Throwable t)
+      {
+         fail(t.getMessage());
+      }
+      finally
+      {
+         embedded.undeploy(archive);
+      }
    }
 
    /**
@@ -157,20 +157,20 @@
    @Test
    public void testRa15outjbossra() throws Throwable
    {
-     URL archive = getURL("ra15outjbossra.rar");
+      URL archive = getURL("ra15outjbossra.rar");
  
-     try
-     {
-        embedded.deploy(archive);
-     }
-     catch (Throwable t)
-     {
-        fail(t.getMessage());
-     }
-     finally
-     {
-        embedded.undeploy(archive);
-     }
+      try
+      {
+         embedded.deploy(archive);
+      }
+      catch (Throwable t)
+      {
+         fail(t.getMessage());
+      }
+      finally
+      {
+         embedded.undeploy(archive);
+      }
    }
 
    /**
@@ -180,20 +180,20 @@
    @Test
    public void testRa15out() throws Throwable
    {
-     URL archive = getURL("ra15out.rar");
+      URL archive = getURL("ra15out.rar");
  
-     try
-     {
-        embedded.deploy(archive);
-     }
-     catch (Throwable t)
-     {
-        fail(t.getMessage());
-     }
-     finally
-     {
-        embedded.undeploy(archive);
-     }
+      try
+      {
+         embedded.deploy(archive);
+      }
+      catch (Throwable t)
+      {
+         fail(t.getMessage());
+      }
+      finally
+      {
+         embedded.undeploy(archive);
+      }
    }
 
    /**
@@ -203,20 +203,20 @@
    @Test
    public void testRa16dtdinout() throws Throwable
    {
-     URL archive = getURL("ra16dtdinout.rar");
+      URL archive = getURL("ra16dtdinout.rar");
  
-     try
-     {
-        embedded.deploy(archive);
-     }
-     catch (Throwable t)
-     {
-        fail(t.getMessage());
-     }
-     finally
-     {
-        embedded.undeploy(archive);
-     }
+      try
+      {
+         embedded.deploy(archive);
+      }
+      catch (Throwable t)
+      {
+         fail(t.getMessage());
+      }
+      finally
+      {
+         embedded.undeploy(archive);
+      }
    }
 
    /**
@@ -226,20 +226,20 @@
    @Test
    public void testRa16inoutanno() throws Throwable
    {
-     URL archive = getURL("ra16inoutanno.rar");
- 
-     try
-     {
-        embedded.deploy(archive);
-     }
-     catch (Throwable t)
-     {
-        fail(t.getMessage());
-     }
-     finally
-     {
-        embedded.undeploy(archive);
-     }
+      URL archive = getURL("ra16inoutanno.rar");
+      
+      try
+      {
+         embedded.deploy(archive);
+      }
+      catch (Throwable t)
+      {
+         fail(t.getMessage());
+      }
+      finally
+      {
+         embedded.undeploy(archive);
+      }
    }
 
    /**
@@ -249,20 +249,20 @@
    @Test
    public void testRa16inoutjar() throws Throwable
    {
-     URL archive = getURL("ra16inoutjar.rar");
+      URL archive = getURL("ra16inoutjar.rar");
  
-     try
-     {
-        embedded.deploy(archive);
-     }
-     catch (Throwable t)
-     {
-        fail(t.getMessage());
-     }
-     finally
-     {
-        embedded.undeploy(archive);
-     }
+      try
+      {
+         embedded.deploy(archive);
+      }
+      catch (Throwable t)
+      {
+         fail(t.getMessage());
+      }
+      finally
+      {
+         embedded.undeploy(archive);
+      }
    }
 
    /**
@@ -272,20 +272,20 @@
    @Test
    public void testRa16inoutjbossra() throws Throwable
    {
-     URL archive = getURL("ra16inoutjbossra.rar");
+      URL archive = getURL("ra16inoutjbossra.rar");
  
-     try
-     {
-        embedded.deploy(archive);
-     }
-     catch (Throwable t)
-     {
-        fail(t.getMessage());
-     }
-     finally
-     {
-        embedded.undeploy(archive);
-     }
+      try
+      {
+         embedded.deploy(archive);
+      }
+      catch (Throwable t)
+      {
+         fail(t.getMessage());
+      }
+      finally
+      {
+         embedded.undeploy(archive);
+      }
    }
 
    /**
@@ -295,20 +295,20 @@
    @Test
    public void testRa16inoutnora() throws Throwable
    {
-     URL archive = getURL("ra16inoutnora.rar");
- 
-     try
-     {
-        embedded.deploy(archive);
-     }
-     catch (Throwable t)
-     {
-        fail(t.getMessage());
-     }
-     finally
-     {
-        embedded.undeploy(archive);
-     }
+      URL archive = getURL("ra16inoutnora.rar");
+      
+      try
+      {
+         embedded.deploy(archive);
+      }
+      catch (Throwable t)
+      {
+         fail(t.getMessage());
+      }
+      finally
+      {
+         embedded.undeploy(archive);
+      }
    }
 
    /**
@@ -318,20 +318,20 @@
    @Test
    public void testRa16inoutoverwrite() throws Throwable
    {
-     URL archive = getURL("ra16inoutoverwrite.rar");
- 
-     try
-     {
-        embedded.deploy(archive);
-     }
-     catch (Throwable t)
-     {
-        fail(t.getMessage());
-     }
-     finally
-     {
-        embedded.undeploy(archive);
-     }
+      URL archive = getURL("ra16inoutoverwrite.rar");
+      
+      try
+      {
+         embedded.deploy(archive);
+      }
+      catch (Throwable t)
+      {
+         fail(t.getMessage());
+      }
+      finally
+      {
+         embedded.undeploy(archive);
+      }
    }
 
    /**
@@ -341,20 +341,20 @@
    @Test
    public void testRa16inout() throws Throwable
    {
-     URL archive = getURL("ra16inout.rar");
+      URL archive = getURL("ra16inout.rar");
  
-     try
-     {
-        embedded.deploy(archive);
-     }
-     catch (Throwable t)
-     {
-        fail(t.getMessage());
-     }
-     finally
-     {
-        embedded.undeploy(archive);
-     }
+      try
+      {
+         embedded.deploy(archive);
+      }
+      catch (Throwable t)
+      {
+         fail(t.getMessage());
+      }
+      finally
+      {
+         embedded.undeploy(archive);
+      }
    }
 
    /**
@@ -364,20 +364,20 @@
    @Test
    public void testRa16outjbossradefaultns() throws Throwable
    {
-     URL archive = getURL("ra16outjbossradefaultns.rar");
+      URL archive = getURL("ra16outjbossradefaultns.rar");
  
-     try
-     {
-        embedded.deploy(archive);
-     }
-     catch (Throwable t)
-     {
-        fail(t.getMessage());
-     }
-     finally
-     {
-        embedded.undeploy(archive);
-     }
+      try
+      {
+         embedded.deploy(archive);
+      }
+      catch (Throwable t)
+      {
+         fail(t.getMessage());
+      }
+      finally
+      {
+         embedded.undeploy(archive);
+      }
    }
 
    /**
@@ -387,20 +387,20 @@
    @Test
    public void testRa16outjbossra() throws Throwable
    {
-     URL archive = getURL("ra16outjbossra.rar");
+      URL archive = getURL("ra16outjbossra.rar");
  
-     try
-     {
-        embedded.deploy(archive);
-     }
-     catch (Throwable t)
-     {
-        fail(t.getMessage());
-     }
-     finally
-     {
-        embedded.undeploy(archive);
-     }
+      try
+      {
+         embedded.deploy(archive);
+      }
+      catch (Throwable t)
+      {
+         fail(t.getMessage());
+      }
+      finally
+      {
+         embedded.undeploy(archive);
+      }
    }
 
    /**

Added: projects/jboss-jca/trunk/deployers/src/test/java/org/jboss/jca/test/deployers/spec/package.html
===================================================================
--- projects/jboss-jca/trunk/deployers/src/test/java/org/jboss/jca/test/deployers/spec/package.html	                        (rev 0)
+++ projects/jboss-jca/trunk/deployers/src/test/java/org/jboss/jca/test/deployers/spec/package.html	2009-09-15 16:41:58 UTC (rev 93548)
@@ -0,0 +1,3 @@
+<body>
+Test cases for the deployers.
+</body>

Modified: projects/jboss-jca/trunk/deployers/src/test/java/org/jboss/jca/test/deployers/spec/rars/package.html
===================================================================
--- projects/jboss-jca/trunk/deployers/src/test/java/org/jboss/jca/test/deployers/spec/rars/package.html	2009-09-15 16:33:58 UTC (rev 93547)
+++ projects/jboss-jca/trunk/deployers/src/test/java/org/jboss/jca/test/deployers/spec/rars/package.html	2009-09-15 16:41:58 UTC (rev 93548)
@@ -1,3 +1,3 @@
 <body>
-Test cases about deployers.
+Sample resource adapters for deployment tests.
 </body>




More information about the jboss-cvs-commits mailing list