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
618d56d0
Commit
618d56d0
authored
Sep 23, 2003
by
Barry Lind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A fix for jdbc regression test submitted yesterday by Kim Ho at Redhat
Modified Files: ResultSetTest.java
parent
f5c5c3c6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
src/interfaces/jdbc/org/postgresql/test/jdbc2/ResultSetTest.java
...erfaces/jdbc/org/postgresql/test/jdbc2/ResultSetTest.java
+2
-8
No files found.
src/interfaces/jdbc/org/postgresql/test/jdbc2/ResultSetTest.java
View file @
618d56d0
...
...
@@ -229,10 +229,10 @@ public class ResultSetTest extends TestCase
assertTrue
(
rs
.
next
());
assertEquals
(-
1
,
rs
.
getByte
(
1
));
int
count
=
3
;
while
(
rs
.
next
())
{
thrown
=
false
;
try
{
rs
.
getByte
(
1
);
...
...
@@ -243,10 +243,7 @@ public class ResultSetTest extends TestCase
}
if
(!
thrown
)
fail
(
"Exception expected."
);
count
++;
}
if
(
count
!=
9
)
fail
(
"Exception expected."
);
}
public
void
testgetShort
()
throws
Exception
...
...
@@ -262,10 +259,10 @@ public class ResultSetTest extends TestCase
assertTrue
(
rs
.
next
());
assertEquals
(-
1
,
rs
.
getShort
(
1
));
int
count
=
3
;
while
(
rs
.
next
())
{
thrown
=
false
;
try
{
rs
.
getShort
(
1
);
...
...
@@ -276,10 +273,7 @@ public class ResultSetTest extends TestCase
}
if
(!
thrown
)
fail
(
"Exception expected."
);
count
++;
}
if
(
count
!=
9
)
fail
(
"Exception expected."
);
}
}
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