diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-27 07:23:14 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-27 07:23:14 +0000 |
commit | 0b7a474c6e4fff940edca22c595c7a3bdb3b2972 (patch) | |
tree | da6e54d911693f7819975306ec7dc83bd48446ce /sca-java-2.x/contrib/modules/section10/src/test | |
parent | 9ebf526c867d0ee38b130c0226925dc49b78f105 (diff) |
Add new exceptions
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@948699 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/contrib/modules/section10/src/test')
-rw-r--r-- | sca-java-2.x/contrib/modules/section10/src/test/java/org/apache/tuscany/sca/something/Section10TestCase.java | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sca-java-2.x/contrib/modules/section10/src/test/java/org/apache/tuscany/sca/something/Section10TestCase.java b/sca-java-2.x/contrib/modules/section10/src/test/java/org/apache/tuscany/sca/something/Section10TestCase.java index faadf2cc0a..ae32bdd503 100644 --- a/sca-java-2.x/contrib/modules/section10/src/test/java/org/apache/tuscany/sca/something/Section10TestCase.java +++ b/sca-java-2.x/contrib/modules/section10/src/test/java/org/apache/tuscany/sca/something/Section10TestCase.java @@ -24,6 +24,7 @@ import java.util.List; import junit.framework.Assert;
import org.apache.tuscany.sca.contribution.processor.ContributionReadException;
+import org.apache.tuscany.sca.monitor.ValidationException;
import org.apache.tuscany.sca.runtime.ActivationException;
import org.junit.Test;
import org.oasisopen.sca.NoSuchDomainException;
@@ -32,7 +33,7 @@ import org.oasisopen.sca.NoSuchServiceException; public class Section10TestCase {
@Test
- public void testInstallDeployable() throws NoSuchServiceException, NoSuchDomainException, ContributionReadException, ActivationException {
+ public void testInstallDeployable() throws NoSuchServiceException, NoSuchDomainException, ContributionReadException, ActivationException, ValidationException {
Section10 section10 = Section10Factory.createSection10();
section10.installContribution("src/test/resources/sample-helloworld.jar");
@@ -41,7 +42,7 @@ public class Section10TestCase { }
@Test
- public void testInstallWithDependent() throws NoSuchServiceException, NoSuchDomainException, ContributionReadException, ActivationException {
+ public void testInstallWithDependent() throws NoSuchServiceException, ContributionReadException, ActivationException, ValidationException {
Section10 section10 = Section10Factory.createSection10();
section10.installContribution("/Tuscany/svn/2.x-trunk/itest/T3558/src/test/resources/sample-store.jar");
section10.installContribution("/Tuscany/svn/2.x-trunk/itest/T3558/src/test/resources/sample-store-client.jar");
@@ -51,7 +52,7 @@ public class Section10TestCase { }
@Test
- public void testInstallNoDeployable() throws NoSuchServiceException, NoSuchDomainException, ContributionReadException, ActivationException {
+ public void testInstallNoDeployable() throws NoSuchServiceException, NoSuchDomainException, ContributionReadException, ActivationException, ValidationException {
Section10 section10 = Section10Factory.createSection10();
String contributionURI = section10.installContribution("src/test/resources/sample-helloworld-nodeployable.jar");
@@ -69,7 +70,7 @@ public class Section10TestCase { }
@Test
- public void testGetInstalledContributions() throws NoSuchServiceException, NoSuchDomainException, ContributionReadException, ActivationException {
+ public void testGetInstalledContributions() throws NoSuchServiceException, NoSuchDomainException, ContributionReadException, ActivationException, ValidationException {
Section10 section10 = Section10Factory.createSection10();
section10.installContribution("foo", "src/test/resources/sample-helloworld-nodeployable.jar");
List<String> ics = section10.getInstalledContributions();
@@ -78,7 +79,7 @@ public class Section10TestCase { }
@Test
- public void testGetDeployedCompostes() throws NoSuchServiceException, NoSuchDomainException, ContributionReadException, MalformedURLException, ActivationException {
+ public void testGetDeployedCompostes() throws NoSuchServiceException, NoSuchDomainException, ContributionReadException, MalformedURLException, ActivationException, ValidationException {
Section10 section10 = Section10Factory.createSection10();
section10.installContribution("foo", "src/test/resources/sample-helloworld.jar");
List<String> dcs = section10.getDeployedCompostes("foo");
@@ -87,7 +88,7 @@ public class Section10TestCase { }
@Test
- public void testRemoveComposte() throws NoSuchServiceException, NoSuchDomainException, ContributionReadException, MalformedURLException, ActivationException {
+ public void testRemoveComposte() throws NoSuchServiceException, NoSuchDomainException, ContributionReadException, MalformedURLException, ActivationException, ValidationException {
Section10 section10 = Section10Factory.createSection10();
section10.installContribution("foo", "src/test/resources/sample-helloworld.jar");
section10.removeFromDomainLevelComposite("foo/helloworld.composite");
|