Unit test question...
Aleksandar Vidakovic <[email protected]>
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <1111767278.12804.7.camel@popper> |
Salut all,
I have a problem writing a unit test for a service. In Eclipse
everything seems to be OK (dependencies etc.), but when I run the test
on the command line ("keel:tests") it fails with the following
exception:
[code]
java.lang.Error: Unresolved compilation problems: The method
setNested(Throwable) from the type NestedException is not visible The
method getStackTraceAsString(Throwable) from the type NestedException is
not visible at
org.keel.core.container.ServerSideNestedException.setNested(ServerSideNestedException.java:107) at org.keel.core.exception.NestedException.<init>(NestedException.java:86) at org.keel.core.container.ServerSideNestedException.<init>(ServerSideNestedException.java:103) at org.keel.core.container.ContainerException.<init>(ContainerException.java:16) at org.keel.core.container.ContainerFactoryLoader.getContainerFactory(ContainerFactoryLoader.java:40) at org.keel.core.container.ContainerFactoryLoader.getContainerFactory(ContainerFactoryLoader.java:57) at org.keel.util.test.AbstractKeelTest.setUp(AbstractKeelTest.java:67)
[/code]
And to be honest: I have problems to find
org.keel.util.test.AbstractKeelTest in the current codebase... does this
mean that there is now another way to write the unit tests?
Thanks,
Aleks
http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com