[jboss-cvs] JBossAS SVN: r60215 - branches/Branch_4_2/testsuite/src/main/org/jboss/test/cluster/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Feb 2 16:19:02 EST 2007


Author: bstansberry at jboss.com
Date: 2007-02-02 16:19:02 -0500 (Fri, 02 Feb 2007)
New Revision: 60215

Added:
   branches/Branch_4_2/testsuite/src/main/org/jboss/test/cluster/test/DeprecAnnocFieldBasedTestCase.java
Log:
Test both marker-interface-based and annotation-based FIELD repl

Added: branches/Branch_4_2/testsuite/src/main/org/jboss/test/cluster/test/DeprecAnnocFieldBasedTestCase.java
===================================================================
--- branches/Branch_4_2/testsuite/src/main/org/jboss/test/cluster/test/DeprecAnnocFieldBasedTestCase.java	                        (rev 0)
+++ branches/Branch_4_2/testsuite/src/main/org/jboss/test/cluster/test/DeprecAnnocFieldBasedTestCase.java	2007-02-02 21:19:02 UTC (rev 60215)
@@ -0,0 +1,52 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.test.cluster.test;
+
+import junit.framework.Test;
+import org.jboss.test.JBossClusteredTestCase;
+
+/**
+ * Clustering test case of get/set using the deprecated TC5 marker interfaces.
+ * Replication granularity is field-based.
+ *
+ * @author Brian Stansberry
+ * @version $Id: ScopedFieldBasedTestCase.java 57211 2006-09-26 12:39:46Z dimitris at jboss.org $
+ */
+public class DeprecAnnocFieldBasedTestCase
+      extends FieldBasedTestCase
+{
+
+   public DeprecAnnocFieldBasedTestCase(String name)
+   {
+      super(name);
+      warName_ = "/http-field-deprec/";
+
+      concatenate();
+   }
+
+   public static Test suite() throws Exception
+   {
+      return getDeploySetup(DeprecAnnocFieldBasedTestCase.class,
+                            "http-field-deprec.war");
+   }
+
+}




More information about the jboss-cvs-commits mailing list