Ok your recent check in fixed the test failing problem, and the newer betwixt code seesm to work just fine. (at least they work well enough to expose another bug in MY app :) ). The OJB issue with MetaDataManager.copyOfGlobalRepository() still exists (to my knowledge), but betwixt now seems to be doing what it should.

Thanks for the help.
-Gus

Martin van den Bemt wrote:

Hmm.. weird.. everything passes here using maven test, although I have
an error in the test when running the test from Eclipse (a different one
though and i18n related).
I guess you are probably using ant, so I updated the build.xml from
maven.
Hope that helps.

Mvgr,
Martin

On Mon, 2003-11-24 at 20:12, Gus Heck wrote:


Hi Martin,

Working on testing the latest betwixt (cvs) as suggested, and it seems that your tests don't pass at the moment I am still going to proceed and see if my issue is fixed, but thought I would pass this on:

[EMAIL PROTECTED] betwixt]$ cat target/test-reports/TEST-org.apache.commons.betwixt.TestBeanReader.txt
Testsuite: org.apache.commons.betwixt.TestBeanReader
Tests run: 2, Failures: 1, Errors: 1, Time elapsed: 0.936 sec


Testcase: testBeanWriter took 0.395 sec
FAILED
Is a CustomerBean
junit.framework.AssertionFailedError: Is a CustomerBean
at org.apache.commons.betwixt.TestBeanReader.testCustomer(TestBeanReader.java:196)
at org.apache.commons.betwixt.TestBeanReader.testBeanWriter(TestBeanReader.java:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


Testcase: testBeanWriterTestcase: testWriteThenRead took 0.093 sec
Caused an ERROR
null
java.lang.NullPointerException
at org.apache.commons.betwixt.TestBeanReader.testWriteThenRead(TestBeanReader.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


Testcase: [EMAIL PROTECTED] betwixt]$

-Gus

Martin van den Bemt wrote:



Hi Gus,

Could you have a go at the latest betwixt build (just committed a fix to
cvs, which sounds a bit similar to your situation). If that is still not
working, it would be nice to have a testcase of some kind to make my
life a bit easier (don't know if commons-sql moved to db commons,
although it doesn't seem like it ?)
I'll keep ojb-user on the cc, if that's ok (please keep commons-dev on
the cc too,since I am not subscribed to ojb-user..


Mvgr,
Martin

On Fri, 2003-11-21 at 23:46, Gus Heck wrote:





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to