diff --git a/src/java/com/zimbra/qa/soap/TestCase.java b/src/java/com/zimbra/qa/soap/TestCase.java index 23a5cf05..d9d01cda 100644 --- a/src/java/com/zimbra/qa/soap/TestCase.java +++ b/src/java/com/zimbra/qa/soap/TestCase.java @@ -67,7 +67,11 @@ public class TestCase extends AbsTest { "smoke-temp", "bhr-temp", "sanity-temp", - "functional-temp" + "functional-temp", + "smoke-tbd", + "bhr-tbd", + "sanity-tbd", + "functional-tbd" }; public static final String[] DURATIONS = { @@ -501,6 +505,11 @@ protected boolean shouldSkip(SoapTestCore core) throws HarnessException String[] SANITY_TEMP_TYPES = {"always","sanity-temp"}; String[] FUNCTIONAL_TEMP_TYPES = {"always","functional-temp"}; + String[] SMOKE_TBD_TYPES = {"always","smoke-tbd"}; + String[] BHR_TBD_TYPES = {"always","bhr-tbd"}; + String[] SANITY_TBD_TYPES = {"always","sanity-tbd"}; + String[] FUNCTIONAL_TBD_TYPES = {"always","functional-tbd"}; + for (Iterator iterator = SoapTestCore.testType.iterator(); iterator.hasNext(); ) { String type = iterator.next(); @@ -575,6 +584,29 @@ protected boolean shouldSkip(SoapTestCore core) throws HarnessException return false; } } + if (type.equalsIgnoreCase("smoke-tbd")) { + if (hasType(SMOKE_TBD_TYPES)) { + return false; + } + } + + if (type.equalsIgnoreCase("bhr-tbd")) { + if (hasType(BHR_TBD_TYPES)) { + return false; + } + } + + if (type.equalsIgnoreCase("sanity-tbd")) { + if (hasType(SANITY_TBD_TYPES)) { + return false; + } + } + + if (type.equalsIgnoreCase("functional-tbd")) { + if (hasType(FUNCTIONAL_TBD_TYPES)) { + return false; + } + } } mLog.debug("shouldSkip: No match - skip the test");