You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by la...@apache.org on 2011/10/27 23:08:58 UTC
svn commit: r1190032 - in /incubator/airavata/trunk/modules/test-suite:
pom.xml
src/test/java/org/apache/airavata/test/suite/workflowtracking/tests/LeadNotificationManagerTest.java
Author: lahiru
Date: Thu Oct 27 21:08:57 2011
New Revision: 1190032
URL: http://svn.apache.org/viewvc?rev=1190032&view=rev
Log:
fixing test errors.
Modified:
incubator/airavata/trunk/modules/test-suite/pom.xml
incubator/airavata/trunk/modules/test-suite/src/test/java/org/apache/airavata/test/suite/workflowtracking/tests/LeadNotificationManagerTest.java
Modified: incubator/airavata/trunk/modules/test-suite/pom.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/test-suite/pom.xml?rev=1190032&r1=1190031&r2=1190032&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/test-suite/pom.xml (original)
+++ incubator/airavata/trunk/modules/test-suite/pom.xml Thu Oct 27 21:08:57 2011
@@ -32,6 +32,13 @@
<artifactId>cog-jglobus</artifactId>
<version>1.8.0_1</version>
</dependency>
+<dependency>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-transport-local</artifactId>
+ <version>${axis2.version}</version>
+ <scope>compile</scope>
+ </dependency>
+
<dependency>
<groupId>cog-4_1_6_rc2</groupId>
<artifactId>puretls</artifactId>
Modified: incubator/airavata/trunk/modules/test-suite/src/test/java/org/apache/airavata/test/suite/workflowtracking/tests/LeadNotificationManagerTest.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/test-suite/src/test/java/org/apache/airavata/test/suite/workflowtracking/tests/LeadNotificationManagerTest.java?rev=1190032&r1=1190031&r2=1190032&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/test-suite/src/test/java/org/apache/airavata/test/suite/workflowtracking/tests/LeadNotificationManagerTest.java (original)
+++ incubator/airavata/trunk/modules/test-suite/src/test/java/org/apache/airavata/test/suite/workflowtracking/tests/LeadNotificationManagerTest.java Thu Oct 27 21:08:57 2011
@@ -23,6 +23,7 @@ package org.apache.airavata.test.suite.w
import org.apache.airavata.workflow.tracking.client.LeadNotificationManager;
import org.junit.After;
+import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
@@ -39,9 +40,9 @@ public class LeadNotificationManagerTest
@Test
public final void testGetBrokerPublishEPR() {
- String endpointRefAsStr = LeadNotificationManager.getBrokerPublishEPR("http://brokerurl", "testtopic");
+ String endpointRefAsStr = LeadNotificationManager.getBrokerPublishEPR("http://localhost:8080/axis2/services/EventingService", "testtopic");
- System.out.println(endpointRefAsStr);
+ Assert.assertEquals("<EndpointReference><wsa:Address xmlns:wsa=\"http://www.w3.org/2005/08/addressing\">http://localhost:8080/axis2/services/EventingService/topic/testtopic</wsa:Address></EndpointReference>",endpointRefAsStr);
}