--- 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<ISymbianBuildContext> 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();
}