[jboss-svn-commits] JBoss Portal SVN: r5520 - trunk/core/src/main/org/jboss/portal/test/core/model/instance

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Oct 30 18:46:59 EST 2006


Author: julien at jboss.com
Date: 2006-10-30 18:46:58 -0500 (Mon, 30 Oct 2006)
New Revision: 5520

Modified:
   trunk/core/src/main/org/jboss/portal/test/core/model/instance/InstanceContainerTestCase.java
Log:
fixed wrong naming of test methods that were not executed

Modified: trunk/core/src/main/org/jboss/portal/test/core/model/instance/InstanceContainerTestCase.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/test/core/model/instance/InstanceContainerTestCase.java	2006-10-30 23:44:07 UTC (rev 5519)
+++ trunk/core/src/main/org/jboss/portal/test/core/model/instance/InstanceContainerTestCase.java	2006-10-30 23:46:58 UTC (rev 5520)
@@ -103,12 +103,7 @@
 
    public static TestSuite suite() throws Exception
    {
-
       Map parameterMap = JUnitAdapter.getParameterMap();
-
-//      dataSourceConfigParameter = (DataSourceSupport.Config)parametrization.get("DataSourceConfig");
-//      persistLocallyParameter = Boolean.valueOf((String)parametrization.get("PersistLocally")).booleanValue();
-//      cloneOnCreateParameter = Boolean.valueOf((String)parametrization.get("CloneOnCreate")).booleanValue();
       URL configsURL = Thread.currentThread().getContextClassLoader().getResource("datasources.xml");
       parameterMap.put("DataSourceConfig", DataSourceSupport.Config.fromXML2(configsURL));
       POJOJUnitTest abc = new POJOJUnitTest(InstanceContainerTestCase.class);
@@ -319,7 +314,7 @@
       runtimeContext.stop();
    }
 
-   public void _testConfigureInstance() throws Exception
+   public void testConfigureInstance() throws Exception
    {
       portletContainer.addPortlet("MyPortlet", new PortletSupport()
       {
@@ -366,7 +361,7 @@
       TransactionAssert.commitTransaction();
    }
 
-   public void _testConfigureInstanceWithoutPortlet() throws Exception
+   public void testConfigureInstanceWithoutPortlet() throws Exception
    {
       try
       {
@@ -477,7 +472,7 @@
    }
 
    /** . */
-   public void _testInvokePOPReadOnly() throws Exception
+   public void testInvokePOPReadOnly() throws Exception
    {
       TestCloneBeforeWrite test = new TestCloneBeforeWrite(null, false, false, TransactionAssert.MUST_COMMIT)
       {
@@ -507,7 +502,7 @@
    }
 
    /** . */
-   public void _testInvokeCCPReadOnly() throws Exception
+   public void testInvokeCCPReadOnly() throws Exception
    {
       TestCloneBeforeWrite test = new TestCloneBeforeWrite(null, true, false, TransactionAssert.MUST_COMMIT)
       {
@@ -572,7 +567,7 @@
    }
 
    /** . */
-   public void _testInvokeCCPCloneBeforeWrite() throws Exception
+   public void testInvokeCCPCloneBeforeWrite() throws Exception
    {
       TestCloneBeforeWrite test = new TestCloneBeforeWrite("julien", true, false, TransactionAssert.MUST_COMMIT)
       {
@@ -609,7 +604,7 @@
    }
 
    /** . */
-   public void _testInvokePOPCloneBeforeWriteRollback() throws Exception
+   public void testInvokePOPCloneBeforeWriteRollback() throws Exception
    {
       TestCloneBeforeWrite test = new TestCloneBeforeWrite("julien", false, false, TransactionAssert.MUST_ROLLBACK)
       {
@@ -631,7 +626,7 @@
    }
 
    /** . */
-   public void _testInvokeCCPCloneBeforeWriteRollback() throws Exception
+   public void testInvokeCCPCloneBeforeWriteRollback() throws Exception
    {
       TestCloneBeforeWrite test = new TestCloneBeforeWrite("julien", true, false, TransactionAssert.MUST_ROLLBACK)
       {
@@ -653,7 +648,7 @@
    }
 
    /** . */
-   public void _testInvokePOPCloneBeforeWritePortletThrowsRuntimeException() throws Exception
+   public void testInvokePOPCloneBeforeWritePortletThrowsRuntimeException() throws Exception
    {
       TestCloneBeforeWrite test = new TestCloneBeforeWrite("julien", false, true, TransactionAssert.MARKED_AS_ROLLBACK)
       {
@@ -675,7 +670,7 @@
    }
 
    /** . */
-   public void _testInvokeCCPCloneBeforeWritePortletThrowsRuntimeException() throws Exception
+   public void testInvokeCCPCloneBeforeWritePortletThrowsRuntimeException() throws Exception
    {
       TestCloneBeforeWrite test = new TestCloneBeforeWrite("julien", true, true, TransactionAssert.MARKED_AS_ROLLBACK)
       {
@@ -696,7 +691,7 @@
       TransactionAssert.commitTransaction();
    }
 
-   public void _testDestroyCCPInstance() throws Exception
+   public void testDestroyCCPInstance() throws Exception
    {
       portletContainer.addPortlet("MyPortlet", new TestPortletSupport()
       {
@@ -765,7 +760,7 @@
    }
 //
 ////   /**Tests the authorization of portal objects */
-////   public void _testInstanceAuthorization() throws Exception
+////   public void testInstanceAuthorization() throws Exception
 ////   {
 ////      container.start();
 ////
@@ -788,7 +783,7 @@
 ////   }
 ////
 ////   /**Tests the authorization of portal objects */
-////   public void _testInstanceAuthorizationForAdmin() throws Exception
+////   public void testInstanceAuthorizationForAdmin() throws Exception
 ////   {
 ////      container.start();
 ////




More information about the jboss-svn-commits mailing list