List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:October 23 2007 5:17am
Subject:Rev 192: Removed bug I had placed in Latin1InsertReadTest to trigger the exception for testing. Hmm. I probably need to actually make an exception tes...
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmerge

------------------------------------------------------------
revno: 192
revision-id: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: ndbjmerge
timestamp: Mon 2007-10-22 22:17:02 -0700
message:
  Removed bug I had placed in Latin1InsertReadTest to trigger the exception for testing.
Hmm. I probably need to actually make an exception test... 
modified:
  java/testsuite/ndbj/Latin1InsertReadTest.java
latin1insertreadtest-20070517181935-98huwjarzuh25b30-48
  java/testsuite/ndbj/SelectCountTest.java
selectcounttest.java-20070517181935-98huwjarzuh25b30-61
=== modified file 'java/testsuite/ndbj/Latin1InsertReadTest.java'
--- a/java/testsuite/ndbj/Latin1InsertReadTest.java	2007-10-23 05:12:33 +0000
+++ b/java/testsuite/ndbj/Latin1InsertReadTest.java	2007-10-23 05:17:02 +0000
@@ -64,7 +64,7 @@
 					NdbOperation op = trans.getNdbOperation(tablename);
 					op.insertTuple();
 					if (i != 0)
-						op.equal("bob", Integer.toString(i));
+						op.equal(col1, Integer.toString(i));
 					else
 						op.equal(col1,col2Val);
 					op.setString(col2, col2Val);

=== modified file 'java/testsuite/ndbj/SelectCountTest.java'
--- a/java/testsuite/ndbj/SelectCountTest.java	2007-09-17 02:16:25 +0000
+++ b/java/testsuite/ndbj/SelectCountTest.java	2007-10-23 05:17:02 +0000
@@ -24,7 +24,7 @@
 
 	public SelectCountTest(String arg0) {
 		super(arg0);
-	}
+	} 
 
 	public void setUp() throws Exception {
 		super.setUp();

Thread
Rev 192: Removed bug I had placed in Latin1InsertReadTest to trigger the exception for testing. Hmm. I probably need to actually make an exception tes...Monty Taylor23 Oct