Return-Path: X-Original-To: apmail-airavata-commits-archive@www.apache.org Delivered-To: apmail-airavata-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 79B1311D4C for ; Tue, 6 May 2014 21:29:38 +0000 (UTC) Received: (qmail 10298 invoked by uid 500); 6 May 2014 20:14:06 -0000 Delivered-To: apmail-airavata-commits-archive@airavata.apache.org Received: (qmail 6590 invoked by uid 500); 6 May 2014 20:04:14 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 5166 invoked by uid 99); 6 May 2014 20:01:28 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 May 2014 20:01:28 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id D7BC08B429C; Tue, 6 May 2014 19:55:58 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: raminder@apache.org To: commits@airavata.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: updated for AIRAVATA-1199. Date: Tue, 6 May 2014 19:55:58 +0000 (UTC) Repository: airavata Updated Branches: refs/heads/master 3132bf02d -> b7fea7112 updated for AIRAVATA-1199. Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/b7fea711 Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/b7fea711 Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/b7fea711 Branch: refs/heads/master Commit: b7fea71124ca5d9080b2f198c698d77205af1e80 Parents: 3132bf0 Author: raminder Authored: Tue May 6 15:55:47 2014 -0400 Committer: raminder Committed: Tue May 6 15:55:47 2014 -0400 ---------------------------------------------------------------------- .../org/apache/airavata/orchestrator/core/ValidatorTest.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/b7fea711/modules/orchestrator/orchestrator-core/src/test/java/org/apache/airavata/orchestrator/core/ValidatorTest.java ---------------------------------------------------------------------- diff --git a/modules/orchestrator/orchestrator-core/src/test/java/org/apache/airavata/orchestrator/core/ValidatorTest.java b/modules/orchestrator/orchestrator-core/src/test/java/org/apache/airavata/orchestrator/core/ValidatorTest.java index c45e9f2..5c98826 100644 --- a/modules/orchestrator/orchestrator-core/src/test/java/org/apache/airavata/orchestrator/core/ValidatorTest.java +++ b/modules/orchestrator/orchestrator-core/src/test/java/org/apache/airavata/orchestrator/core/ValidatorTest.java @@ -33,7 +33,6 @@ import org.apache.airavata.orchestrator.cpi.impl.SimpleOrchestratorImpl; import org.apache.airavata.persistance.registry.jpa.impl.RegistryFactory; import org.apache.airavata.registry.cpi.ParentDataType; import org.apache.airavata.registry.cpi.Registry; -import org.apache.airavata.schemas.gfac.DataType; import org.junit.Assert; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -64,14 +63,14 @@ public class ValidatorTest extends BaseOrchestratorTest { List exInputs = new ArrayList(); DataObjectType input = new DataObjectType(); input.setKey("echo_input"); - input.setType(DataType.STRING.toString()); + input.setType(DataType.STRING); input.setValue("echo_output=Hello World"); exInputs.add(input); List exOut = new ArrayList(); DataObjectType output = new DataObjectType(); output.setKey("echo_output"); - output.setType(DataType.STRING.toString()); + output.setType(DataType.STRING); output.setValue(""); exOut.add(output);