From 8ae79063ef6cb6473c2501203b9a448b57bb51fb Mon Sep 17 00:00:00 2001 From: scottkurz Date: Wed, 30 May 2012 15:45:39 +0000 Subject: 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 --- .../itest/base/dependencies/ValidateDependenciesTestCase.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sca-java-2.x/trunk/testing/itest') 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); + } } } -- cgit v1.2.3