You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2008/06/03 06:30:53 UTC
svn commit: r662637 - in
/incubator/tuscany/java/sca/itest/validation/src/test/java/impl:
resource/CouldNotResolveLocationTestCase.java
widget/CouldNotResolveLocationTestCase.java
Author: lresende
Date: Mon Jun 2 21:30:53 2008
New Revision: 662637
URL: http://svn.apache.org/viewvc?rev=662637&view=rev
Log:
TUSCANY-2362 - Applying patch from Ram
Modified:
incubator/tuscany/java/sca/itest/validation/src/test/java/impl/resource/CouldNotResolveLocationTestCase.java
incubator/tuscany/java/sca/itest/validation/src/test/java/impl/widget/CouldNotResolveLocationTestCase.java
Modified: incubator/tuscany/java/sca/itest/validation/src/test/java/impl/resource/CouldNotResolveLocationTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/validation/src/test/java/impl/resource/CouldNotResolveLocationTestCase.java?rev=662637&r1=662636&r2=662637&view=diff
==============================================================================
--- incubator/tuscany/java/sca/itest/validation/src/test/java/impl/resource/CouldNotResolveLocationTestCase.java (original)
+++ incubator/tuscany/java/sca/itest/validation/src/test/java/impl/resource/CouldNotResolveLocationTestCase.java Mon Jun 2 21:30:53 2008
@@ -20,18 +20,17 @@
import junit.framework.Assert;
import junit.framework.TestCase;
+
import org.apache.tuscany.sca.monitor.Monitor;
import org.apache.tuscany.sca.monitor.Problem;
import org.apache.tuscany.sca.monitor.impl.DefaultLoggingMonitorImpl;
-import org.junit.Ignore;
-import org.junit.Test;
import domain.CustomCompositeBuilder;
/**
* This shows how to test the Calculator service component.
*/
-public class CouldNotResolveLocationTestCase {
+public class CouldNotResolveLocationTestCase extends TestCase {
private CustomCompositeBuilder customDomain;
@@ -50,8 +49,6 @@
//nothing to do
}
- @Ignore
- @Test
public void testCalculator() {
Monitor monitor = customDomain.getMonitorInstance();
Problem problem = ((DefaultLoggingMonitorImpl)monitor).getLastLoggedProblem();
Modified: incubator/tuscany/java/sca/itest/validation/src/test/java/impl/widget/CouldNotResolveLocationTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/validation/src/test/java/impl/widget/CouldNotResolveLocationTestCase.java?rev=662637&r1=662636&r2=662637&view=diff
==============================================================================
--- incubator/tuscany/java/sca/itest/validation/src/test/java/impl/widget/CouldNotResolveLocationTestCase.java (original)
+++ incubator/tuscany/java/sca/itest/validation/src/test/java/impl/widget/CouldNotResolveLocationTestCase.java Mon Jun 2 21:30:53 2008
@@ -20,18 +20,17 @@
import junit.framework.Assert;
import junit.framework.TestCase;
+
import org.apache.tuscany.sca.monitor.Monitor;
import org.apache.tuscany.sca.monitor.Problem;
import org.apache.tuscany.sca.monitor.impl.DefaultLoggingMonitorImpl;
-import org.junit.Ignore;
-import org.junit.Test;
import domain.CustomCompositeBuilder;
/**
* This shows how to test the Calculator service component.
*/
-public class CouldNotResolveLocationTestCase {
+public class CouldNotResolveLocationTestCase extends TestCase {
private CustomCompositeBuilder customDomain;
@@ -50,8 +49,6 @@
//nothing to do
}
- @Ignore
- @Test
public void testCalculator() {
Monitor monitor = customDomain.getMonitorInstance();
Problem problem = ((DefaultLoggingMonitorImpl)monitor).getLastLoggedProblem();