tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r453294 - in /incubator/tuscany/java/sca/services/containers/container.javascript/src/test: java/org/apache/tuscany/container/javascript/function/ resources/org/apache/tuscany/container/javascript/function/
Date Thu, 05 Oct 2006 17:36:46 GMT
Author: antelder
Date: Thu Oct  5 10:36:46 2006
New Revision: 453294

URL: http://svn.apache.org/viewvc?view=rev&rev=453294
Log:
activate the property test now that they're fixe din r453291

Modified:
    incubator/tuscany/java/sca/services/containers/container.javascript/src/test/java/org/apache/tuscany/container/javascript/function/HelloWorldTestCase.java
    incubator/tuscany/java/sca/services/containers/container.javascript/src/test/resources/org/apache/tuscany/container/javascript/function/helloworld.scdl

Modified: incubator/tuscany/java/sca/services/containers/container.javascript/src/test/java/org/apache/tuscany/container/javascript/function/HelloWorldTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/services/containers/container.javascript/src/test/java/org/apache/tuscany/container/javascript/function/HelloWorldTestCase.java?view=diff&rev=453294&r1=453293&r2=453294
==============================================================================
--- incubator/tuscany/java/sca/services/containers/container.javascript/src/test/java/org/apache/tuscany/container/javascript/function/HelloWorldTestCase.java
(original)
+++ incubator/tuscany/java/sca/services/containers/container.javascript/src/test/java/org/apache/tuscany/container/javascript/function/HelloWorldTestCase.java
Thu Oct  5 10:36:46 2006
@@ -88,11 +88,11 @@
         //System.out.println(response);
     }
 
-//    public void testHelloWorldProperty() throws Exception {
-//        HelloWorldService helloWorldService = context.locateService(HelloWorldService.class,
"HelloWorldProperty");
-//        assertEquals(helloWorldService.sayHello("petra"), "Kia ora petra");
-//    }
-//
+    public void testHelloWorldProperty() throws Exception {
+        HelloWorldService helloWorldService = context.locateService(HelloWorldService.class,
"HelloWorldProperty");
+        assertEquals(helloWorldService.sayHello("petra"), "Kia ora petra");
+    }
+
     public void testHelloWorldPropertyDefault() throws Exception {
         HelloWorldService helloWorldService = context.locateService(HelloWorldService.class,
"HelloWorldPropertyDefault");
         assertEquals(helloWorldService.sayHello("petra"), "Hi petra");

Modified: incubator/tuscany/java/sca/services/containers/container.javascript/src/test/resources/org/apache/tuscany/container/javascript/function/helloworld.scdl
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/services/containers/container.javascript/src/test/resources/org/apache/tuscany/container/javascript/function/helloworld.scdl?view=diff&rev=453294&r1=453293&r2=453294
==============================================================================
--- incubator/tuscany/java/sca/services/containers/container.javascript/src/test/resources/org/apache/tuscany/container/javascript/function/helloworld.scdl
(original)
+++ incubator/tuscany/java/sca/services/containers/container.javascript/src/test/resources/org/apache/tuscany/container/javascript/function/helloworld.scdl
Thu Oct  5 10:36:46 2006
@@ -39,12 +39,10 @@
         <implementation.java class="helloworld.HelloWorldServiceImpl"/>
     </component>
 
-<!--
   	<component name="HelloWorldProperty">
 		<js:implementation.js script="org/apache/tuscany/container/javascript/function/propertyTest.js"/>
         <property name="GREETING">Kia ora</property>
     </component>
--->
 
   	<component name="HelloWorldPropertyDefault">
 		<js:implementation.js script="org/apache/tuscany/container/javascript/function/propertyTest.js"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message