From: <ad...@jb...> - 2005-04-28 21:18:43
|
"tom...@jb..." wrote : | anonymous wrote : I've never liked the idea of passing arguments to tests this way. | | So given that my test example may not be a good example of why jvmarg is needed, I have another, more valid one. I have been working on SSL transport for remoting. This means that I'll need to be able to declare where the key store is located via a system property (i.e. -Djavax.net.ssl.keyStore=.keystore). This one is outside my control :) | | TestCase.setup() and System.setProperty() or docs/guide/security/jsse/JSSERefGuide.html#CustomizingStores For mocking something up that can be used in a testcase while still maintaining the ability for the test to be run with other tests that also want to do SSL with different trust configuration and/or checking failure conditions like expriing the certificate or removing one from the trusted chain. e.g. http://cvs.sourceforge.net/viewcvs.py/jboss/jboss/src/main/org/jboss/invocation/http/interfaces/AnyhostVerifier.java?rev=1.6&view=markup View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875843#3875843 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875843 |