Hi all,
I am currently writing test cases for a service factory, and in order to
have a self-contained test case, I have defined a fake service interface and
a fake service implementation class as inner classes inside my test case
(with public access).
Then when I try to instantiate my service (through the Registry), I have an
exception telling that no constructor could be found for my fake service
implementation class.
In the hivemodule.xml, I tried both class names:
com.acme.MyTest.MyService
com.acme.Mytest$MyService
But both exhibit the same behavior.
Is this an unhandled situation in HiveMind, or is there a "trick" to make it
work?
Finally I had to create my fake interface and implementation as separate
files and of course everything is OK then, but it is not very good to
separate those from the Test Case.
Cheers
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]