Polishing: suppressing warnings.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1470 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
parent
efa98d3ff4
commit
4ec91c47c3
|
|
@ -31,14 +31,13 @@ import org.junit.AfterClass;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import org.springframework.test.context.support.AbstractTestExecutionListener;
|
|
||||||
import org.springframework.core.style.ToStringCreator;
|
import org.springframework.core.style.ToStringCreator;
|
||||||
|
import org.springframework.test.context.support.AbstractTestExecutionListener;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* JUnit 4 based unit test for {@link TestContextManager}, which verifies
|
* JUnit 4 based unit test for {@link TestContextManager}, which verifies proper
|
||||||
* proper <em>execution order</em> of registered
|
* <em>execution order</em> of registered {@link TestExecutionListener
|
||||||
* {@link TestExecutionListener TestExecutionListeners}.
|
* TestExecutionListeners}.
|
||||||
*
|
*
|
||||||
* @author Sam Brannen
|
* @author Sam Brannen
|
||||||
* @since 2.5
|
* @since 2.5
|
||||||
|
|
@ -58,9 +57,9 @@ public class TestContextManagerTests {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Asserts the <em>execution order</em> of 'before' and 'after' test
|
* Asserts the <em>execution order</em> of 'before' and 'after' test method
|
||||||
* method calls on {@link TestExecutionListener listeners} registered for
|
* calls on {@link TestExecutionListener listeners} registered for the
|
||||||
* the configured {@link TestContextManager}.
|
* configured {@link TestContextManager}.
|
||||||
*
|
*
|
||||||
* @see #beforeTestMethodCalls
|
* @see #beforeTestMethodCalls
|
||||||
* @see #afterTestMethodCalls
|
* @see #afterTestMethodCalls
|
||||||
|
|
@ -143,6 +142,7 @@ public class TestContextManagerTests {
|
||||||
@ContextConfiguration
|
@ContextConfiguration
|
||||||
private static class ExampleTestCase {
|
private static class ExampleTestCase {
|
||||||
|
|
||||||
|
@SuppressWarnings("unused")
|
||||||
public void exampleTestMethod() {
|
public void exampleTestMethod() {
|
||||||
assertTrue(true);
|
assertTrue(true);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue