You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by an...@apache.org on 2006/09/11 14:48:11 UTC
svn commit: r442199 - in
/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests:
master/DerbyNet/jdk15/blobclob4BLOB.out
master/DerbyNet/ver2.6/blobclob4BLOB.out suites/DerbyNet.exclude
tests/jdbcapi/blobclob4BLOB.java
Author: andreask
Date: Mon Sep 11 05:48:11 2006
New Revision: 442199
URL: http://svn.apache.org/viewvc?view=rev&rev=442199
Log:
DERBY-1691 blobclob4BLOB.java fails under DerbyNet framework. Fixed by printing stack traces to stdout. Contributed by Oystein.Grovlen@sun.com
Removed:
db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/jdk15/blobclob4BLOB.out
db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/ver2.6/blobclob4BLOB.out
Modified:
db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNet.exclude
db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/blobclob4BLOB.java
Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNet.exclude
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNet.exclude?view=diff&rev=442199&r1=442198&r2=442199
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNet.exclude (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNet.exclude Mon Sep 11 05:48:11 2006
@@ -42,6 +42,3 @@
# Excluding ResultSetClose test since an exception in a statement results in all
# the result sets associated with the connection closing
jdbcapi/ResultSetCloseTest.junit
-# DERBY-1691: when run against JCC, exceptions in blobclob4BLOB can appear in
-# different places in the output.
-jdbcapi/blobclob4BLOB.java
Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/blobclob4BLOB.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/blobclob4BLOB.java?view=diff&rev=442199&r1=442198&r2=442199
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/blobclob4BLOB.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/blobclob4BLOB.java Mon Sep 11 05:48:11 2006
@@ -255,13 +255,13 @@
catch (SQLException e)
{
TestUtil.dumpSQLExceptions(e);
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
catch (Throwable e)
{
System.out.println("xFAIL -- unexpected exception:" + e.toString());
// e.fillInStackTrace();
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
System.out.println("Test blobclob finished\n");
}
@@ -369,11 +369,11 @@
}
catch (SQLException e) {
TestUtil.dumpSQLExceptions(e);
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
//System.out.println("prepareCLOBMAIN finished");
}
@@ -442,11 +442,11 @@
}
catch (SQLException e) {
TestUtil.dumpSQLExceptions(e);
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
System.out.println("prepareSearchClobTable finished");
}
@@ -509,7 +509,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -588,7 +588,7 @@
catch (Throwable e)
{
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -636,7 +636,7 @@
catch (Throwable e)
{
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -694,7 +694,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -750,7 +750,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -819,7 +819,7 @@
catch (Throwable e)
{
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -885,7 +885,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -954,7 +954,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -1004,7 +1004,7 @@
catch (Throwable e)
{
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -1055,7 +1055,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -1110,7 +1110,7 @@
catch (Throwable e)
{
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -1174,11 +1174,11 @@
}
catch (SQLException e) {
TestUtil.dumpSQLExceptions(e);
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -1222,7 +1222,7 @@
catch (Throwable e)
{
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -1327,7 +1327,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -1374,7 +1374,7 @@
catch (Throwable e) {
System.out.println("52: Throwable");
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -1398,7 +1398,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -1444,7 +1444,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
System.out.println("end clobTest54");
}
@@ -1567,7 +1567,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -1627,11 +1627,11 @@
}
catch (SQLException e) {
TestUtil.dumpSQLExceptions(e);
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -1789,7 +1789,7 @@
} catch (SQLException e) {
TestUtil.dumpSQLExceptions(e);
- e.printStackTrace();
+ e.printStackTrace(System.out);
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
@@ -1972,7 +1972,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -2027,7 +2027,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -2089,7 +2089,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -2174,7 +2174,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -2284,7 +2284,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -2335,7 +2335,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -2402,7 +2402,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -2436,7 +2436,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -2518,7 +2518,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -2574,7 +2574,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -2821,7 +2821,7 @@
catch (Throwable e)
{
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -2882,7 +2882,7 @@
catch (Throwable e)
{
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -2919,7 +2919,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -2968,7 +2968,7 @@
catch (Throwable e)
{
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -3049,7 +3049,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -3091,7 +3091,7 @@
catch (Throwable e)
{
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -3156,7 +3156,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -3185,7 +3185,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -3309,7 +3309,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -3361,7 +3361,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -3430,7 +3430,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -3492,7 +3492,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -3592,7 +3592,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -3632,7 +3632,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
System.out.println("blobTest52 finished");
}
@@ -3657,7 +3657,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -3708,7 +3708,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
System.out.println("blobTest54 finished");
}
@@ -3833,7 +3833,7 @@
else
{
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
}
@@ -3898,7 +3898,7 @@
catch (Throwable e) {
System.out.println("blobTest7 FAIL -- unexpected exception:" + e.toString());
e.fillInStackTrace();
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -3957,7 +3957,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -4027,7 +4027,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -4091,7 +4091,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -4176,7 +4176,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -4271,7 +4271,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -4326,7 +4326,7 @@
}
catch (Throwable e) {
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -4695,13 +4695,13 @@
else
{
System.out.println("FAIL -- unexpected exception:" + obe.toString());
- if (debug) obe.printStackTrace();
+ if (debug) obe.printStackTrace(System.out);
}
}
catch (Exception e)
{
System.out.println("FAIL -- unexpected exception:" + e.toString());
- if (debug) e.printStackTrace();
+ if (debug) e.printStackTrace(System.out);
}
}
@@ -4782,7 +4782,7 @@
TestUtil.dumpSQLExceptions(e, expected);
- e.printStackTrace();
+ e.printStackTrace(System.out);
}
}