summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/testing/itest
diff options
context:
space:
mode:
authorscottkurz <scottkurz@13f79535-47bb-0310-9956-ffa450edef68>2012-05-30 15:45:39 +0000
committerscottkurz <scottkurz@13f79535-47bb-0310-9956-ffa450edef68>2012-05-30 15:45:39 +0000
commit8ae79063ef6cb6473c2501203b9a448b57bb51fb (patch)
treeee57582ad661b4817e5c599b47024b183949b93a /sca-java-2.x/trunk/testing/itest
parentb07f87a11bbf1467e4acf1b79135f493f81dc1ef (diff)
Check in the rest of TUSCANY-4054. Thanks Andrew.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1344313 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/testing/itest')
-rw-r--r--sca-java-2.x/trunk/testing/itest/base/dependencies/src/test/java/org/apache/tuscany/sca/itest/base/dependencies/ValidateDependenciesTestCase.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/base/dependencies/src/test/java/org/apache/tuscany/sca/itest/base/dependencies/ValidateDependenciesTestCase.java b/sca-java-2.x/trunk/testing/itest/base/dependencies/src/test/java/org/apache/tuscany/sca/itest/base/dependencies/ValidateDependenciesTestCase.java
index c17b495d50..2c665183ce 100644
--- a/sca-java-2.x/trunk/testing/itest/base/dependencies/src/test/java/org/apache/tuscany/sca/itest/base/dependencies/ValidateDependenciesTestCase.java
+++ b/sca-java-2.x/trunk/testing/itest/base/dependencies/src/test/java/org/apache/tuscany/sca/itest/base/dependencies/ValidateDependenciesTestCase.java
@@ -52,6 +52,14 @@ public class ValidateDependenciesTestCase {
Assert.assertTrue(dependenciesDir.exists());
File[] dependencyFiles = dependenciesDir.listFiles();
- Assert.assertEquals(6, dependencyFiles.length);
+
+
+ String vend = System.getProperty("java.vendor");
+
+ if(vend.equals("IBM Corporation")) {
+ Assert.assertEquals(12, dependencyFiles.length);
+ } else {
+ Assert.assertEquals(8, dependencyFiles.length);
+ }
}
}