summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2013-07-05 13:23:55 (EDT)
committer Steffen Pingel2013-07-05 13:23:55 (EDT)
commit2a105f64049aabfa6b4c8b06be918937071692d1 (patch)
treed59ffbf75fd6ec7fe7051cc15278dfdfbd217f0b
parent4a7d9dc95c83dece897f2cfdd7810e19f2a18d05 (diff)
downloadorg.eclipse.mylyn.commons-2a105f64049aabfa6b4c8b06be918937071692d1.zip
org.eclipse.mylyn.commons-2a105f64049aabfa6b4c8b06be918937071692d1.tar.gz
org.eclipse.mylyn.commons-2a105f64049aabfa6b4c8b06be918937071692d1.tar.bz2
386764: fail if list of fixtures is emptyrefs/changes/24/14324/1
Change-Id: I7a4f095efbb92cc88544abb89b49b479e56a9e4a Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=386764
-rw-r--r--org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/TestConfiguration.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/TestConfiguration.java b/org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/TestConfiguration.java
index 86dd4ca..f2b9b57 100644
--- a/org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/TestConfiguration.java
+++ b/org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/TestConfiguration.java
@@ -134,6 +134,11 @@ public class TestConfiguration {
defaultOnly);
}
+ if (fixtures.isEmpty()) {
+ throw new RuntimeException(NLS.bind("Failed to discover any fixtures for kind {0} with defaultOnly={1}",
+ fixtureType, Boolean.toString(defaultOnly)));
+ }
+
return fixtures;
}