db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r630512 - in /db/derby/code/trunk/java/testing/org/apache/derby: PackagePrivateTestSuite.java client/am/_Suite.java
Date Sat, 23 Feb 2008 19:26:55 GMT
Author: kristwaa
Date: Sat Feb 23 11:26:51 2008
New Revision: 630512

URL: http://svn.apache.org/viewvc?rev=630512&view=rev
Log:
DERBY-3326: Enabled the package private test client.am.LogicalStatementEntityTest to be run
as part of the junit-pptesting target.
Patch file: derby-3326-5a-enable_logicalstmtentity_pptest.diff

Added:
    db/derby/code/trunk/java/testing/org/apache/derby/client/am/_Suite.java   (with props)
Modified:
    db/derby/code/trunk/java/testing/org/apache/derby/PackagePrivateTestSuite.java

Modified: db/derby/code/trunk/java/testing/org/apache/derby/PackagePrivateTestSuite.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derby/PackagePrivateTestSuite.java?rev=630512&r1=630511&r2=630512&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derby/PackagePrivateTestSuite.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derby/PackagePrivateTestSuite.java Sat Feb
23 11:26:51 2008
@@ -40,6 +40,7 @@
         TestSuite suite = new TestSuite("Package-private tests");
 
         suite.addTest(org.apache.derby.impl.jdbc._Suite.suite());
+        suite.addTest(org.apache.derby.client.am._Suite.suite());
 
         return suite;
     }

Added: db/derby/code/trunk/java/testing/org/apache/derby/client/am/_Suite.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derby/client/am/_Suite.java?rev=630512&view=auto
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derby/client/am/_Suite.java (added)
+++ db/derby/code/trunk/java/testing/org/apache/derby/client/am/_Suite.java Sat Feb 23 11:26:51
2008
@@ -0,0 +1,49 @@
+/*
+
+   Derby - Class org.apache.derby.client.am._Suite
+
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.
+
+ */
+package org.apache.derby.client.am;
+
+import org.apache.derbyTesting.junit.BaseTestCase;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class _Suite
+    extends BaseTestCase {
+
+    /**
+     * Use suite method instead.
+     */
+    private _Suite(String name) {
+        super(name);
+    }
+
+    public static Test suite()
+            throws Exception {
+
+        TestSuite suite = new TestSuite("client.am package-private");
+
+        suite.addTest(LogicalStatementEntityTest.suite());
+
+        return suite;
+    }
+} // End class _Suite

Propchange: db/derby/code/trunk/java/testing/org/apache/derby/client/am/_Suite.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message