db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r705349 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/Decorator.java
Date Thu, 16 Oct 2008 20:22:10 GMT
Author: kmarsden
Date: Thu Oct 16 13:22:10 2008
New Revision: 705349

URL: http://svn.apache.org/viewvc?rev=705349&view=rev
Log:
Change encryptedDatabase decorator to return empty test suite for encryptedDatabase decorator
 for JSR169.  This was needed for DERBY-1764 so stress multi encryption test will not run
with encryption and JSR169.


Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/Decorator.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/Decorator.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/Decorator.java?rev=705349&r1=705348&r2=705349&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/Decorator.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/Decorator.java Thu Oct
16 13:22:10 2008
@@ -26,6 +26,7 @@
 import javax.sql.DataSource;
 
 import junit.framework.Test;
+import junit.framework.TestSuite;
 
 /**
  * Utility class that provides static methods to decorate tests.
@@ -60,6 +61,9 @@
      */
     public static Test encryptedDatabase(Test test)
     {
+        if (JDBC.vmSupportsJSR169())
+            return new TestSuite("no encryption support");
+        
         test = new BaseTestSetup(test) {
             
             /**



Mime
View raw message