1 package org.apache.archiva.test.utils;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 import org.junit.runners.model.FrameworkMethod;
20 import org.junit.runners.model.InitializationError;
21 import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
22
23 import java.util.List;
24
25
26
27
28 public class ArchivaSpringJUnit4ClassRunner
29 extends SpringJUnit4ClassRunner
30 {
31
32 public ArchivaSpringJUnit4ClassRunner( Class<?> clazz )
33 throws InitializationError
34 {
35 super( clazz );
36 }
37
38 @Override
39 protected List<FrameworkMethod> computeTestMethods()
40 {
41 return ListGenerator.getShuffleList( super.computeTestMethods() );
42 }
43
44
45 }