diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2012-05-25 08:04:52 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2012-05-25 08:04:52 +0000 |
commit | 8cb395b6412b7b0862487b82132bd9866b2eaf4b (patch) | |
tree | c2956ae8c9efb9e3c54681de0b32600b9aac96b5 /sca-java-2.x/trunk/testing/itest/scdl/src/test/java | |
parent | 14d5f455298023a1f3232e25bb17c5482d6574bd (diff) |
TUSCANY-4054: Apply fix from Andrew Potter to fix scdl itest with ibm jdk
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1342523 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/testing/itest/scdl/src/test/java')
-rw-r--r-- | sca-java-2.x/trunk/testing/itest/scdl/src/test/java/org/apache/tuscany/sca/itest/scdl/ValidateDependenciesTestCase.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/scdl/src/test/java/org/apache/tuscany/sca/itest/scdl/ValidateDependenciesTestCase.java b/sca-java-2.x/trunk/testing/itest/scdl/src/test/java/org/apache/tuscany/sca/itest/scdl/ValidateDependenciesTestCase.java index 82b3706bc5..8b8abd3a4e 100644 --- a/sca-java-2.x/trunk/testing/itest/scdl/src/test/java/org/apache/tuscany/sca/itest/scdl/ValidateDependenciesTestCase.java +++ b/sca-java-2.x/trunk/testing/itest/scdl/src/test/java/org/apache/tuscany/sca/itest/scdl/ValidateDependenciesTestCase.java @@ -49,6 +49,12 @@ 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);
+ }
}
}
|