Updated JavaDoc for @TestExecutionListeners.
This commit is contained in:
parent
30967d3b20
commit
2796e72de1
|
|
@ -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>@TestExecutionListeners</code> will be used in conjunction with
|
||||||
* conjunction with {@link ContextConfiguration @ContextConfiguration}.
|
* {@link ContextConfiguration @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,
|
* @TestExecutionListeners({ DependencyInjectionTestExecutionListener.class,
|
||||||
* DirtiesContextTestExecutionListener.class })
|
* DirtiesContextTestExecutionListener.class })
|
||||||
* public abstract class AbstractBaseTest {
|
* public abstract class AbstractBaseTest {
|
||||||
* // ...
|
* // ...
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* {@link TestExecutionListeners @TestExecutionListeners}({ TransactionalTestExecutionListener.class })
|
* @TestExecutionListeners(TransactionalTestExecutionListener.class)
|
||||||
* public class TransactionalTest extends BaseTest {
|
* public class TransactionalTest extends AbstractBaseTest {
|
||||||
* // ...
|
* // ...
|
||||||
* }
|
* }
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue