airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hes...@apache.org
Subject svn commit: r1350780 - /incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/SimpleForEachWorkflowTest.java
Date Fri, 15 Jun 2012 20:21:44 GMT
Author: heshan
Date: Fri Jun 15 20:21:44 2012
New Revision: 1350780

URL: http://svn.apache.org/viewvc?rev=1350780&view=rev
Log:
Fixing a typo that will result in running a wrong workflow.

Modified:
    incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/SimpleForEachWorkflowTest.java

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/SimpleForEachWorkflowTest.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/SimpleForEachWorkflowTest.java?rev=1350780&r1=1350779&r2=1350780&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/SimpleForEachWorkflowTest.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/SimpleForEachWorkflowTest.java
Fri Jun 15 20:21:44 2012
@@ -55,9 +55,8 @@ public class SimpleForEachWorkflowTest {
     @Test
     public void testScheduleDynamically() throws IOException, URISyntaxException, WorkflowException
{
         logger.info("Running SimpleForEachWorkflowTest...");
-        URL systemResource = this.getClass().getClassLoader().getSystemResource("SimpleEcho.xwf");
+        URL systemResource = this.getClass().getClassLoader().getSystemResource("SimpleForEach.xwf");
         Workflow workflow = new Workflow(WorkflowTestUtils.readWorkflow(systemResource));
-        ((InputNode) workflow.getGraph().getNode("input")).setDefaultValue("1");
         XBayaConfiguration conf = WorkflowTestUtils.getConfiguration();
         AiravataRegistry registry = conf.getJcrComponentRegistry()==null? null:conf.getJcrComponentRegistry().getRegistry();
 		WorkflowInterpreterConfiguration workflowInterpreterConfiguration = new WorkflowInterpreterConfiguration(workflow,
UUID.randomUUID().toString(),conf.getMessageBoxURL(), conf.getBrokerURL(), registry, conf,
null,null,null,true);



Mime
View raw message