Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
6410c222
Commit
6410c222
authored
Jul 30, 2002
by
Dave Cramer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes for new Datasource
parent
6bdbe4ca
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
10 deletions
+25
-10
src/interfaces/jdbc/build.xml
src/interfaces/jdbc/build.xml
+13
-10
src/interfaces/jdbc/org/postgresql/test/JDBC2Tests.java
src/interfaces/jdbc/org/postgresql/test/JDBC2Tests.java
+12
-0
No files found.
src/interfaces/jdbc/build.xml
View file @
6410c222
...
...
@@ -6,7 +6,7 @@
This file now requires Ant 1.4.1. 2002-04-18
$Header: /cvsroot/pgsql/src/interfaces/jdbc/Attic/build.xml,v 1.2
5 2002/07/23 03:59:54 barry
Exp $
$Header: /cvsroot/pgsql/src/interfaces/jdbc/Attic/build.xml,v 1.2
6 2002/07/30 11:38:13 davec
Exp $
-->
...
...
@@ -21,7 +21,7 @@
<property
name=
"jardir"
value=
"jars"
/>
<property
name=
"builddir"
value=
"build"
/>
<property
name=
"package"
value=
"org/postgresql"
/>
<property
name=
"debug"
value=
"o
ff
"
/>
<property
name=
"debug"
value=
"o
n
"
/>
<!--
This is a simpler method than utils.CheckVersion
...
...
@@ -92,11 +92,14 @@
<exclude
name=
"${package}/largeobject/PGblob.java"
if=
"jdbc1"
/>
<exclude
name=
"${package}/largeobject/PGclob.java"
if=
"jdbc1"
/>
<exclude
name=
"${package}/PostgresqlDataSource.java"
unless=
"datasource"
/>
<exclude
name=
"${package}/xa/**"
unless=
"datasource"
/>
<exclude
name=
"${package}/jdbc2/optional/**"
unless=
"datasource"
/>
<exclude
name=
"${package}/PostgresqlDataSource.java"
/>
<exclude
name=
"${package}/xa/**"
/>
<exclude
name=
"${package}/test/**"
unless=
"junit"
/>
<exclude
name=
"${package}/test/jdbc2/**"
if=
"jdbc1"
/>
<exclude
name=
"${package}/test/jdbc2/optional/**"
unless=
"datasource"
/>
<exclude
name=
"${package}/test/JDBC2Tests.java"
if=
"jdbc1"
/>
</javac>
</target>
...
...
@@ -212,7 +215,7 @@
<!-- defaults for the tests - override these if required -->
<property
name=
"database"
value=
"jdbc:postgresql:test"
/>
<property
name=
"username"
value=
"
test
"
/>
<property
name=
"username"
value=
"
postgres
"
/>
<!-- Password must be something. Doesn't matter if trust is used! -->
<property
name=
"password"
value=
"password"
/>
<!-- junit.ui is one of textui, awtui, or swingui -->
...
...
src/interfaces/jdbc/org/postgresql/test/JDBC2Tests.java
View file @
6410c222
...
...
@@ -2,9 +2,11 @@ package org.postgresql.test;
import
junit.framework.TestSuite
;
import
junit.framework.TestCase
;
import
junit.framework.Test
;
import
org.postgresql.test.jdbc2.*
;
import
java.sql.*
;
import
java.lang.reflect.Method
;
/*
* Executes all known tests for JDBC2 and includes some utility methods.
...
...
@@ -229,6 +231,16 @@ public class JDBC2Tests extends TestSuite
suite
.
addTestSuite
(
UpdateableResultTest
.
class
);
suite
.
addTestSuite
(
CallableStmtTest
.
class
);
// try to load the optional test classes
try
{
Class
cls
=
Class
.
forName
(
"org.postgresql.test.jdbc2.optional.OptionalTestSuite"
);
Method
meth
=
cls
.
getMethod
(
"suite"
,
new
Class
[
0
]);
suite
.
addTest
((
Test
)
meth
.
invoke
(
null
,
new
Object
[
0
]));
}
catch
(
Exception
e
)
{
System
.
err
.
println
(
"Excluding JDBC 2 Optional Package (DataSource) tests"
);
}
// That's all folks
return
suite
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment