Browse Source

Updated JavaDoc for @TestExecutionListeners.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1068 50f2f4bb-b051-0410-bef5-90022cba6387
pull/1/head
Sam Brannen 17 years ago
parent
commit
6c3dd342fe
  1. 18
      org.springframework.test/src/main/java/org/springframework/test/context/TestExecutionListeners.java

18
org.springframework.test/src/main/java/org/springframework/test/context/TestExecutionListeners.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2007 the original author or authors.
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -24,11 +24,11 @@ import java.lang.annotation.RetentionPolicy; @@ -24,11 +24,11 @@ import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* TestExecutionListeners defines class-level metadata for configuring which
* {@link TestExecutionListener TestExecutionListeners} should be registered
* with a {@link TestContextManager}. Typically,
* {@link TestExecutionListeners @TestExecutionListeners} will be used in
* conjunction with {@link ContextConfiguration @ContextConfiguration}.
* <code>TestExecutionListeners</code> defines class-level metadata for
* configuring which {@link TestExecutionListener TestExecutionListeners} should
* be registered with a {@link TestContextManager}. Typically,
* <code>&#064;TestExecutionListeners</code> will be used in conjunction with
* {@link ContextConfiguration &#064;ContextConfiguration}.
*
* @author Sam Brannen
* @since 2.5
@ -75,14 +75,14 @@ public @interface TestExecutionListeners { @@ -75,14 +75,14 @@ public @interface TestExecutionListeners {
* </p>
*
* <pre class="code">
* {@link TestExecutionListeners @TestExecutionListeners}({ DependencyInjectionTestExecutionListener.class,
* &#064;TestExecutionListeners({ DependencyInjectionTestExecutionListener.class,
* DirtiesContextTestExecutionListener.class })
* public abstract class AbstractBaseTest {
* // ...
* }
*
* {@link TestExecutionListeners @TestExecutionListeners}({ TransactionalTestExecutionListener.class })
* public class TransactionalTest extends BaseTest {
* &#064;TestExecutionListeners(TransactionalTestExecutionListener.class)
* public class TransactionalTest extends AbstractBaseTest {
* // ...
* }
* </pre>

Loading…
Cancel
Save