airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hes...@apache.org
Subject svn commit: r1221418 - in /incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter: AdderService.java MultiplierService.java
Date Tue, 20 Dec 2011 18:41:11 GMT
Author: heshan
Date: Tue Dec 20 18:41:11 2011
New Revision: 1221418

URL: http://svn.apache.org/viewvc?rev=1221418&view=rev
Log:
AIRAVATA-225 Adding AdderService and MultiplierServices for the test workflows.

Added:
    incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/AdderService.java
    incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/MultiplierService.java

Added: incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/AdderService.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/AdderService.java?rev=1221418&view=auto
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/AdderService.java
(added)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/AdderService.java
Tue Dec 20 18:41:11 2011
@@ -0,0 +1,8 @@
+package org.apache.airavata.xbaya.interpreter;
+
+public class AdderService {
+
+    public int add(int param1, int param2) {
+        return param1 + param2;
+    }
+}

Added: incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/MultiplierService.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/MultiplierService.java?rev=1221418&view=auto
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/MultiplierService.java
(added)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/MultiplierService.java
Tue Dec 20 18:41:11 2011
@@ -0,0 +1,12 @@
+package org.apache.airavata.xbaya.interpreter;
+
+public class MultiplierService {
+    public int adder(int param1, int param2) {
+        return param1 + param2;
+    }
+
+    public int multiplier(int param1, int param2) {
+        return param1 * param2;
+    }
+
+}



Mime
View raw message