File tree 5 files changed +9
-16
lines changed
src/test/java/org/springframework/data/redis 5 files changed +9
-16
lines changed Original file line number Diff line number Diff line change 6
6
- PROFILE=spring42
7
7
- PROFILE=spring42-next
8
8
- PROFILE=spring43-next
9
+ - PROFILE=spring5-next
9
10
cache :
10
11
directories :
11
12
- $HOME/.m2
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2015 the original author or authors.
2
+ * Copyright 2015-2016 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
40
40
import org .springframework .data .redis .test .util .RelaxedJUnit4ClassRunner ;
41
41
import org .springframework .jdbc .datasource .DataSourceTransactionManager ;
42
42
import org .springframework .test .context .ContextConfiguration ;
43
- import org .springframework .test .context .transaction .TransactionConfiguration ;
44
43
import org .springframework .transaction .PlatformTransactionManager ;
45
44
import org .springframework .transaction .annotation .Transactional ;
46
45
49
48
*/
50
49
@ RunWith (RelaxedJUnit4ClassRunner .class )
51
50
@ ContextConfiguration
52
- @ Transactional
53
- @ TransactionConfiguration (transactionManager = "transactionManager" )
51
+ @ Transactional (transactionManager = "transactionManager" )
54
52
public class RedisCacheManagerTransactionalUnitTests {
55
53
56
54
@ Autowired protected CacheManager cacheManager ;
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2014 the original author or authors.
2
+ * Copyright 2014-2016 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
44
44
import org .springframework .test .annotation .Rollback ;
45
45
import org .springframework .test .context .ContextConfiguration ;
46
46
import org .springframework .test .context .transaction .AfterTransaction ;
47
- import org .springframework .test .context .transaction .TransactionConfiguration ;
48
47
import org .springframework .transaction .PlatformTransactionManager ;
49
48
import org .springframework .transaction .annotation .Transactional ;
50
49
53
52
*/
54
53
@ RunWith (RelaxedJUnit4ClassRunner .class )
55
54
@ ContextConfiguration
56
- @ Transactional
57
- @ TransactionConfiguration (transactionManager = "transactionManager" )
55
+ @ Transactional (transactionManager = "transactionManager" )
58
56
public class TransactionalRedisCacheManagerWithCommitUnitTests {
59
57
60
58
@ SuppressWarnings ("rawtypes" )//
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2014 the original author or authors.
2
+ * Copyright 2014-2016 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
40
40
import org .springframework .test .annotation .Rollback ;
41
41
import org .springframework .test .context .ContextConfiguration ;
42
42
import org .springframework .test .context .transaction .AfterTransaction ;
43
- import org .springframework .test .context .transaction .TransactionConfiguration ;
44
43
import org .springframework .transaction .PlatformTransactionManager ;
45
44
import org .springframework .transaction .annotation .Transactional ;
46
45
49
48
*/
50
49
@ RunWith (RelaxedJUnit4ClassRunner .class )
51
50
@ ContextConfiguration
52
- @ Transactional
53
- @ TransactionConfiguration (transactionManager = "transactionManager" )
51
+ @ Transactional (transactionManager = "transactionManager" )
54
52
public class TransactionalRedisCacheManagerWithRollbackUnitTests {
55
53
56
54
@ SuppressWarnings ("rawtypes" )//
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2014 the original author or authors.
2
+ * Copyright 2014-2016 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
36
36
import org .springframework .jdbc .datasource .DataSourceTransactionManager ;
37
37
import org .springframework .test .annotation .Rollback ;
38
38
import org .springframework .test .context .transaction .AfterTransaction ;
39
- import org .springframework .test .context .transaction .TransactionConfiguration ;
40
39
import org .springframework .transaction .PlatformTransactionManager ;
41
40
import org .springframework .transaction .annotation .Transactional ;
42
41
43
42
@ RunWith (RelaxedJUnit4ClassRunner .class )
44
- @ Transactional
45
- @ TransactionConfiguration (transactionManager = "transactionManager" )
43
+ @ Transactional (transactionManager = "transactionManager" )
46
44
public abstract class AbstractTransactionalTestBase {
47
45
48
46
@ Configuration
You can’t perform that action at this time.
0 commit comments