Updated JavaDoc for @TestExecutionListeners.

This commit is contained in:
Sam Brannen 2009-04-27 22:49:34 +00:00
parent 30967d3b20
commit 2796e72de1
1 changed files with 9 additions and 9 deletions

View File

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