[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xmlblaster-devel] Testsuite.



I have noted various things about the testsuite...
Most of them quit a while ago...

Going over it again in detail there are many issues that need to be resolved...

I have some questions about some of them...
Some may be config errors on my part, others like C++ tests I am not set up for yet... I could do with some help compiling the C++ stuff but that can wait until later.


Firstly this error message.

[Nov 24, 2003 10:59:11 PM WARN  CbQueueProperty] The queue relating attribute is invalid 'callback_somequeueid', setting to session scope

Any ideas?
I found the code that generates this warning in I_QueueTest
For the life of me I could not find the string somequeueid
using grep... My bad as grep is case sensitive and as it appears in the source it is SomeQueueId.



Next: Global initialisation.

java.lang.Exception: Stack trace
	at java.lang.Thread.dumpStack(Thread.java:1071)
	at org.xmlBlaster.util.Global.<init>(Global.java:244)
	at org.xmlBlaster.util.Global.<init>(Global.java:193)
	at org.xmlBlaster.engine.Global.<init>(Global.java:112)
	at org.xmlBlaster.test.classtest.msgstore.I_MapTest.<init>(I_MapTest.java:67)
	at org.xmlBlaster.test.classtest.msgstore.I_MapTest.suite(I_MapTest.java:666)

<snip>

[Nov 24, 2003 10:59:41 PM ERROR I_MapTest] PLEASE UPDATE OUTDATED PROPS

I have fixed other classes that use new Global to be Global.instance()
however the classes that use engine.Global I am not sure of... util.Global is fine.


How do I fix the code in I_MapTest to set up the Global needed for the tests? Is it using the wrong one? i.e engine.Global should be replaced with util.Global and initialised that way.

That will do for the moment...

There are more but I need to check them as much as I can first before asking dumb questions :)

Regards