org.jitr
Class JitrTestWithExternalSpring

java.lang.Object
  extended by org.jitr.JitrTestBase
      extended by org.jitr.JitrTestWithExternalSpring

@JitrConfiguration(mode=MIXED)
@ContextConfiguration(locations="/META-INF/spring/test-beans.xml",
                      loader=org.springframework.test.context.support.GenericXmlContextLoader.class)
public class JitrTestWithExternalSpring
extends JitrTestBase


Field Summary
 
Fields inherited from class org.jitr.JitrTestBase
baseUri, port
 
Constructor Summary
JitrTestWithExternalSpring()
           
 
Method Summary
 void before()
          In this test, we need to setup the remote Jetty service since the service injected is a local and different Spring application context.
protected  java.lang.String getRemoteTestString()
           
 
Methods inherited from class org.jitr.JitrTestBase
getInputStreamAsString, testHttpCall, testJitrFieldWiring
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JitrTestWithExternalSpring

public JitrTestWithExternalSpring()
Method Detail

before

public void before()
            throws java.lang.Exception
In this test, we need to setup the remote Jetty service since the service injected is a local and different Spring application context.

Throws:
java.lang.Exception

getRemoteTestString

protected java.lang.String getRemoteTestString()
Overrides:
getRemoteTestString in class JitrTestBase


Copyright © 2009. All Rights Reserved.