-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBaseTestCase.java
More file actions
29 lines (28 loc) · 931 Bytes
/
BaseTestCase.java
File metadata and controls
29 lines (28 loc) · 931 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.annotation.*;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
/**
* @author: beginningwang
* @version: 1.0.0
* @createTime: 2019/5/8
*/
@RunWith(SpringJUnit4ClassRunner.class)
//@SpringBootTest(classes = {MyBatisConfig.class })
@ComponentScan(basePackages = {
"com.dshamc.cia.clearing.manager",
"com.dshamc.cia.clearing.service.impl",
"com.dshamc.cia.clearing.aop",
"com.fenqile"})
//@EnableTransactionManagement
@ImportResource({
"classpath:/META-INF/spring/dubbo-consumer.xml",
"classpath:/META-INF/spring/dubbo-test.xml",
})
@PropertySources({
@PropertySource("classpath:dubbo_common_config.properties"),
@PropertySource("classpath:app.properties")
})
@EnableAspectJAutoProxy
public class BaseTestCase {
}