tfischer 2005/07/13 13:34:29
Modified: src/rttest/org/apache/torque DataTest.java
Log:
Corrected typos in testcase BlobTest
Revision Changes Path
1.27 +7 -7 db-torque/src/rttest/org/apache/torque/DataTest.java
Index: DataTest.java
===================================================================
RCS file: /home/cvs/db-torque/src/rttest/org/apache/torque/DataTest.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- DataTest.java 26 Jun 2005 10:46:48 -0000 1.26
+++ DataTest.java 13 Jul 2005 20:34:29 -0000 1.27
@@ -1031,9 +1031,9 @@
* check that blob cloumns can be read and written correctly
* @throws Exception if the test fails
*/
- public void testLobs() throws Exception
+ public void testBlobs() throws Exception
{
- // clean LobTest table
+ // clean BlobTest table
{
Criteria criteria = new Criteria();
criteria.add(
@@ -1062,12 +1062,12 @@
// read the BlobTests from the database
// and check the values against the original values
- List lobTestList = BlobTestPeer.doSelect(new Criteria());
+ List blobTestList = BlobTestPeer.doSelect(new Criteria());
assertTrue("blobTestList should contain 1 object but contains "
- + lobTestList.size(),
- lobTestList.size() == 1);
+ + blobTestList.size(),
+ blobTestList.size() == 1);
- BlobTest readBlobTest = (BlobTest) lobTestList.get(0);
+ BlobTest readBlobTest = (BlobTest) blobTestList.get(0);
assertTrue("read and written blobs should be equal. "
+ "Size of read blob is"
+ readBlobTest.getBlobValue().length
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]