"johnbailey" wrote : It looks like a lot of work has been done with the classloading, so I will pull my local OSGI deployer and make sure it follows a similar pattern to the BootstrapDeployersTest and base the facade test off that.
|
The way you had it means it will boot the server for every individual test
(very slow :-). I've fixed it (you should use the super class to construct
the TestSuite), and also made it so it undeploys the test deployment
in teardown() to match the setUp().
If …
[View More]you are going to share a deployment throughout all tests, you might consider
adding something that deploys things based on the test class name, rather
than for each individual test.
e.g. Look at MicrocontainerTestDelegate::deploy()
which tries to deploy an org.jboss.test.xxx.xml for a test called
org.jboss.test.xxx.class
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133594#4133594
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133594
[View Less]
'ant test' fails with the following output:
[javac] /home/trustin/workspace/checkout/jboss/remoting2/src/tests/org/jboss/test/remoting/transport/bisocket/BisocketTestCase.java:1813: cannot find symbol
| [javac] symbol : method setDisconnectTimeout(int)
| [javac] location: class org.jboss.remoting.Client
| [javac] client.setDisconnectTimeout(0);
| [javac] ^
| [javac] Note: Some input files use unchecked or unsafe operations.
| [javac] …
[View More]Note: Recompile with -Xlint:unchecked for details.
| [javac] 1 error
| [javac] 5 warnings
It seems like org.jboss.remoting.Client doesn't have such a method. Is it gone, or is something not checked in yet?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133553#4133553
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133553
[View Less]