Revision 42621
Added by Sandro La Bruzzo almost 8 years ago
NotificationHandlerChainTest.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.enabling.tools.blackboard; |
2 | 2 |
|
3 |
import javax.annotation.Resource; |
|
4 |
|
|
5 | 3 |
import org.junit.Test; |
6 | 4 |
import org.junit.runner.RunWith; |
5 |
import org.springframework.beans.factory.annotation.Autowired; |
|
7 | 6 |
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor; |
8 | 7 |
import org.springframework.test.context.ContextConfiguration; |
9 | 8 |
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; |
... | ... | |
12 | 11 |
@ContextConfiguration |
13 | 12 |
public class NotificationHandlerChainTest { |
14 | 13 |
|
15 |
@Resource
|
|
14 |
@Autowired
|
|
16 | 15 |
private transient ThreadPoolTaskExecutor executor; |
17 | 16 |
|
18 | 17 |
@Test |
Also available in: Unified diff
Chnaged Resource to Autowired