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/04/12 16:26:35 UTC
svn commit: r527956 - in
/incubator/tuscany/java/sca/modules/implementation-script/src/test:
java/org/apache/tuscany/implementation/script/itests/javascript/ resources/
resources/org.apache.tuscany.implementation.script.itests.javascript/
resources/org...
Author: antelder
Date: Thu Apr 12 07:26:31 2007
New Revision: 527956
URL: http://svn.apache.org/viewvc?view=rev&rev=527956
Log:
Move script testcase resources from root to itest package
Added:
incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/org/
incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/org/apache/
incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/org/apache/tuscany/
incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/org/apache/tuscany/implementation/
incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/org/apache/tuscany/implementation/script/
incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/org/apache/tuscany/implementation/script/itests/
incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/org/apache/tuscany/implementation/script/itests/javascript/
incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/org/apache/tuscany/implementation/script/itests/javascript/HelloWorldJS.composite
incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/org/apache/tuscany/implementation/script/itests/javascript/helloworld.componentType
- copied unchanged from r527807, incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/helloworld.componentType
incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/org/apache/tuscany/implementation/script/itests/javascript/helloworld.js
- copied unchanged from r527807, incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/helloworld.js
Removed:
incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/HelloWorldJS.composite
incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/helloworld.componentType
incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/helloworld.js
incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/org.apache.tuscany.implementation.script.itests.javascript/
Modified:
incubator/tuscany/java/sca/modules/implementation-script/src/test/java/org/apache/tuscany/implementation/script/itests/javascript/HelloWorldTestCase.java
Modified: incubator/tuscany/java/sca/modules/implementation-script/src/test/java/org/apache/tuscany/implementation/script/itests/javascript/HelloWorldTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-script/src/test/java/org/apache/tuscany/implementation/script/itests/javascript/HelloWorldTestCase.java?view=diff&rev=527956&r1=527955&r2=527956
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-script/src/test/java/org/apache/tuscany/implementation/script/itests/javascript/HelloWorldTestCase.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-script/src/test/java/org/apache/tuscany/implementation/script/itests/javascript/HelloWorldTestCase.java Thu Apr 12 07:26:31 2007
@@ -35,7 +35,7 @@
}
protected void setUp() throws Exception {
- SCARuntime.start("HelloWorldJS.composite");
+ SCARuntime.start("org/apache/tuscany/implementation/script/itests/javascript/HelloWorldJS.composite");
ComponentContext context = SCARuntime.getComponentContext("HelloWorldComponent");
ServiceReference<HelloWorld> service = context.createSelfReference(HelloWorld.class);
helloWorld = service.getService();
Added: incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/org/apache/tuscany/implementation/script/itests/javascript/HelloWorldJS.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/org/apache/tuscany/implementation/script/itests/javascript/HelloWorldJS.composite?view=auto&rev=527956
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/org/apache/tuscany/implementation/script/itests/javascript/HelloWorldJS.composite (added)
+++ incubator/tuscany/java/sca/modules/implementation-script/src/test/resources/org/apache/tuscany/implementation/script/itests/javascript/HelloWorldJS.composite Thu Apr 12 07:26:31 2007
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ name="HelloWorldJS">
+
+ <component name="HelloWorldComponent">
+ <implementation.java class="org.apache.tuscany.implementation.script.itests.HelloWorldProxy"/>
+ <reference name="delegate" target="HelloWorldJSComponent"></reference>
+ </component>
+
+ <component name="HelloWorldJSComponent">
+ <implementation.script script="org/apache/tuscany/implementation/script/itests/javascript/helloworld.js"/>
+ </component>
+
+</composite>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org