Browse Source

Don't encode '@' in {@code} tags

pull/512/head
Sam Brannen 12 years ago
parent
commit
d53b498839
  1. 14
      spring-test/src/main/java/org/springframework/test/context/transaction/AfterTransaction.java
  2. 14
      spring-test/src/main/java/org/springframework/test/context/transaction/BeforeTransaction.java
  3. 6
      spring-test/src/test/java/org/springframework/test/context/junit4/ClassLevelTransactionalSpringRunnerTests.java
  4. 8
      spring-test/src/test/java/org/springframework/test/context/junit4/MethodLevelTransactionalSpringRunnerTests.java
  5. 4
      spring-test/src/test/java/org/springframework/test/context/junit4/MultipleResourcesSpringJUnit4ClassRunnerAppCtxTests.java

14
spring-test/src/main/java/org/springframework/test/context/transaction/AfterTransaction.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2013 the original author or authors.
* Copyright 2002-2014 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,14 +24,12 @@ import static java.lang.annotation.ElementType.*; @@ -24,14 +24,12 @@ import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.*;
/**
* <p>Test annotation to indicate that the annotated {@code public void}
* method should be executed <em>after</em> a transaction is ended for test
* methods configured to run within a transaction via the
* {@code &#064;Transactional} annotation.
* <p>Test annotation to indicate that the annotated {@code public void} method
* should be executed <em>after</em> a transaction is ended for a test method
* configured to run within a transaction via the {@code @Transactional} annotation.
*
* <p>
* The {@code &#064;AfterTransaction} methods of superclasses will be
* executed after those of the current class.
* <p>The {@code @AfterTransaction} methods of superclasses will be executed
* after those of the current class.
*
* <p>As of Spring Framework 4.0, this annotation may be used as a
* <em>meta-annotation</em> to create custom <em>composed annotations</em>.

14
spring-test/src/main/java/org/springframework/test/context/transaction/BeforeTransaction.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2013 the original author or authors.
* Copyright 2002-2014 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,14 +24,12 @@ import static java.lang.annotation.ElementType.*; @@ -24,14 +24,12 @@ import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.*;
/**
* <p>Test annotation to indicate that the annotated {@code public void}
* method should be executed <em>before</em> a transaction is started for test
* methods configured to run within a transaction via the
* {@code &#064;Transactional} annotation.
* <p>Test annotation to indicate that the annotated {@code public void} method
* should be executed <em>before</em> a transaction is started for a test method
* configured to run within a transaction via the {@code @Transactional} annotation.
*
* <p>The {@code &#064;BeforeTransaction} methods of superclasses will be
* executed before those of the current class.
* </p>
* <p>The {@code @BeforeTransaction} methods of superclasses will be executed
* before those of the current class.
*
* <p>As of Spring Framework 4.0, this annotation may be used as a
* <em>meta-annotation</em> to create custom <em>composed annotations</em>.

6
spring-test/src/test/java/org/springframework/test/context/junit4/ClassLevelTransactionalSpringRunnerTests.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2013 the original author or authors.
* Copyright 2002-2014 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.
@ -51,8 +51,8 @@ import org.springframework.transaction.annotation.Transactional; @@ -51,8 +51,8 @@ import org.springframework.transaction.annotation.Transactional;
* <li>{@link TransactionalTestExecutionListener}</li>
* </ul>
* <p>
* This class specifically tests usage of {@code &#064;Transactional}
* defined at the <strong>class level</strong>.
* This class specifically tests usage of {@code @Transactional} defined at the
* <strong>class level</strong>.
* </p>
*
* @author Sam Brannen

8
spring-test/src/test/java/org/springframework/test/context/junit4/MethodLevelTransactionalSpringRunnerTests.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2012 the original author or authors.
* Copyright 2002-2014 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.
@ -50,10 +50,10 @@ import org.springframework.transaction.annotation.Transactional; @@ -50,10 +50,10 @@ import org.springframework.transaction.annotation.Transactional;
* <li>{@link TransactionalTestExecutionListener}</li>
* </ul>
* <p>
* This class specifically tests usage of {@code &#064;Transactional}
* defined at the <strong>method level</strong>. In contrast to
* This class specifically tests usage of {@code @Transactional} defined at the
* <strong>method level</strong>. In contrast to
* {@link ClassLevelTransactionalSpringRunnerTests}, this class omits usage of
* {@code &#064;NotTransactional}.
* {@code @NotTransactional}.
* </p>
*
* @author Sam Brannen

4
spring-test/src/test/java/org/springframework/test/context/junit4/MultipleResourcesSpringJUnit4ClassRunnerAppCtxTests.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2012 the original author or authors.
* Copyright 2002-2014 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.
@ -28,7 +28,7 @@ import org.springframework.util.ResourceUtils; @@ -28,7 +28,7 @@ import org.springframework.util.ResourceUtils;
* As of Spring 3.0,
* {@code MultipleResourcesSpringJUnit4ClassRunnerAppCtxTests} is also used
* to verify support for the new {@code value} attribute alias for
* {@code &#064;ContextConfiguration}'s {@code locations} attribute.
* {@code @ContextConfiguration}'s {@code locations} attribute.
* </p>
*
* @author Sam Brannen

Loading…
Cancel
Save