[esb-issues] [JBoss JIRA] Work started: (JBESB-537) Tidy up junit test. Several test show errors that are logged as intentional.

Daniel Bevenius (JIRA) jira-events at lists.jboss.org
Tue May 1 02:39:30 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBESB-537?page=all ]

Work on JBESB-537 started by Daniel Bevenius.

> Tidy up junit test. Several test show errors that are logged as intentional.
> ----------------------------------------------------------------------------
>
>                 Key: JBESB-537
>                 URL: http://jira.jboss.com/jira/browse/JBESB-537
>             Project: JBoss ESB
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Daniel Bevenius
>         Assigned To: Daniel Bevenius
>            Priority: Trivial
>
> A few junit test display errors that are not marked as intentional. For example the SqlTableGatewayListenerUnitTest:
>   [java]     [junit] ------------- Standard Error -----------------
>      [java]     [junit] java.lang.NullPointerException
>      [java]     [junit]         at java.lang.Class.forName0(Native Method)
>      [java]     [junit]         at java.lang.Class.forName(Class.java:242)
>      [java]     [junit]         at org.jboss.soa.esb.util.ClassUtil.forName(ClassUtil.java:48)
>      [java]     [junit]         at org.jboss.soa.esb.services.registry.RegistryFactory.createRegistry(RegistryFactory.java:65)
>      [java]     [junit]         at org.jboss.soa.esb.services.registry.RegistryFactory.getRegistry(RegistryFactory.java:51)
>      [java]     [junit]         at org.jboss.soa.esb.listeners.RegistryUtil.getEprs(RegistryUtil.java:206)
>      [java]     [junit]         at org.jboss.soa.esb.listeners.gateway.SqlTableGatewayListener.doInitialise(SqlTableGatewayListener.java:112)
>      [java]     [junit]         at org.jboss.soa.esb.listeners.gateway.SqlTableGatewayListenerUnitTest.testGateway(SqlTableGatewayListenerUnitTest.java:163)
>      [java]     [junit]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     [junit]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java]     [junit]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java]     [junit]         at java.lang.reflect.Method.invoke(Method.java:585)
>      [java]     [junit]         at junit.framework.TestCase.runTest(TestCase.java:164)
>      [java]     [junit]         at junit.framework.TestCase.runBare(TestCase.java:130)
>      [java]     [junit]         at junit.framework.TestResult$1.protect(TestResult.java:110)
>      [java]     [junit]         at junit.framework.TestResult.runProtected(TestResult.java:128)
>      [java]     [junit]         at junit.framework.TestResult.run(TestResult.java:113)
>      [java]     [junit]         at junit.framework.TestCase.run(TestCase.java:120)
>      [java]     [junit]         at junit.framework.TestSuite.runTest(TestSuite.java:228)
>      [java]     [junit]         at junit.framework.TestSuite.run(TestSuite.java:223)
>      [java]     [junit]         at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
>      [java]     [junit]         at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32)
>      [java]     [junit]         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
>      [java]     [junit]         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
>      [java]     [junit]         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the esb-issues mailing list