forked from pgjdbc/pgjdbc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split jdbc 4.1 and jdbc 4.0 tests and run them according to the java …
…version
- Loading branch information
1 parent
39aae42
commit 420f5ee
Showing
6 changed files
with
46 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...sql/test/jdbc4/CloseOnCompletionTest.java → ...t/jdbc4/jdbc41/CloseOnCompletionTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/*------------------------------------------------------------------------- | ||
* | ||
* Copyright (c) 2007-2014, PostgreSQL Global Development Group | ||
* | ||
* | ||
*------------------------------------------------------------------------- | ||
*/ | ||
package org.postgresql.test.jdbc4.jdbc41; | ||
|
||
import junit.framework.TestSuite; | ||
|
||
/* | ||
* Executes all known tests for JDBC4.1 | ||
*/ | ||
public class Jdbc41TestSuite extends TestSuite | ||
{ | ||
|
||
/* | ||
* The main entry point for JUnit | ||
*/ | ||
public static TestSuite suite() throws Exception | ||
{ | ||
Class.forName("org.postgresql.Driver"); | ||
TestSuite suite = new TestSuite(); | ||
|
||
suite.addTestSuite(SchemaTest.class); | ||
suite.addTestSuite(AbortTest.class); | ||
suite.addTestSuite(CloseOnCompletionTest.class); | ||
|
||
return suite; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters