harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r454744 - in /incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests: java/sql/ javax/transaction/ javax/transaction/xa/
Date Tue, 10 Oct 2006 14:00:50 GMT
Author: hindessm
Date: Tue Oct 10 07:00:49 2006
New Revision: 454744

URL: http://svn.apache.org/viewvc?view=rev&rev=454744
Log:
Replaced assertTrue(false) with fail().

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/BatchUpdateExceptionTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/DataTruncationTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/SQLExceptionTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/SQLWarningTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/transaction/InvalidTransactionExceptionTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/transaction/TransactionRequiredExceptionTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/transaction/TransactionRolledbackExceptionTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/transaction/xa/XAExceptionTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/BatchUpdateExceptionTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/BatchUpdateExceptionTest.java?view=diff&rev=454744&r1=454743&r2=454744
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/BatchUpdateExceptionTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/BatchUpdateExceptionTest.java
Tue Oct 10 07:00:49 2006
@@ -46,7 +46,7 @@
 			try {
 				aBatchUpdateException = new BatchUpdateException();
 				if (theExceptions[i] != null)
-					assertTrue(false);
+					fail();
 				assertEquals(i + " Final state mismatch: ",
 						aBatchUpdateException.getErrorCode(),
 						theFinalStates1[i]);
@@ -90,7 +90,7 @@
 			try {
 				aBatchUpdateException = new BatchUpdateException(init1[i]);
 				if (theExceptions[i] != null)
-					assertTrue(false);
+					fail();
 				assertEquals(i + " Final state mismatch: ",
 						aBatchUpdateException.getErrorCode(),
 						theFinalStates1[i]);
@@ -143,7 +143,7 @@
 				aBatchUpdateException = new BatchUpdateException(init1[i],
 						init2[i]);
 				if (theExceptions[i] != null)
-					assertTrue(false);
+					fail();
 				assertEquals(i + " Final state mismatch: ",
 						aBatchUpdateException.getErrorCode(),
 						theFinalStates1[i]);
@@ -198,7 +198,7 @@
 				aBatchUpdateException = new BatchUpdateException(init1[i],
 						init2[i], init3[i]);
 				if (theExceptions[i] != null)
-					assertTrue(false);
+					fail();
 				assertEquals(i + " Final state mismatch: ",
 						aBatchUpdateException.getErrorCode(),
 						theFinalStates1[i]);
@@ -254,7 +254,7 @@
 				aBatchUpdateException = new BatchUpdateException(init1[i],
 						init2[i], init3[i], init4[i]);
 				if (theExceptions[i] != null)
-					assertTrue(false);
+					fail();
 				assertEquals(i + " Final state mismatch: ",
 						aBatchUpdateException.getErrorCode(),
 						theFinalStates1[i]);

Modified: incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/DataTruncationTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/DataTruncationTest.java?view=diff&rev=454744&r1=454743&r2=454744
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/DataTruncationTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/DataTruncationTest.java
Tue Oct 10 07:00:49 2006
@@ -61,7 +61,7 @@
 				aDataTruncation = new DataTruncation(init1[i], init2[i],
 						init3[i], init4[i], init5[i]);
 				if (theExceptions[i] != null)
-					assertTrue(false);
+					fail();
 				assertEquals(i + "  Final state mismatch", aDataTruncation
 						.getSQLState(), theFinalStates1[i]);
 				assertEquals(i + "  Final state mismatch", aDataTruncation

Modified: incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/SQLExceptionTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/SQLExceptionTest.java?view=diff&rev=454744&r1=454743&r2=454744
==============================================================================
Binary files /tmp/tmpIRJMwV and /tmp/tmpGSswll differ

Modified: incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/SQLWarningTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/SQLWarningTest.java?view=diff&rev=454744&r1=454743&r2=454744
==============================================================================
Binary files /tmp/tmpLWqLfS and /tmp/tmpRavfy5 differ

Modified: incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/transaction/InvalidTransactionExceptionTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/transaction/InvalidTransactionExceptionTest.java?view=diff&rev=454744&r1=454743&r2=454744
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/transaction/InvalidTransactionExceptionTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/transaction/InvalidTransactionExceptionTest.java
Tue Oct 10 07:00:49 2006
@@ -42,7 +42,7 @@
 				aInvalidTransactionException = new InvalidTransactionException(
 						init1[i]);
 				if (theExceptions[i] != null)
-					assertTrue(false);
+					fail();
 				assertEquals(i + "  Final state mismatch",
 						aInvalidTransactionException.getMessage(),
 						theFinalStates1[i]);
@@ -74,7 +74,7 @@
 			try {
 				aInvalidTransactionException = new InvalidTransactionException();
 				if (theExceptions[i] != null)
-					assertTrue(false);
+					fail();
 				assertEquals(i + "  Final state mismatch",
 						aInvalidTransactionException.getMessage(),
 						theFinalStates1[i]);

Modified: incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/transaction/TransactionRequiredExceptionTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/transaction/TransactionRequiredExceptionTest.java?view=diff&rev=454744&r1=454743&r2=454744
==============================================================================
Binary files /tmp/tmpGiIGCL and /tmp/tmpdJZZ06 differ

Modified: incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/transaction/TransactionRolledbackExceptionTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/transaction/TransactionRolledbackExceptionTest.java?view=diff&rev=454744&r1=454743&r2=454744
==============================================================================
Binary files /tmp/tmpojhzzi and /tmp/tmp95NxX8 differ

Modified: incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/transaction/xa/XAExceptionTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/transaction/xa/XAExceptionTest.java?view=diff&rev=454744&r1=454743&r2=454744
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/transaction/xa/XAExceptionTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/transaction/xa/XAExceptionTest.java
Tue Oct 10 07:00:49 2006
@@ -114,7 +114,7 @@
 			try {
 				aXAException = new XAException(init1[i]);
 				if (theExceptions[i] != null)
-					assertTrue(false);
+					fail();
 				assertEquals(i + "  Final state mismatch", aXAException
 						.getMessage(), theFinalStates1[i]);
 
@@ -148,7 +148,7 @@
 			try {
 				aXAException = new XAException(init1[i]);
 				if (theExceptions[i] != null)
-					assertTrue(false);
+					fail();
 				assertEquals(i + "  Final state mismatch", aXAException
 						.getMessage(), theFinalStates1[i]);
 
@@ -179,7 +179,7 @@
 			try {
 				aXAException = new XAException();
 				if (theExceptions[i] != null)
-					assertTrue(false);
+					fail();
 				assertEquals(i + "  Final state mismatch", aXAException
 						.getMessage(), theFinalStates1[i]);
 



Mime
View raw message