Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
爱吃血肠
spring-framework
提交
9eb19ac8
S
spring-framework
项目概览
爱吃血肠
/
spring-framework
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
spring-framework
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9eb19ac8
编写于
8月 21, 2009
作者:
S
Sam Brannen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Polishing test annotation declarations and JavaDoc.
上级
a1b3b875
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
62 addition
and
65 deletion
+62
-65
org.springframework.test/src/main/java/org/springframework/test/annotation/DirtiesContext.java
...a/org/springframework/test/annotation/DirtiesContext.java
+2
-2
org.springframework.test/src/main/java/org/springframework/test/annotation/ExpectedException.java
...rg/springframework/test/annotation/ExpectedException.java
+4
-4
org.springframework.test/src/main/java/org/springframework/test/annotation/IfProfileValue.java
...a/org/springframework/test/annotation/IfProfileValue.java
+3
-3
org.springframework.test/src/main/java/org/springframework/test/annotation/NotTransactional.java
...org/springframework/test/annotation/NotTransactional.java
+3
-4
org.springframework.test/src/main/java/org/springframework/test/annotation/ProfileValueSourceConfiguration.java
...work/test/annotation/ProfileValueSourceConfiguration.java
+7
-7
org.springframework.test/src/main/java/org/springframework/test/annotation/Repeat.java
...main/java/org/springframework/test/annotation/Repeat.java
+6
-6
org.springframework.test/src/main/java/org/springframework/test/annotation/Rollback.java
...in/java/org/springframework/test/annotation/Rollback.java
+3
-3
org.springframework.test/src/main/java/org/springframework/test/annotation/Timed.java
.../main/java/org/springframework/test/annotation/Timed.java
+4
-4
org.springframework.test/src/main/java/org/springframework/test/context/ContextConfiguration.java
...rg/springframework/test/context/ContextConfiguration.java
+8
-8
org.springframework.test/src/main/java/org/springframework/test/context/TestExecutionListeners.java
.../springframework/test/context/TestExecutionListeners.java
+10
-10
org.springframework.test/src/main/java/org/springframework/test/context/transaction/AfterTransaction.java
...gframework/test/context/transaction/AfterTransaction.java
+4
-5
org.springframework.test/src/main/java/org/springframework/test/context/transaction/BeforeTransaction.java
...framework/test/context/transaction/BeforeTransaction.java
+4
-5
org.springframework.test/src/main/java/org/springframework/test/context/transaction/TransactionConfiguration.java
...rk/test/context/transaction/TransactionConfiguration.java
+4
-4
未找到文件。
org.springframework.test/src/main/java/org/springframework/test/annotation/DirtiesContext.java
浏览文件 @
9eb19ac8
...
@@ -53,9 +53,9 @@ import java.lang.annotation.Target;
...
@@ -53,9 +53,9 @@ import java.lang.annotation.Target;
* @author Rod Johnson
* @author Rod Johnson
* @since 2.0
* @since 2.0
*/
*/
@Target
(
{
ElementType
.
TYPE
,
ElementType
.
METHOD
})
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Documented
@Documented
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Target
(
{
ElementType
.
TYPE
,
ElementType
.
METHOD
})
public
@interface
DirtiesContext
{
public
@interface
DirtiesContext
{
/**
/**
...
...
org.springframework.test/src/main/java/org/springframework/test/annotation/ExpectedException.java
浏览文件 @
9eb19ac8
/*
/*
* Copyright 2002-200
7
the original author or authors.
* Copyright 2002-200
9
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.
...
@@ -25,14 +25,14 @@ import java.lang.annotation.Target;
...
@@ -25,14 +25,14 @@ import java.lang.annotation.Target;
/**
/**
* Test annotation to indicate that a test method is required to throw the
* Test annotation to indicate that a test method is required to throw the
* specified exception.
* specified exception.
*
*
* @author Rod Johnson
* @author Rod Johnson
* @author Sam Brannen
* @author Sam Brannen
* @since 2.0
* @since 2.0
*/
*/
@Target
(
{
ElementType
.
METHOD
})
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Documented
@Documented
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Target
(
ElementType
.
METHOD
)
public
@interface
ExpectedException
{
public
@interface
ExpectedException
{
Class
<?
extends
Throwable
>
value
();
Class
<?
extends
Throwable
>
value
();
...
...
org.springframework.test/src/main/java/org/springframework/test/annotation/IfProfileValue.java
浏览文件 @
9eb19ac8
...
@@ -72,10 +72,10 @@ import java.lang.annotation.Target;
...
@@ -72,10 +72,10 @@ import java.lang.annotation.Target;
* @see org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
* @see org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
* @see org.springframework.test.context.junit4.SpringJUnit4ClassRunner
* @see org.springframework.test.context.junit4.SpringJUnit4ClassRunner
*/
*/
@Target
(
{
ElementType
.
TYPE
,
ElementType
.
METHOD
})
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Inherited
@Documented
@Documented
@Inherited
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Target
(
{
ElementType
.
TYPE
,
ElementType
.
METHOD
})
public
@interface
IfProfileValue
{
public
@interface
IfProfileValue
{
/**
/**
...
...
org.springframework.test/src/main/java/org/springframework/test/annotation/NotTransactional.java
浏览文件 @
9eb19ac8
...
@@ -24,14 +24,13 @@ import java.lang.annotation.Target;
...
@@ -24,14 +24,13 @@ import java.lang.annotation.Target;
/**
/**
* Test annotation to indicate that a method is not transactional.
* Test annotation to indicate that a method is not transactional.
*
*
* @author Rod Johnson
* @author Rod Johnson
* @author Sam Brannen
* @author Sam Brannen
* @since 2.0
* @since 2.0
*/
*/
@Target
(
{
ElementType
.
METHOD
})
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Documented
@Documented
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Target
(
ElementType
.
METHOD
)
public
@interface
NotTransactional
{
public
@interface
NotTransactional
{
}
}
org.springframework.test/src/main/java/org/springframework/test/annotation/ProfileValueSourceConfiguration.java
浏览文件 @
9eb19ac8
/*
/*
* Copyright 2002-200
7
the original author or authors.
* Copyright 2002-200
9
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.
...
@@ -27,20 +27,20 @@ import java.lang.annotation.Target;
...
@@ -27,20 +27,20 @@ import java.lang.annotation.Target;
* <p>
* <p>
* ProfileValueSourceConfiguration is a class-level annotation which is used to
* ProfileValueSourceConfiguration is a class-level annotation which is used to
* specify what type of {@link ProfileValueSource} to use when retrieving
* specify what type of {@link ProfileValueSource} to use when retrieving
* <em>profile values</em> configured via the
* <em>profile values</em> configured via the
{@link IfProfileValue
*
{@link IfProfileValue @
IfProfileValue} annotation.
*
@
IfProfileValue} annotation.
* </p>
* </p>
*
*
* @author Sam Brannen
* @author Sam Brannen
* @since 2.5
* @since 2.5
* @see ProfileValueSource
* @see ProfileValueSource
* @see IfProfileValue
* @see IfProfileValue
* @see ProfileValueUtils
* @see ProfileValueUtils
*/
*/
@Documented
@Inherited
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Target
(
ElementType
.
TYPE
)
@Target
(
ElementType
.
TYPE
)
@Inherited
@Documented
public
@interface
ProfileValueSourceConfiguration
{
public
@interface
ProfileValueSourceConfiguration
{
/**
/**
...
@@ -48,7 +48,7 @@ public @interface ProfileValueSourceConfiguration {
...
@@ -48,7 +48,7 @@ public @interface ProfileValueSourceConfiguration {
* The type of {@link ProfileValueSource} to use when retrieving
* The type of {@link ProfileValueSource} to use when retrieving
* <em>profile values</em>.
* <em>profile values</em>.
* </p>
* </p>
*
*
* @see SystemProfileValueSource
* @see SystemProfileValueSource
*/
*/
Class
<?
extends
ProfileValueSource
>
value
()
default
SystemProfileValueSource
.
class
;
Class
<?
extends
ProfileValueSource
>
value
()
default
SystemProfileValueSource
.
class
;
...
...
org.springframework.test/src/main/java/org/springframework/test/annotation/Repeat.java
浏览文件 @
9eb19ac8
/*
/*
* Copyright 2002-200
8
the original author or authors.
* Copyright 2002-200
9
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.
...
@@ -26,16 +26,16 @@ import java.lang.annotation.Target;
...
@@ -26,16 +26,16 @@ import java.lang.annotation.Target;
* Test annotation to indicate that a test method should be invoked repeatedly.
* Test annotation to indicate that a test method should be invoked repeatedly.
* <p />
* <p />
* Note that the scope of execution to be repeated includes execution of the
* Note that the scope of execution to be repeated includes execution of the
* test method itself as well as any <em>set up</em> or <em>tear down</em>
* test method itself as well as any <em>set up</em> or <em>tear down</em>
of
*
of
the test fixture.
* the test fixture.
*
*
* @author Rod Johnson
* @author Rod Johnson
* @author Sam Brannen
* @author Sam Brannen
* @since 2.0
* @since 2.0
*/
*/
@Target
(
{
ElementType
.
METHOD
})
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Documented
@Documented
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Target
(
ElementType
.
METHOD
)
public
@interface
Repeat
{
public
@interface
Repeat
{
int
value
()
default
1
;
int
value
()
default
1
;
...
...
org.springframework.test/src/main/java/org/springframework/test/annotation/Rollback.java
浏览文件 @
9eb19ac8
...
@@ -27,13 +27,13 @@ import java.lang.annotation.Target;
...
@@ -27,13 +27,13 @@ import java.lang.annotation.Target;
* test method should be <em>rolled back</em> after the test method has
* test method should be <em>rolled back</em> after the test method has
* completed. If <code>true</code>, the transaction will be rolled back;
* completed. If <code>true</code>, the transaction will be rolled back;
* otherwise, the transaction will be committed.
* otherwise, the transaction will be committed.
*
*
* @author Sam Brannen
* @author Sam Brannen
* @since 2.5
* @since 2.5
*/
*/
@Target
({
ElementType
.
METHOD
})
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Documented
@Documented
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Target
(
ElementType
.
METHOD
)
public
@interface
Rollback
{
public
@interface
Rollback
{
/**
/**
...
...
org.springframework.test/src/main/java/org/springframework/test/annotation/Timed.java
浏览文件 @
9eb19ac8
/*
/*
* Copyright 2002-200
8
the original author or authors.
* Copyright 2002-200
9
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.
...
@@ -36,16 +36,16 @@ import java.lang.annotation.Target;
...
@@ -36,16 +36,16 @@ import java.lang.annotation.Target;
* {@link Repeat repetitions} of the test, and any <em>set up</em> or
* {@link Repeat repetitions} of the test, and any <em>set up</em> or
* <em>tear down</em> of the test fixture.
* <em>tear down</em> of the test fixture.
* </p>
* </p>
*
*
* @author Rod Johnson
* @author Rod Johnson
* @author Sam Brannen
* @author Sam Brannen
* @since 2.0
* @since 2.0
* @see Repeat
* @see Repeat
* @see AbstractAnnotationAwareTransactionalTests
* @see AbstractAnnotationAwareTransactionalTests
*/
*/
@Target
({
ElementType
.
METHOD
})
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Documented
@Documented
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Target
(
ElementType
.
METHOD
)
public
@interface
Timed
{
public
@interface
Timed
{
/**
/**
...
...
org.springframework.test/src/main/java/org/springframework/test/context/ContextConfiguration.java
浏览文件 @
9eb19ac8
...
@@ -27,16 +27,16 @@ import java.lang.annotation.Target;
...
@@ -27,16 +27,16 @@ import java.lang.annotation.Target;
* ContextConfiguration defines class-level metadata which can be used to
* ContextConfiguration defines class-level metadata which can be used to
* instruct client code with regard to how to load and configure an
* instruct client code with regard to how to load and configure an
* {@link org.springframework.context.ApplicationContext ApplicationContext}.
* {@link org.springframework.context.ApplicationContext ApplicationContext}.
*
*
* @author Sam Brannen
* @author Sam Brannen
* @since 2.5
* @since 2.5
* @see ContextLoader
* @see ContextLoader
* @see org.springframework.context.ApplicationContext
* @see org.springframework.context.ApplicationContext
*/
*/
@Documented
@Inherited
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Target
(
ElementType
.
TYPE
)
@Target
(
ElementType
.
TYPE
)
@Inherited
@Documented
public
@interface
ContextConfiguration
{
public
@interface
ContextConfiguration
{
/**
/**
...
@@ -62,7 +62,7 @@ public @interface ContextConfiguration {
...
@@ -62,7 +62,7 @@ public @interface ContextConfiguration {
* defined by an annotated superclass. Thus, subclasses have the option of
* defined by an annotated superclass. Thus, subclasses have the option of
* <em>extending</em> the list of resource locations. In the following
* <em>extending</em> the list of resource locations. In the following
* example, the {@link org.springframework.context.ApplicationContext ApplicationContext}
* example, the {@link org.springframework.context.ApplicationContext ApplicationContext}
* for <code>ExtendedTest</code> will be loaded from
* for <code>ExtendedTest</code> will be loaded from
* "base-context.xml" <strong>and</strong>
* "base-context.xml" <strong>and</strong>
* "extended-context.xml", in that order. Beans defined in
* "extended-context.xml", in that order. Beans defined in
* "extended-context.xml" may therefore override those defined in
* "extended-context.xml" may therefore override those defined in
...
@@ -70,12 +70,12 @@ public @interface ContextConfiguration {
...
@@ -70,12 +70,12 @@ public @interface ContextConfiguration {
* <pre class="code">
* <pre class="code">
* @ContextConfiguration("base-context.xml")
* @ContextConfiguration("base-context.xml")
* public class BaseTest {
* public class BaseTest {
*
// ...
*
// ...
* }
* }
*
*
* @ContextConfiguration("extended-context.xml")
* @ContextConfiguration("extended-context.xml")
* public class ExtendedTest extends BaseTest {
* public class ExtendedTest extends BaseTest {
*
// ...
*
// ...
* }
* }
* </pre>
* </pre>
* If <code>inheritLocations</code> is set to <code>false</code>, the
* If <code>inheritLocations</code> is set to <code>false</code>, the
...
@@ -89,8 +89,8 @@ public @interface ContextConfiguration {
...
@@ -89,8 +89,8 @@ public @interface ContextConfiguration {
* {@link org.springframework.context.ApplicationContext ApplicationContext}.
* {@link org.springframework.context.ApplicationContext ApplicationContext}.
* <p>If not specified, the loader will be inherited from the first superclass
* <p>If not specified, the loader will be inherited from the first superclass
* which is annotated with <code>@ContextConfiguration</code> and specifies
* which is annotated with <code>@ContextConfiguration</code> and specifies
* an explicit loader. If no class in the hierarchy specifies an explicit
* an explicit loader. If no class in the hierarchy specifies an explicit
* loader, a default loader will be used instead.
* loader, a default loader will be used instead.
*/
*/
Class
<?
extends
ContextLoader
>
loader
()
default
ContextLoader
.
class
;
Class
<?
extends
ContextLoader
>
loader
()
default
ContextLoader
.
class
;
...
...
org.springframework.test/src/main/java/org/springframework/test/context/TestExecutionListeners.java
浏览文件 @
9eb19ac8
...
@@ -29,17 +29,17 @@ import java.lang.annotation.Target;
...
@@ -29,17 +29,17 @@ import java.lang.annotation.Target;
* be registered with a {@link TestContextManager}. Typically,
* be registered with a {@link TestContextManager}. Typically,
* <code>@TestExecutionListeners</code> will be used in conjunction with
* <code>@TestExecutionListeners</code> will be used in conjunction with
* {@link ContextConfiguration @ContextConfiguration}.
* {@link ContextConfiguration @ContextConfiguration}.
*
*
* @author Sam Brannen
* @author Sam Brannen
* @since 2.5
* @since 2.5
* @see TestExecutionListener
* @see TestExecutionListener
* @see TestContextManager
* @see TestContextManager
* @see ContextConfiguration
* @see ContextConfiguration
*/
*/
@Documented
@Inherited
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Target
(
ElementType
.
TYPE
)
@Target
(
ElementType
.
TYPE
)
@Inherited
@Documented
public
@interface
TestExecutionListeners
{
public
@interface
TestExecutionListeners
{
/**
/**
...
@@ -47,7 +47,7 @@ public @interface TestExecutionListeners {
...
@@ -47,7 +47,7 @@ public @interface TestExecutionListeners {
* The {@link TestExecutionListener TestExecutionListeners} to register with
* The {@link TestExecutionListener TestExecutionListeners} to register with
* a {@link TestContextManager}.
* a {@link TestContextManager}.
* </p>
* </p>
*
*
* @see org.springframework.test.context.support.DependencyInjectionTestExecutionListener
* @see org.springframework.test.context.support.DependencyInjectionTestExecutionListener
* @see org.springframework.test.context.support.DirtiesContextTestExecutionListener
* @see org.springframework.test.context.support.DirtiesContextTestExecutionListener
* @see org.springframework.test.context.transaction.TransactionalTestExecutionListener
* @see org.springframework.test.context.transaction.TransactionalTestExecutionListener
...
@@ -73,20 +73,20 @@ public @interface TestExecutionListeners {
...
@@ -73,20 +73,20 @@ public @interface TestExecutionListeners {
* <code>DirtiesContextTestExecutionListener</code>, <strong>and</strong>
* <code>DirtiesContextTestExecutionListener</code>, <strong>and</strong>
* <code>TransactionalTestExecutionListener</code>, in that order.
* <code>TransactionalTestExecutionListener</code>, in that order.
* </p>
* </p>
*
*
* <pre class="code">
* <pre class="code">
* @TestExecutionListeners({ DependencyInjectionTestExecutionListener.class,
* @TestExecutionListeners({ DependencyInjectionTestExecutionListener.class,
*
DirtiesContextTestExecutionListener.class })
*
DirtiesContextTestExecutionListener.class })
* public abstract class AbstractBaseTest {
* public abstract class AbstractBaseTest {
*
// ...
*
// ...
* }
* }
*
*
* @TestExecutionListeners(TransactionalTestExecutionListener.class)
* @TestExecutionListeners(TransactionalTestExecutionListener.class)
* public class TransactionalTest extends AbstractBaseTest {
* public class TransactionalTest extends AbstractBaseTest {
*
// ...
*
// ...
* }
* }
* </pre>
* </pre>
*
*
* <p>
* <p>
* If <code>inheritListeners</code> is set to <code>false</code>, the
* If <code>inheritListeners</code> is set to <code>false</code>, the
* listeners for the annotated class will <em>shadow</em> and effectively
* listeners for the annotated class will <em>shadow</em> and effectively
...
...
org.springframework.test/src/main/java/org/springframework/test/context/transaction/AfterTransaction.java
浏览文件 @
9eb19ac8
/*
/*
* Copyright 2002-200
7
the original author or authors.
* Copyright 2002-200
9
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.
...
@@ -33,14 +33,13 @@ import java.lang.annotation.Target;
...
@@ -33,14 +33,13 @@ import java.lang.annotation.Target;
* The <code>@AfterTransaction</code> methods of superclasses will be
* The <code>@AfterTransaction</code> methods of superclasses will be
* executed after those of the current class.
* executed after those of the current class.
* </p>
* </p>
*
*
* @author Sam Brannen
* @author Sam Brannen
* @since 2.5
* @since 2.5
* @see org.springframework.transaction.annotation.Transactional
* @see org.springframework.transaction.annotation.Transactional
*/
*/
@Target
(
{
ElementType
.
METHOD
})
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Documented
@Documented
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Target
(
ElementType
.
METHOD
)
public
@interface
AfterTransaction
{
public
@interface
AfterTransaction
{
}
}
org.springframework.test/src/main/java/org/springframework/test/context/transaction/BeforeTransaction.java
浏览文件 @
9eb19ac8
/*
/*
* Copyright 2002-200
7
the original author or authors.
* Copyright 2002-200
9
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.
...
@@ -33,14 +33,13 @@ import java.lang.annotation.Target;
...
@@ -33,14 +33,13 @@ import java.lang.annotation.Target;
* The <code>@BeforeTransaction</code> methods of superclasses will be
* The <code>@BeforeTransaction</code> methods of superclasses will be
* executed before those of the current class.
* executed before those of the current class.
* </p>
* </p>
*
*
* @author Sam Brannen
* @author Sam Brannen
* @since 2.5
* @since 2.5
* @see org.springframework.transaction.annotation.Transactional
* @see org.springframework.transaction.annotation.Transactional
*/
*/
@Target
(
{
ElementType
.
METHOD
})
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Documented
@Documented
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Target
(
ElementType
.
METHOD
)
public
@interface
BeforeTransaction
{
public
@interface
BeforeTransaction
{
}
}
org.springframework.test/src/main/java/org/springframework/test/context/transaction/TransactionConfiguration.java
浏览文件 @
9eb19ac8
/*
/*
* Copyright 2002-200
8
the original author or authors.
* Copyright 2002-200
9
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.
...
@@ -29,16 +29,16 @@ import org.springframework.transaction.PlatformTransactionManager;
...
@@ -29,16 +29,16 @@ import org.springframework.transaction.PlatformTransactionManager;
/**
/**
* TransactionConfiguration defines class-level metadata for configuring
* TransactionConfiguration defines class-level metadata for configuring
* transactional tests.
* transactional tests.
*
*
* @author Sam Brannen
* @author Sam Brannen
* @since 2.5
* @since 2.5
* @see ContextConfiguration
* @see ContextConfiguration
* @see TransactionalTestExecutionListener
* @see TransactionalTestExecutionListener
*/
*/
@Documented
@Inherited
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Target
(
ElementType
.
TYPE
)
@Target
(
ElementType
.
TYPE
)
@Inherited
@Documented
public
@interface
TransactionConfiguration
{
public
@interface
TransactionConfiguration
{
/**
/**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录