db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r994970 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/TruncateTableTest.java
Date Wed, 08 Sep 2010 10:12:18 GMT
Author: kahatlen
Date: Wed Sep  8 10:12:18 2010
New Revision: 994970

URL: http://svn.apache.org/viewvc?rev=994970&view=rev
Log:
DERBY-268: Don't wrap TruncateTableTest in authorization decorator

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/TruncateTableTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/TruncateTableTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/TruncateTableTest.java?rev=994970&r1=994969&r2=994970&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/TruncateTableTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/TruncateTableTest.java
Wed Sep  8 10:12:18 2010
@@ -26,8 +26,6 @@ import java.sql.ResultSet;
 import java.sql.SQLException;
 import java.sql.Statement;
 import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.apache.derby.iapi.services.sanity.SanityManager;
 import org.apache.derbyTesting.junit.BaseJDBCTestCase;
 import org.apache.derbyTesting.junit.JDBC;
 import org.apache.derbyTesting.junit.TestConfiguration;
@@ -43,9 +41,7 @@ public class TruncateTableTest extends B
     }
 
     public static Test suite() {
-        TestSuite suite = new TestSuite("TruncateTableTest Test");
-        suite.addTest(TestConfiguration.defaultSuite(TruncateTableTest.class));
-        return TestConfiguration.sqlAuthorizationDecorator(suite);
+        return TestConfiguration.defaultSuite(TruncateTableTest.class);
     }
 
     /**



Mime
View raw message