[OJB-developers] OJB and Informix
Brought to you by:
thma
From: Florian B. <bf...@fl...> - 2002-02-14 12:30:48
|
Hi, just wanted to report that I was able to run the junit test suite against an informix database with just one error: junit: [junit] .[BOOT] INFO: OJB.properties: file:/C:/work/OJB/ojb-0.7.343-src/ojb-0.7.343/build/test/ojb/OJB.properties [junit] .....[DEFAULT] ERROR: after inserting an object it should be equal to its re-read pendant expected:<Single quote 'article > but was:<Single quote 'article> [junit] junit.framework.AssertionFailedError: after inserting an object it should be equal to its re-read pendant expected:<Single quote 'article > but was:<Single quote 'article> [junit] at junit.framework.Assert.fail(Assert.java:51) [junit] at junit.framework.Assert.failNotEquals(Assert.java:234) [junit] at junit.framework.Assert.assertEquals(Assert.java:68) [junit] at test.ojb.broker.PersistenceBrokerTest.testEscaping(PersistenceBrokerTest.jav a:423) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.textui.TestRunner.doRun(TestRunner.java:74) [junit] at junit.textui.TestRunner.start(TestRunner.java:234) [junit] at junit.textui.TestRunner.main(TestRunner.java:112) [junit] F................................... [junit] ..... [junit] Time: 16,806 [junit] There was 1 failure: [junit] 1) testEscaping(test.ojb.broker.PersistenceBrokerTest)junit.framework.Assertion FailedError: after inserting an object it should be equal to its re-read pendant expected:<Single quote 'article > but was:<Single quote 'article> [junit] at test.ojb.broker.PersistenceBrokerTest.testEscaping(PersistenceBrokerTest.jav a:494) [junit] [junit] FAILURES!!! [junit] Tests run: 46, Failures: 1, Errors: 0 [junit] I had to do some small modifications to db-setup.sql and repository.xml, attached are the modified files of version 0.7.343. MfG, Florian |