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/03/16 22:50:54 UTC

svn commit: r519152 - in /incubator/tuscany/java/sca/extensions/script/testing/javascript/helloworld: ./ src/main/resources/HelloWorld.js src/test/java/org/apache/tuscany/sca/runtime/itest/smoketest/BasicTestComponent.java

Author: antelder
Date: Fri Mar 16 14:50:53 2007
New Revision: 519152

URL: http://svn.apache.org/viewvc?view=rev&rev=519152
Log:
Update javascript test assert to match python

Modified:
    incubator/tuscany/java/sca/extensions/script/testing/javascript/helloworld/   (props changed)
    incubator/tuscany/java/sca/extensions/script/testing/javascript/helloworld/src/main/resources/HelloWorld.js
    incubator/tuscany/java/sca/extensions/script/testing/javascript/helloworld/src/test/java/org/apache/tuscany/sca/runtime/itest/smoketest/BasicTestComponent.java

Propchange: incubator/tuscany/java/sca/extensions/script/testing/javascript/helloworld/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Mar 16 14:50:53 2007
@@ -0,0 +1,14 @@
+target
+*.iws
+*.ipr
+*.iml
+.project
+.classpath
+maven.log
+velocity.log*
+junit*.properties
+surefire*.properties
+.settings
+.deployables
+.wtpmodules
+

Modified: incubator/tuscany/java/sca/extensions/script/testing/javascript/helloworld/src/main/resources/HelloWorld.js
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/extensions/script/testing/javascript/helloworld/src/main/resources/HelloWorld.js?view=diff&rev=519152&r1=519151&r2=519152
==============================================================================
--- incubator/tuscany/java/sca/extensions/script/testing/javascript/helloworld/src/main/resources/HelloWorld.js (original)
+++ incubator/tuscany/java/sca/extensions/script/testing/javascript/helloworld/src/main/resources/HelloWorld.js Fri Mar 16 14:50:53 2007
@@ -1,3 +1,3 @@
 function getGreeting(name) {
-   return "Hello " + name;
+   return "jsHello " + name;
 }

Modified: incubator/tuscany/java/sca/extensions/script/testing/javascript/helloworld/src/test/java/org/apache/tuscany/sca/runtime/itest/smoketest/BasicTestComponent.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/extensions/script/testing/javascript/helloworld/src/test/java/org/apache/tuscany/sca/runtime/itest/smoketest/BasicTestComponent.java?view=diff&rev=519152&r1=519151&r2=519152
==============================================================================
--- incubator/tuscany/java/sca/extensions/script/testing/javascript/helloworld/src/test/java/org/apache/tuscany/sca/runtime/itest/smoketest/BasicTestComponent.java (original)
+++ incubator/tuscany/java/sca/extensions/script/testing/javascript/helloworld/src/test/java/org/apache/tuscany/sca/runtime/itest/smoketest/BasicTestComponent.java Fri Mar 16 14:50:53 2007
@@ -29,6 +29,6 @@
     public HelloService hello;
 
     public void testGreeting() {
-        assertEquals("Hello petra", hello.getGreeting("petra"));
+        assertEquals("jsHello petra", hello.getGreeting("petra"));
     }
 }



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