[jboss-jira] [JBoss JIRA] Commented: (JBNAME-38) Unit tests are not running in jnpserver

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Tue Oct 20 04:51:06 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBNAME-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12490484#action_12490484 ] 

Carlo de Wolf commented on JBNAME-38:
-------------------------------------

Running the unit tests yields:

-------------------------------------------------------------------------------
Test set: org.jnp.test.NamingEventsUnitTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.053 sec <<< FAILURE!
testAddRemoveOneLevel(org.jnp.test.NamingEventsUnitTest)  Time elapsed: 0.01 sec  <<< ERROR!
java.lang.UnsupportedOperationException: Naming implementation (org.jnp.server.NamingServerWrapper at 30d82d) does not implement NamingEvents
        at org.jnp.interfaces.NamingContext.addNamingListener(NamingContext.java:1296)
        at org.jnp.interfaces.NamingContext.addNamingListener(NamingContext.java:1314)
        at org.jnp.test.NamingEventsUnitTest.testAddRemoveOneLevel(NamingEventsUnitTest.java:88)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

> Unit tests are not running in jnpserver
> ---------------------------------------
>
>                 Key: JBNAME-38
>                 URL: https://jira.jboss.org/jira/browse/JBNAME-38
>             Project: JBoss Naming
>          Issue Type: Task
>            Reporter: Carlo de Wolf
>            Assignee: Carlo de Wolf
>            Priority: Blocker
>             Fix For: 5.1.0.Beta1
>
>


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

        



More information about the jboss-jira mailing list