You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2007/02/24 15:09:41 UTC
svn commit: r511277 - in
/incubator/tuscany/branches/sca-java-integration/sca/extensions/script/itests/src:
main/resources/META-INF/sca/ test/java/helloworld/
Author: antelder
Date: Sat Feb 24 06:09:40 2007
New Revision: 511277
URL: http://svn.apache.org/viewvc?view=rev&rev=511277
Log:
Rename scdl to helloworld.composite
Added:
incubator/tuscany/branches/sca-java-integration/sca/extensions/script/itests/src/main/resources/META-INF/sca/helloworld.composite
- copied unchanged from r511276, incubator/tuscany/branches/sca-java-integration/sca/extensions/script/itests/src/main/resources/META-INF/sca/application.composite
Removed:
incubator/tuscany/branches/sca-java-integration/sca/extensions/script/itests/src/main/resources/META-INF/sca/application.composite
Modified:
incubator/tuscany/branches/sca-java-integration/sca/extensions/script/itests/src/test/java/helloworld/HelloWorldClientTestCase.java
Modified: incubator/tuscany/branches/sca-java-integration/sca/extensions/script/itests/src/test/java/helloworld/HelloWorldClientTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/extensions/script/itests/src/test/java/helloworld/HelloWorldClientTestCase.java?view=diff&rev=511277&r1=511276&r2=511277
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/extensions/script/itests/src/test/java/helloworld/HelloWorldClientTestCase.java (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/extensions/script/itests/src/test/java/helloworld/HelloWorldClientTestCase.java Sat Feb 24 06:09:40 2007
@@ -32,12 +32,6 @@
private CompositeContext compositeContext;
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- this.compositeContext = CurrentCompositeContext.getContext();
- }
-
public void testHelloWorldJavaScript() throws Exception {
HelloWorldService helloWorldService = compositeContext.locateService(HelloWorldService.class, "HelloWorldJSComponent");
String msg = helloWorldService.getGreetings("Petra");
@@ -63,6 +57,13 @@
// Assert.assertEquals("groovyHello Petra", msg);
// }
+ @Override
+ protected void setUp() throws Exception {
+ setApplicationSCDL(getClass().getResource("/META-INF/sca/helloworld.composite"));
+ super.setUp();
+ this.compositeContext = CurrentCompositeContext.getContext();
+ }
+
@Override
protected void tearDown() throws Exception {
super.tearDown();
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org