# HG changeset patch # User Ed Swartz # Date 1260370902 21600 # Node ID 19b66faa8ff1757592414360d507f0ad7d00b6b5 # Parent fb206b3e6ddab3a8bd2bbb7f95c7097a3db0b8f3 Use maximum 8 build configs for tests diff -r fb206b3e6dda -r 19b66faa8ff1 project/com.nokia.carbide.cpp.project.core.tests/src/com/nokia/carbide/cpp/project/core/tests/TestsPlugin.java --- a/project/com.nokia.carbide.cpp.project.core.tests/src/com/nokia/carbide/cpp/project/core/tests/TestsPlugin.java Wed Dec 09 09:01:15 2009 -0600 +++ b/project/com.nokia.carbide.cpp.project.core.tests/src/com/nokia/carbide/cpp/project/core/tests/TestsPlugin.java Wed Dec 09 09:01:42 2009 -0600 @@ -78,10 +78,10 @@ for (ISymbianSDK sdk : SDKCorePlugin.getSDKManager().getSDKList()) { List contexts = sdk.getUnfilteredBuildConfigurations(); if (contexts.size() > 0) - return contexts; + return contexts.subList(0, Math.min(contexts.size(), 8)); } TestCase.fail("No installed SDKs provide build configurations"); - return Collections.EMPTY_LIST; + return Collections.emptyList(); }