db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpendle...@apache.org
Subject svn commit: r791027 [1/3] - in /db/derby/code/trunk/java/testing: ./ org/apache/derbyTesting/functionTests/master/ org/apache/derbyTesting/functionTests/suites/ org/apache/derbyTesting/functionTests/tests/lang/
Date Fri, 03 Jul 2009 21:47:44 GMT
Author: bpendleton
Date: Fri Jul  3 21:47:43 2009
New Revision: 791027

URL: http://svn.apache.org/viewvc?rev=791027&view=rev
Log:
DERBY-4187: Convert altertable.sql to JUnit

This change was contributed by Eranda Sooriyabandara (070468D at gmail dot com)

This change replaces the altertable.sql test with a new AltertableTest.java
test using JUnit techniques rather than IJ input script techniques. The
original version of AlterTableTest.java was built using the SQLToJUnit tool
and then extensively modified afterwards to improve the test.

altertable.sql is removed from the old derbyall and derbylang suites, and
the new AlterTableTest is included in the lang._Suite test in its place.


Added:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/AlterTableTest.java
  (with props)
Removed:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/altertable.out
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/altertable.sql
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/altertable_derby.properties
Modified:
    db/derby/code/trunk/java/testing/README.htm
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/derbylang.runall
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/_Suite.java

Modified: db/derby/code/trunk/java/testing/README.htm
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/README.htm?rev=791027&r1=791026&r2=791027&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/README.htm (original)
+++ db/derby/code/trunk/java/testing/README.htm Fri Jul  3 21:47:43 2009
@@ -1036,13 +1036,6 @@
 Run the tests...<br>
 Execute command: java -DjavaCmd=java
 -Doutputdir=C:\derbyt1\derbylang\derbylang
--Dtopsuitedir=C:\derbyt1\derbylang -Dtoprepo<br>
-rtdir=C:\derbyt1\derbylang -Drundir=C:\derbyt1
--Dsuitename=derbylang:derbylang -Dtopsuitename=derbylang
-org.apache.derbyTesting.functionTests.harness.RunTest
-lang/altertable.sql<br>
-Execute command: java -DjavaCmd=java
--Doutputdir=C:\derbyt1\derbylang\derbylang
 -Dtopsuitedir=C:\derbyt1\derbylang -Dtopreportdir=C:\derbyt1\derbylang
 -Drundir=C:\derbyt1 -Dsuitename=derbylang:derbylang
 -Dtopsuitename=derbylang

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/derbylang.runall
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/derbylang.runall?rev=791027&r1=791026&r2=791027&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/derbylang.runall
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/derbylang.runall
Fri Jul  3 21:47:43 2009
@@ -1,7 +1,6 @@
 lang/DB2IsolationLevels.sql
 lang/LOBDB2compatibility.sql
 lang/aggregateOptimization.sql
-lang/altertable.sql
 lang/autoincrement.sql
 lang/checkConstraint.sql
 lang/columnDefaults.sql



Mime
View raw message