public void fireTestIgnored() { notifier.fireTestIgnored(description); }
public void fireTestIgnored() { fNotifier.fireTestIgnored(fDescription); } }
@Override public void run(RunNotifier notifier) { notifier.fireTestIgnored(getDescription()); }
@Override public void run(RunNotifier notifier) { notifier.fireTestIgnored(getDescription()); }
@Override public void run(RunNotifier notifier) { notifier.fireTestIgnored(getDescription()); }
@Override public void featureSkipped(FeatureInfo feature) { masterListener.featureSkipped(feature); notifier.fireTestIgnored(feature.getDescription()); }
@Override public void specSkipped(SpecInfo spec) { masterListener.specSkipped(spec); notifier.fireTestIgnored(spec.getDescription()); }
@Override protected void runChild(final FrameworkMethod method, RunNotifier notifier) { Description description = describeChild(method); if (isIgnored(method)) { notifier.fireTestIgnored(description); } else { Statement statement = new Statement() { @Override public void evaluate() throws Throwable { methodBlock(method).evaluate(); } }; runLeaf(statement, description, notifier); } }
@Override protected void runChild(final FrameworkMethod method, RunNotifier notifier) { Description description = describeChild(method); if (method.getAnnotation(Ignore.class) != null) { notifier.fireTestIgnored(description); } else { runLeaf(methodBlock(method), description, notifier); } }
/** * Check whether the test is enabled in the current execution environment. * <p>This prevents classes with a non-matching {@code @IfProfileValue} * annotation from running altogether, even skipping the execution of * {@code prepareTestInstance()} methods in {@code TestExecutionListeners}. * @see ProfileValueUtils#isTestEnabledInThisEnvironment(Class) * @see org.springframework.test.annotation.IfProfileValue * @see org.springframework.test.context.TestExecutionListener */ @Override public void run(RunNotifier notifier) { if (!ProfileValueUtils.isTestEnabledInThisEnvironment(getTestClass().getJavaClass())) { notifier.fireTestIgnored(getDescription()); return; } super.run(notifier); }
/** * Perform the same logic as * {@link BlockJUnit4ClassRunner#runChild(FrameworkMethod, RunNotifier)}, * except that tests are determined to be <em>ignored</em> by * {@link #isTestMethodIgnored(FrameworkMethod)}. */ @Override protected void runChild(FrameworkMethod frameworkMethod, RunNotifier notifier) { Description description = describeChild(frameworkMethod); if (isTestMethodIgnored(frameworkMethod)) { notifier.fireTestIgnored(description); } else { Statement statement; try { statement = methodBlock(frameworkMethod); } catch (Throwable ex) { statement = new Fail(ex); } runLeaf(statement, description, notifier); } }
@Override protected void runChild(TestDescriptor testCase, RunNotifier notifier) { Description description = describeChild(testCase); if (isIgnored(testCase)) { notifier.fireTestIgnored(description); } else { runLeaf(ruleTestBlock(testCase), description, notifier); } }
public void run() { if (testMethod.isIgnored()) { notifier.fireTestIgnored(description); return; } notifier.fireTestStarted(description); try { long timeout = testMethod.getTimeout(); if (timeout > 0) { runWithTimeout(timeout); } else { runTest(); } } finally { notifier.fireTestFinished(description); } }
public void run() { if (fTestMethod.isIgnored()) { fNotifier.fireTestIgnored(fDescription); return; } fNotifier.fireTestStarted(fDescription); try { long timeout = fTestMethod.getTimeout(); if (timeout > 0) { runWithTimeout(timeout); } else { runTest(); } } finally { fNotifier.fireTestFinished(fDescription); } }
notifier.fireTestIgnored(description); latch.countDown(); return; } else { if (!ran) { notifier.fireTestIgnored(description);
@Override public void runChild(FrameworkMethod method, RunNotifier notifier) { ExcludeOnTravis condition = method.getAnnotation(ExcludeOnTravis.class); if (condition == null) { super.runChild(method, notifier); } else if (System.getenv("TRAVIS") != null) { notifier.fireTestIgnored(describeChild(method)); } else { super.runChild(method, notifier); } } }
@Override protected void runChild(final FrameworkMethod method, final RunNotifier notifier) { final Description description = describeChild(method); if (method.getAnnotation(Ignore.class) != null) { notifier.fireTestIgnored(description); } else { runTestUnit(methodBlock(method), description, notifier); } }
public void fireTestIgnored() { fNotifier.fireTestIgnored(fDescription); } }
@Override public void run(RunNotifier notifier) { notifier.fireTestIgnored(getDescription()); }
@Override protected void runChild(final FrameworkMethod method, RunNotifier notifier) { Description description = describeChild(method); if (method.getAnnotation(Ignore.class) != null) { notifier.fireTestIgnored(description); } else { runLeaf(methodBlock(method), description, notifier); } }