openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r627638 - /openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/DummyTest.java
Date Thu, 14 Feb 2008 02:27:55 GMT
Author: ppoddar
Date: Wed Feb 13 18:27:54 2008
New Revision: 627638

URL: http://svn.apache.org/viewvc?rev=627638&view=rev
Log:
OPENJPA-515 A dummy test to warn that Slice tests are currently inactive.

Added:
    openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/DummyTest.java

Added: openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/DummyTest.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/DummyTest.java?rev=627638&view=auto
==============================================================================
--- openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/DummyTest.java (added)
+++ openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/DummyTest.java Wed
Feb 13 18:27:54 2008
@@ -0,0 +1,14 @@
+package org.apache.openjpa.slice;
+
+import junit.framework.TestCase;
+
+public class DummyTest extends TestCase {
+    public void testDeactive() {
+        System.err.println("\t\t============================= WARNING ====================================");
+        System.err.println("\t\tTest for distributed database is deactivated");
+        System.err.println("\t\tTo activate: ");
+        System.err.println("\t\t   1. create databases as per META-INF/persistence.xml in
openjpa-slice module");
+        System.err.println("\t\t   2. uncomment the SureFire plugin in pom.xml");
+        System.err.println("\t\t==========================================================================");
+    }
+}



Mime
View raw message