[jboss-cvs] JBossAS SVN: r85803 - in projects/jboss-jca/trunk/core/src: main/java/org/jboss/jca/core/connectionmanager and 8 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Mar 13 00:16:52 EDT 2009


Author: jeff.zhang
Date: 2009-03-13 00:16:52 -0400 (Fri, 13 Mar 2009)
New Revision: 85803

Added:
   projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/api/package-info.java
   projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/connectionmanager/package-info.java
   projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/workmanager/package-info.java
   projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/common/package-info.java
   projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/package-info.java
   projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section1/package-info.java
   projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/package-info.java
   projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/package-info.java
   projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/workmanager/package-info.java
   projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/workmanager/unit/package-info.java
Modified:
   projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section1/ManageThreadTestCase.java
   projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/PeriodicExecutionTestCase.java
   projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/WorkInterfaceTestCase.java
   projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/WorkListenerInterfaceTestCase.java
   projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/WorkManagementModelTestCase.java
   projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/WorkManagerInterfaceTestCase.java
   projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/workmanager/unit/WorkManagerTestCase.java
Log:
[JBJCA-47] checkstyle error msg remove

Added: projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/api/package-info.java
===================================================================
--- projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/api/package-info.java	                        (rev 0)
+++ projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/api/package-info.java	2009-03-13 04:16:52 UTC (rev 85803)
@@ -0,0 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.jca.core.api;


Property changes on: projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/api/package-info.java
___________________________________________________________________
Name: svn:keywords
   + Id Reversion Date

Added: projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/connectionmanager/package-info.java
===================================================================
--- projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/connectionmanager/package-info.java	                        (rev 0)
+++ projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/connectionmanager/package-info.java	2009-03-13 04:16:52 UTC (rev 85803)
@@ -0,0 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.jca.core.connectionmanager;


Property changes on: projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/connectionmanager/package-info.java
___________________________________________________________________
Name: svn:keywords
   + Id Reversion Date

Added: projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/workmanager/package-info.java
===================================================================
--- projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/workmanager/package-info.java	                        (rev 0)
+++ projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/workmanager/package-info.java	2009-03-13 04:16:52 UTC (rev 85803)
@@ -0,0 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.jca.core.workmanager;


Property changes on: projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/workmanager/package-info.java
___________________________________________________________________
Name: svn:keywords
   + Id Reversion Date

Added: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/common/package-info.java
===================================================================
--- projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/common/package-info.java	                        (rev 0)
+++ projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/common/package-info.java	2009-03-13 04:16:52 UTC (rev 85803)
@@ -0,0 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.jca.test.core.common;


Property changes on: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/common/package-info.java
___________________________________________________________________
Name: svn:keywords
   + Id Reversion Date

Added: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/package-info.java
===================================================================
--- projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/package-info.java	                        (rev 0)
+++ projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/package-info.java	2009-03-13 04:16:52 UTC (rev 85803)
@@ -0,0 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.jca.test.core.spec.chapter10;


Property changes on: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/package-info.java
___________________________________________________________________
Name: svn:keywords
   + Id Reversion Date

Modified: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section1/ManageThreadTestCase.java
===================================================================
--- projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section1/ManageThreadTestCase.java	2009-03-13 03:27:23 UTC (rev 85802)
+++ projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section1/ManageThreadTestCase.java	2009-03-13 04:16:52 UTC (rev 85803)
@@ -21,14 +21,15 @@
  */
 package org.jboss.jca.test.core.spec.chapter10.section1;
 
-import org.jboss.ejb3.test.mc.bootstrap.EmbeddedTestMcBootstrap;
 import org.jboss.jca.common.api.ThreadPool;
 
+import org.jboss.ejb3.test.mc.bootstrap.EmbeddedTestMcBootstrap;
+
 import org.junit.AfterClass;
-import static org.junit.Assert.* ;
 import org.junit.BeforeClass;
 import org.junit.Ignore;
 import org.junit.Test;
+import static org.junit.Assert.*;
 
 /**
  * ManageThreadTestCase.
@@ -47,6 +48,7 @@
    
    /**
     * Test for paragraph 4 : bullet 1
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testWorkManagerHasThreadPool() throws Throwable
@@ -59,6 +61,7 @@
 
    /**
     * Test for paragraph 4 : bullet 1
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testRaSharingThreadPool() throws Throwable
@@ -69,22 +72,26 @@
    /**
     * Test for paragraph 4 : bullet 4
     * @see https://jira.jboss.org/jira/browse/JBJCA-40
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testCheckWorkByIntercept() throws Throwable
    {
       //TODO may need to enforce control over the runtime behavior of its system components
-      //an application server may choose to intercept operations on a thread object, perform checks, and enforce correct behavior.
+      //an application server may choose to intercept operations on a thread object, perform checks, 
+      //and enforce correct behavior.
    }
    
    /**
     * Test for paragraph 4 : bullet 5
     * @see https://jira.jboss.org/jira/browse/JBJCA-41
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testAsDisallowRaCreateThread() throws Throwable
    {
-      //TODO An application server may disallow resource adapters from creating their own threads based on its security policy setting, enforced by a security manager.
+      //TODO An application server may disallow resource adapters from creating their own threads based 
+      //on its security policy setting, enforced by a security manager.
    }
    
    // --------------------------------------------------------------------------------||
@@ -93,6 +100,7 @@
 
    /**
     * Lifecycle start, before the suite is executed
+    * @throws Throwable throwable exception 
     */
    @BeforeClass
    public static void beforeClass() throws Throwable
@@ -110,6 +118,7 @@
 
    /**
     * Lifecycle stop, after the suite is executed
+    * @throws Throwable throwable exception 
     */
    @AfterClass
    public static void afterClass() throws Throwable

Added: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section1/package-info.java
===================================================================
--- projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section1/package-info.java	                        (rev 0)
+++ projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section1/package-info.java	2009-03-13 04:16:52 UTC (rev 85803)
@@ -0,0 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.jca.test.core.spec.chapter10.section1;


Property changes on: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section1/package-info.java
___________________________________________________________________
Name: svn:keywords
   + Id Reversion Date

Modified: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/PeriodicExecutionTestCase.java
===================================================================
--- projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/PeriodicExecutionTestCase.java	2009-03-13 03:27:23 UTC (rev 85802)
+++ projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/PeriodicExecutionTestCase.java	2009-03-13 04:16:52 UTC (rev 85803)
@@ -22,10 +22,10 @@
 package org.jboss.jca.test.core.spec.chapter10.section3;
 
 import org.junit.AfterClass;
-import static org.junit.Assert.* ;
 import org.junit.BeforeClass;
 import org.junit.Ignore;
 import org.junit.Test;
+import static org.junit.Assert.*;
 
 /**
  * PeriodicExecutionTestCase.
@@ -42,6 +42,7 @@
    /**
     * Test for paragraph 1
     * A resource adapter may need to periodically execute Work instances.
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testPeriodicExecution() throws Throwable
@@ -53,6 +54,7 @@
     * Test for paragraph 3
     * The application server must throw an UnavailableException if a Timer instance is unavailable; the resource
     *        adapter may retry later.
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testThrowUnavailableException() throws Throwable
@@ -61,10 +63,12 @@
    
    /**
     * Test for paragraph 3
-    *  The application server must throw an java.lang.UnsupportedOperationException, if it does not support the Timer service.
+    *  The application server must throw an java.lang.UnsupportedOperationException, if it does not 
+    *  support the Timer service.
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testThrowUnsupportedOperationException() throws Throwable
    {
    }
-}
\ No newline at end of file
+}

Modified: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/WorkInterfaceTestCase.java
===================================================================
--- projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/WorkInterfaceTestCase.java	2009-03-13 03:27:23 UTC (rev 85802)
+++ projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/WorkInterfaceTestCase.java	2009-03-13 04:16:52 UTC (rev 85803)
@@ -21,23 +21,25 @@
  */
 package org.jboss.jca.test.core.spec.chapter10.section3;
 
+import org.jboss.jca.common.api.ThreadPool;
+import org.jboss.jca.common.threadpool.ThreadPoolImpl;
+
+import org.jboss.jca.test.core.spec.chapter10.SimpleWork;
+
 import java.lang.reflect.Modifier;
 
 import javax.resource.spi.work.Work;
 import javax.resource.spi.work.WorkCompletedException;
 import javax.resource.spi.work.WorkException;
 import javax.resource.spi.work.WorkManager;
+
 import org.jboss.ejb3.test.mc.bootstrap.EmbeddedTestMcBootstrap;
 
-import org.jboss.jca.common.api.ThreadPool;
-import org.jboss.jca.common.threadpool.ThreadPoolImpl;
-import org.jboss.jca.test.core.spec.chapter10.SimpleWork;
-
 import org.junit.AfterClass;
-import static org.junit.Assert.* ;
 import org.junit.BeforeClass;
 import org.junit.Ignore;
 import org.junit.Test;
+import static org.junit.Assert.*;
 
 /**
  * WorkInterfaceTestCase.
@@ -58,6 +60,7 @@
     * Test for paragraph 2
     * The WorkManager dispatches a thread that calls the run method to
     *             begin execution of a Work instance.
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testCallRunMethod() throws Throwable
@@ -76,6 +79,7 @@
     *             which includes execution context setup, and wrap it with a 
     *             WorkCompletedException set to an appropriate error code, 
     *             which indicates the nature of the error condition.
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testCatchAllExceptionAroundRun() throws Throwable
@@ -89,7 +93,8 @@
       {
          workManager.doWork(work);
          fail("should throw WorkAException");
-      } catch(WorkException e)
+      } 
+      catch (WorkException e)
       {
          assertNotNull(e);
          assertTrue(e instanceof WorkCompletedException);
@@ -101,6 +106,7 @@
     * Test for paragraph 3
     * The WorkManager may call the release method to request the active Work 
     *            instance to complete execution as soon as possible. 
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testReleaseMethod() throws Throwable
@@ -123,6 +129,7 @@
    /**
     * Test for paragraph 3
     * This would be called on a separate thread than the one currently executing the Work instance.
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testCalledBySeparateThread() throws Throwable
@@ -134,6 +141,7 @@
     * Since this method call causes the Work instance to be simultaneously acted upon
     *            by multiple threads, the Work instance implementation must be 
     *            thread-safe, and this method must be re-entrant.
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testWorkInstanceThreadSafeAndReentrant() throws Throwable
@@ -144,6 +152,7 @@
     * Test for paragraph 5
     * Both the run and release methods in the Work implementation may contain synchronization 
     *            synchronization but they must not be declared as synchronized methods.
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testCannotDeclaredSynchronized() throws Throwable
@@ -159,6 +168,7 @@
    // --------------------------------------------------------------------------------||
    /**
     * Lifecycle start, before the suite is executed
+    * @throws Throwable throwable exception 
     */
    @BeforeClass
    public static void beforeClass() throws Throwable
@@ -176,6 +186,7 @@
 
    /**
     * Lifecycle stop, after the suite is executed
+    * @throws Throwable throwable exception 
     */
    @AfterClass
    public static void afterClass() throws Throwable
@@ -194,3 +205,4 @@
       bootstrap = null;
    }
 }
+

Modified: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/WorkListenerInterfaceTestCase.java
===================================================================
--- projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/WorkListenerInterfaceTestCase.java	2009-03-13 03:27:23 UTC (rev 85802)
+++ projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/WorkListenerInterfaceTestCase.java	2009-03-13 04:16:52 UTC (rev 85803)
@@ -22,10 +22,10 @@
 package org.jboss.jca.test.core.spec.chapter10.section3;
 
 import org.junit.AfterClass;
-import static org.junit.Assert.* ;
 import org.junit.BeforeClass;
 import org.junit.Ignore;
 import org.junit.Test;
+import static org.junit.Assert.*;
 
 /**
  * WorkListenerInterfaceTestCase.
@@ -40,7 +40,7 @@
 
    /**
     * Test for paragraph 1 Section 3.3.1
-    * 
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testWorkSubmitStatus() throws Throwable
@@ -49,6 +49,7 @@
 
    /**
     * Test for paragraph 1 Section 3.3.2
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testWorkAcceptedStatus() throws Throwable
@@ -57,6 +58,7 @@
    
    /**
     * Test for paragraph 1 Section 3.3.3
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testWorkRejectedStatus() throws Throwable
@@ -65,6 +67,7 @@
    
    /**
     * Test for paragraph 1 Section 3.3.4
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testWorkStartedStatus() throws Throwable
@@ -73,6 +76,7 @@
    
    /**
     * Test for paragraph 1 Section 3.3.5
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testWorkCompletedStatus() throws Throwable
@@ -82,6 +86,7 @@
    /**
     * Test for bullet 1 paragraph 2 Section 3.4
     * The WorkEvent instance provides The event type.
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testWorkEventInheritEventObject() throws Throwable
@@ -94,6 +99,7 @@
    /**
     * Test for bullet 2 paragraph 2 Section 3.4
     * The source object, that is, the Work instance, on which the event initially occurred.
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testSourceObjectIsInitial() throws Throwable
@@ -103,6 +109,7 @@
    /**
     * Test for bullet 3 paragraph 2 Section 3.4
     * A handle to the associated Work instance.
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testHandleAssociatedWork() throws Throwable
@@ -112,6 +119,7 @@
    /**
     * Test for bullet 4 paragraph 2 Section 3.4
     * An optional start delay duration in millisecond.
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testStartDelayDuration() throws Throwable
@@ -121,6 +129,7 @@
    /**
     * Test for paragraph 4 Section 3.4
     * The WorkAdapter class is provided as a convenience for easily creating
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testWorkAdapter() throws Throwable
@@ -133,6 +142,7 @@
    /**
     * Test for bullet 1 Section 3.4.1
     * The WorkListener instance must not make any thread assumptions and must be thread-safe
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testWorkListenerThreadSafe() throws Throwable
@@ -142,9 +152,10 @@
    /**
     * Test for bullet 3 Section 3.4.1
     * The WorkListener implementation must not make any assumptions on the ordering of notifications.
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testNotificationWithoutOrder() throws Throwable
    {
    }
-}
\ No newline at end of file
+}

Modified: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/WorkManagementModelTestCase.java
===================================================================
--- projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/WorkManagementModelTestCase.java	2009-03-13 03:27:23 UTC (rev 85802)
+++ projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/WorkManagementModelTestCase.java	2009-03-13 04:16:52 UTC (rev 85803)
@@ -21,24 +21,25 @@
  */
 package org.jboss.jca.test.core.spec.chapter10.section3;
 
+import org.jboss.jca.common.api.ThreadPool;
+import org.jboss.jca.common.threadpool.ThreadPoolImpl;
+
+import org.jboss.jca.test.core.spec.chapter10.SimpleBootstrapContext;
+import org.jboss.jca.test.core.spec.chapter10.SimpleWork;
+
 import javax.resource.spi.BootstrapContext;
 import javax.resource.spi.work.Work;
 import javax.resource.spi.work.WorkManager;
 
 import org.jboss.ejb3.test.mc.bootstrap.EmbeddedTestMcBootstrap;
-import org.jboss.jca.common.api.ThreadPool;
-import org.jboss.jca.common.threadpool.ThreadPoolImpl;
 
-import org.jboss.jca.test.core.spec.chapter10.SimpleBootstrapContext;
-import org.jboss.jca.test.core.spec.chapter10.SimpleWork;
-
 import org.junit.AfterClass;
-import static org.junit.Assert.* ;
-
 import org.junit.BeforeClass;
 import org.junit.Ignore;
 import org.junit.Test;
+import static org.junit.Assert.*;
 
+
 /**
  * WorkManagementModelTestCase.
  * 
@@ -58,6 +59,7 @@
     * Test for paragraph 1
     * A resource adapter obtains a WorkManager instance from the BootstrapContext
     *            instance provided by the application server during its deployment.
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testGetWorkManagerFromBootstrapConext() throws Throwable
@@ -73,6 +75,7 @@
     * When a Work instance is submitted, one of the free threads picks up the
     *            Work instance, sets up an appropriate execution context and 
     *            calls the run method on the Work instance. 
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testOneThreadPickWorkInstance() throws Throwable
@@ -96,6 +99,7 @@
     * Test for paragraph2
     * There is no restriction on the NUMBER of Work instances submitted by a 
     *            resource adapter or when Work instances may be submitted.
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testManyWorkInstancesSubmitted() throws Throwable
@@ -127,6 +131,7 @@
     * Test for paragraph 2
     * There is no restriction on the number of Work instances submitted by a 
     *            resource adapter or WHEN Work instances may be submitted.
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testAnytimeWorkInstanceSubmitted() throws Throwable
@@ -156,6 +161,7 @@
     * Test for paragraph 2
     * When the run method on the Work instance completes, the application 
     *            server reuses the thread.
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testThreadBackPoolWhenWorkDone() throws Throwable
@@ -180,6 +186,7 @@
     * Test for paragraph 3
     * The application server may decide to reclaim active threads based on load conditions. 
     * @see https://jira.jboss.org/jira/browse/JBJCA-42
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testAsActiveThreadOnLoadCondition() throws Throwable
@@ -191,6 +198,7 @@
     * The resource adapter should periodically monitor such hints and do the 
     *            necessary internal cleanup to avoid any inconsistencies. 
     * @see https://jira.jboss.org/jira/browse/JBJCA-43
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testRaPeriodicalReleaseWorkResource() throws Throwable
@@ -201,6 +209,7 @@
     * Test for paragraph 4
     * the application server must use threads of the same thread priority level to
     *            process Work instances submitted by a specific resource adapter. 
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testAsUseThreadSamePriorityLevel() throws Throwable
@@ -212,6 +221,7 @@
    // --------------------------------------------------------------------------------||
    /**
     * Lifecycle start, before the suite is executed
+    * @throws Throwable throwable exception 
     */
    @BeforeClass
    public static void beforeClass() throws Throwable
@@ -229,6 +239,7 @@
 
    /**
     * Lifecycle stop, after the suite is executed
+    * @throws Throwable throwable exception 
     */
    @AfterClass
    public static void afterClass() throws Throwable

Modified: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/WorkManagerInterfaceTestCase.java
===================================================================
--- projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/WorkManagerInterfaceTestCase.java	2009-03-13 03:27:23 UTC (rev 85802)
+++ projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/WorkManagerInterfaceTestCase.java	2009-03-13 04:16:52 UTC (rev 85803)
@@ -21,20 +21,20 @@
  */
 package org.jboss.jca.test.core.spec.chapter10.section3;
 
+import org.jboss.jca.test.core.spec.chapter10.SimpleBootstrapContext;
+import org.jboss.jca.test.core.spec.chapter10.SimpleWork;
+
 import javax.resource.spi.BootstrapContext;
 import javax.resource.spi.work.Work;
 import javax.resource.spi.work.WorkManager;
 
 import org.jboss.ejb3.test.mc.bootstrap.EmbeddedTestMcBootstrap;
-import org.jboss.jca.test.core.spec.chapter10.SimpleBootstrapContext;
-import org.jboss.jca.test.core.spec.chapter10.SimpleWork;
 
 import org.junit.AfterClass;
-import static org.junit.Assert.* ;
-
 import org.junit.BeforeClass;
 import org.junit.Ignore;
 import org.junit.Test;
+import static org.junit.Assert.*;
 
 /**
  * WorkManagerInterfaceTestCase.
@@ -55,6 +55,7 @@
    /**
     * Test for paragraph 1
     * WorkManager instance can be obtained by calling the getWorkManager method of the BootstrapContext instance.
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testGetWorkManagerFromBootstrapConext() throws Throwable
@@ -69,6 +70,7 @@
    /**
     * Test for paragraph 3
     * doWork method: This call blocks until the Work instance completes execution.
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testDoWorkMethod() throws Throwable
@@ -86,6 +88,7 @@
     * Test for paragraph 3
     * doWork method: this provides a first in, first out (FIFO) execution start 
     *      ordering and last in, first out (LIFO) execution completion ordering guarantee.
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testFifoStartLifoFinish() throws Throwable
@@ -107,6 +110,7 @@
     * Test for paragraph 4
     * startWork method: This call blocks until the Work instance starts execution but
     *       not until its completion.
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testStartWorkMethod() throws Throwable
@@ -125,7 +129,9 @@
    
    /**
     * Test for paragraph 4
-    * startWork method: This returns the time elapsed in milliseconds from Work acceptance until the start of execution.
+    * startWork method: This returns the time elapsed in milliseconds from Work acceptance until 
+    * the start of execution.
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testReturnTimeBeforeStart() throws Throwable
@@ -135,7 +141,9 @@
    
    /**
     * Test for paragraph 4
-    * startWork method: A value of -1 (WorkManager.UNKNOWN) must be returned, if the actual start delay duration is unknown.
+    * startWork method: A value of -1 (WorkManager.UNKNOWN) must be returned, if the actual start 
+    * delay duration is unknown.
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testUnknownReturnedIfDonotKnowDelay() throws Throwable
@@ -147,6 +155,7 @@
     * Test for paragraph 4
     * startWork method: this provides a FIFO execution start ordering guarantee, 
     *                 but no execution completion ordering guarantee.
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testFifoStart() throws Throwable
@@ -169,6 +178,7 @@
     * Test for paragraph 5
     * scheduleWork method: This call does not block and returns immediately once a
     *                Work instance has been accepted for processing.
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testScheduleWorkMethod() throws Throwable
@@ -190,6 +200,7 @@
     * The optional startTimeout parameter specifies a time duration in milliseconds within which 
     *      the execution of the Work instance must start. Otherwise, the Work instance 
     *      is rejected with a WorkRejectedException set to an appropriate error code (WorkException.START_TIMED_OUT).
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testStartTimeoutThrowWorkRejectedException() throws Throwable
@@ -199,6 +210,7 @@
    /**
     * Test for bullet 1 Section 3.3.6
     * The application server must implement the WorkManager interface
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testAsImplementWorkManagerInterface() throws Throwable
@@ -210,6 +222,7 @@
    /**
     * Test for bullet 2 Section 3.3.6
     * The application server must allow nested Work submissions.
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testAllowNestedWork() throws Throwable
@@ -230,6 +243,7 @@
     * When the application server is unable to recreate an execution context if it is  
     *                      specified for the submitted Work instance, it must throw a
     *                      WorkCompletedException set to an appropriate error code.
+    * @throws Throwable throwable exception 
     */
    @Ignore
    public void testThrowWorkCompletedException() throws Throwable
@@ -241,6 +255,7 @@
    // --------------------------------------------------------------------------------||
    /**
     * Lifecycle start, before the suite is executed
+    * @throws Throwable throwable exception 
     */
    @BeforeClass
    public static void beforeClass() throws Throwable
@@ -258,6 +273,7 @@
 
    /**
     * Lifecycle stop, after the suite is executed
+    * @throws Throwable throwable exception 
     */
    @AfterClass
    public static void afterClass() throws Throwable

Added: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/package-info.java
===================================================================
--- projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/package-info.java	                        (rev 0)
+++ projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/package-info.java	2009-03-13 04:16:52 UTC (rev 85803)
@@ -0,0 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.jca.test.core.spec.chapter10.section3;


Property changes on: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/chapter10/section3/package-info.java
___________________________________________________________________
Name: svn:keywords
   + Id Reversion Date

Added: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/package-info.java
===================================================================
--- projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/package-info.java	                        (rev 0)
+++ projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/package-info.java	2009-03-13 04:16:52 UTC (rev 85803)
@@ -0,0 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.jca.test.core.spec;


Property changes on: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/spec/package-info.java
___________________________________________________________________
Name: svn:keywords
   + Id Reversion Date

Added: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/workmanager/package-info.java
===================================================================
--- projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/workmanager/package-info.java	                        (rev 0)
+++ projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/workmanager/package-info.java	2009-03-13 04:16:52 UTC (rev 85803)
@@ -0,0 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.jca.test.core.workmanager;


Property changes on: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/workmanager/package-info.java
___________________________________________________________________
Name: svn:keywords
   + Id Reversion Date

Modified: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/workmanager/unit/WorkManagerTestCase.java
===================================================================
--- projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/workmanager/unit/WorkManagerTestCase.java	2009-03-13 03:27:23 UTC (rev 85802)
+++ projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/workmanager/unit/WorkManagerTestCase.java	2009-03-13 04:16:52 UTC (rev 85803)
@@ -1,6 +1,6 @@
 /*
  * JBoss, Home of Professional Open Source.
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * Copyright 2008-2009, Red Hat Middleware LLC, and individual contributors
  * as indicated by the @author tags. See the copyright.txt file in the
  * distribution for a full listing of individual contributors.
  *
@@ -28,9 +28,9 @@
 import org.jboss.logging.Logger;
 
 import org.junit.AfterClass;
-import static org.junit.Assert.* ;
 import org.junit.BeforeClass;
 import org.junit.Test;
+import static org.junit.Assert.*;
 
 /**
  * WorkManagerTestCase.
@@ -47,7 +47,7 @@
    // Class Members ------------------------------------------------------------------||
    // --------------------------------------------------------------------------------||
 
-   private static final Logger log = Logger.getLogger(WorkManagerTestCase.class);
+   private static final Logger LOG = Logger.getLogger(WorkManagerTestCase.class);
 
    /*
     * Bootstrap (MC Facade)
@@ -61,6 +61,7 @@
    /**
     * Test that the installed work manager is an instance of the 
     * <code>javax.resource.spi.work.WorkManager</code> interface
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testInstanceOf() throws Throwable
@@ -73,6 +74,7 @@
 
    /**
     * Test that the installed work manager has a thread pool instance
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testThreadPool() throws Throwable
@@ -86,6 +88,7 @@
 
    /**
     * Test that the installed work manager has an XA terminator instance
+    * @throws Throwable throwable exception 
     */
    @Test
    public void testXATerminator() throws Throwable
@@ -103,6 +106,7 @@
 
    /**
     * Lifecycle start, before the suite is executed
+    * @throws Throwable throwable exception 
     */
    @BeforeClass
    public static void beforeClass() throws Throwable
@@ -120,6 +124,7 @@
 
    /**
     * Lifecycle stop, after the suite is executed
+    * @throws Throwable throwable exception 
     */
    @AfterClass
    public static void afterClass() throws Throwable

Added: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/workmanager/unit/package-info.java
===================================================================
--- projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/workmanager/unit/package-info.java	                        (rev 0)
+++ projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/workmanager/unit/package-info.java	2009-03-13 04:16:52 UTC (rev 85803)
@@ -0,0 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.jca.test.core.workmanager.unit;


Property changes on: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/workmanager/unit/package-info.java
___________________________________________________________________
Name: svn:keywords
   + Id Reversion Date




More information about the jboss-cvs-commits mailing list