From airavata-commits-return-388-apmail-incubator-airavata-commits-archive=incubator.apache.org@incubator.apache.org Tue Sep 6 22:22:02 2011 Return-Path: X-Original-To: apmail-incubator-airavata-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-airavata-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A3D0797E for ; Tue, 6 Sep 2011 22:22:02 +0000 (UTC) Received: (qmail 98688 invoked by uid 500); 6 Sep 2011 22:22:02 -0000 Delivered-To: apmail-incubator-airavata-commits-archive@incubator.apache.org Received: (qmail 98641 invoked by uid 500); 6 Sep 2011 22:22:01 -0000 Mailing-List: contact airavata-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: airavata-dev@incubator.apache.org Delivered-To: mailing list airavata-commits@incubator.apache.org Received: (qmail 98634 invoked by uid 99); 6 Sep 2011 22:22:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2011 22:22:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2011 22:21:59 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id C2F542388847; Tue, 6 Sep 2011 22:21:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1165910 - in /incubator/airavata/trunk/modules/gfac-core: pom.xml src/test/java/org/apache/airavata/core/gfac/factory/EchoLocalFactoryTest.java Date: Tue, 06 Sep 2011 22:21:39 -0000 To: airavata-commits@incubator.apache.org From: patanachai@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110906222139.C2F542388847@eris.apache.org> Author: patanachai Date: Tue Sep 6 22:21:39 2011 New Revision: 1165910 URL: http://svn.apache.org/viewvc?rev=1165910&view=rev Log: Fix test error and move working directory to target folder. Modified: incubator/airavata/trunk/modules/gfac-core/pom.xml incubator/airavata/trunk/modules/gfac-core/src/test/java/org/apache/airavata/core/gfac/factory/EchoLocalFactoryTest.java Modified: incubator/airavata/trunk/modules/gfac-core/pom.xml URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/pom.xml?rev=1165910&r1=1165909&r2=1165910&view=diff ============================================================================== --- incubator/airavata/trunk/modules/gfac-core/pom.xml (original) +++ incubator/airavata/trunk/modules/gfac-core/pom.xml Tue Sep 6 22:21:39 2011 @@ -1,139 +1,152 @@ + license agreements. See the NOTICE file distributed with this work for additional + information regarding copyright ownership. The ASF licenses this file to + you under the Apache License, Version 2.0 (theÏ "License"); you may not use + this file except in compliance with the License. You may obtain a copy of + the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required + by applicable law or agreed to in writing, software distributed under the + License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS + OF ANY ~ KIND, either express or implied. See the License for the specific + language governing permissions and limitations under the License. --> - 4.0.0 - airavata - gfac-core - 0.0.1-SNAPSHOT - GFac-Core - The core GFAC functionality independent from any webservice implementation. - - 1.6.1 - 1.2.16 - - - - ogce.m2.all - ogce.m2.all - http://community.ucs.indiana.edu:9090/archiva/repository/ogce.m2.all - - daily - - - - - - - cog-jglobus - cog-jglobus - 1.8.0_1 - - - cog-4_1_6_rc2 - puretls - jar - cog-4_1_6 - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 + airavata + gfac-core + 0.0.1-SNAPSHOT + GFac-Core + The core GFAC functionality independent from any webservice implementation. + + 1.6.1 + 1.2.16 + + + + ogce.m2.all + ogce.m2.all + http://community.ucs.indiana.edu:9090/archiva/repository/ogce.m2.all + + daily + + + + + + + cog-jglobus + cog-jglobus + 1.8.0_1 + + + cog-4_1_6_rc2 + puretls + jar + cog-4_1_6 + cog-4_1_6_rc2 cryptix32 cog-4_1_6 - - - cog-4_1_6_rc2 - cryptix-asn1 - cog-4_1_6 - - - bouncycastle - bcprov-jdk15 - 143 - - - - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - - - airavata - airavata-gfac-schema-utils - 0.0.1-SNAPSHOT - + + + cog-4_1_6_rc2 + cryptix-asn1 + cog-4_1_6 + + + bouncycastle + bcprov-jdk15 + 143 + + + + + org.slf4j + slf4j-api + ${org.slf4j.version} + + + + + airavata + airavata-gfac-schema-utils + 0.0.1-SNAPSHOT + - + airavata airavata-workflowtracking 0.0.1-SNAPSHOT - + + + + + xregistry + xregistry-client + 1.2.2 + + + xregistry + xregistry_generated + 0.8.3 + jar + + + + + net.schmizz + sshj + 0.3.1 + - - - xregistry - xregistry-client - 1.2.2 - - - xregistry - xregistry_generated - 0.8.3 - jar - - - - - net.schmizz - sshj - 0.3.1 - - - - - com.amazonaws - aws-java-sdk - 1.1.8 - - - - - junit - junit - 4.7 + + + com.amazonaws + aws-java-sdk + 1.1.8 + + + + + junit + junit + 4.7 test - + org.slf4j slf4j-simple ${org.slf4j.version} test - - - org.apache.jackrabbit - jackrabbit-core - 2.2.7 - test - - - org.apache.jackrabbit - jackrabbit-jcr-rmi - 2.2.7 - test - - + + + org.apache.jackrabbit + jackrabbit-core + 2.2.8 + test + + + org.apache.jackrabbit + jackrabbit-jcr-rmi + 2.2.8 + test + + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + ${project.build.testOutputDirectory} + + + + Modified: incubator/airavata/trunk/modules/gfac-core/src/test/java/org/apache/airavata/core/gfac/factory/EchoLocalFactoryTest.java URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/test/java/org/apache/airavata/core/gfac/factory/EchoLocalFactoryTest.java?rev=1165910&r1=1165909&r2=1165910&view=diff ============================================================================== --- incubator/airavata/trunk/modules/gfac-core/src/test/java/org/apache/airavata/core/gfac/factory/EchoLocalFactoryTest.java (original) +++ incubator/airavata/trunk/modules/gfac-core/src/test/java/org/apache/airavata/core/gfac/factory/EchoLocalFactoryTest.java Tue Sep 6 22:21:39 2011 @@ -22,9 +22,10 @@ package org.apache.airavata.core.gfac.factory; import org.apache.airavata.core.gfac.context.InvocationContext; -import org.apache.airavata.core.gfac.context.MessageContext; +import org.apache.airavata.core.gfac.context.impl.ExecutionContextImpl; import org.apache.airavata.core.gfac.context.impl.ParameterContextImpl; import org.apache.airavata.core.gfac.exception.GfacException; +import org.apache.airavata.core.gfac.notification.impl.StandardOutNotification; import org.apache.airavata.core.gfac.services.GenericService; import org.apache.airavata.core.gfac.type.parameter.StringParameter; import org.junit.Assert; @@ -52,7 +53,11 @@ public class EchoLocalFactoryTest { output.addParameter("echo_output", b); ct.addMessageContext("input", input); - ct.addMessageContext("output", output); + ct.addMessageContext("output", output); + + ct.setExecutionContext(new ExecutionContextImpl()); + ct.getExecutionContext().setNotificationService(new StandardOutNotification()); + try { GenericService service = new EchoLocalServiceFactory()