1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package com.puppycrawl.tools.checkstyle.checks.imports;
21
22 import org.junit.jupiter.api.Disabled;
23 import org.junit.jupiter.api.Test;
24
25 import com.puppycrawl.tools.checkstyle.AbstractExamplesModuleTestSupport;
26
27 @Disabled("until https://github.com/checkstyle/checkstyle/issues/13345")
28 public class CustomImportOrderCheckExamplesTest extends AbstractExamplesModuleTestSupport {
29 @Override
30 protected String getPackageLocation() {
31 return "com/puppycrawl/tools/checkstyle/checks/imports/customimportorder";
32 }
33
34 @Test
35 public void testExample1() throws Exception {
36 final String[] expected = {
37
38 };
39
40 verifyWithInlineConfigParser(getPath("Example1.txt"), expected);
41 }
42
43 @Test
44 public void testExample2() throws Exception {
45 final String[] expected = {
46
47 };
48
49 verifyWithInlineConfigParser(getPath("Example2.txt"), expected);
50 }
51
52 @Test
53 public void testExample3() throws Exception {
54 final String[] expected = {
55
56 };
57
58 verifyWithInlineConfigParser(getPath("Example3.txt"), expected);
59 }
60
61 @Test
62 public void testExample4() throws Exception {
63 final String[] expected = {
64
65 };
66
67 verifyWithInlineConfigParser(getPath("Example4.txt"), expected);
68 }
69
70 @Test
71 public void testExample5() throws Exception {
72 final String[] expected = {
73
74 };
75
76 verifyWithInlineConfigParser(getPath("Example5.txt"), expected);
77 }
78
79 @Test
80 public void testExample6() throws Exception {
81 final String[] expected = {
82
83 };
84
85 verifyWithInlineConfigParser(getPath("Example6.txt"), expected);
86 }
87
88 @Test
89 public void testExample7() throws Exception {
90 final String[] expected = {
91
92 };
93
94 verifyWithInlineConfigParser(getPath("Example7.txt"), expected);
95 }
96
97 @Test
98 public void testExample8() throws Exception {
99 final String[] expected = {
100
101 };
102
103 verifyWithInlineConfigParser(getPath("Example8.txt"), expected);
104 }
105
106 @Test
107 public void testExample9() throws Exception {
108 final String[] expected = {
109
110 };
111
112 verifyWithInlineConfigParser(getPath("Example9.txt"), expected);
113 }
114
115 @Test
116 public void testExample10() throws Exception {
117 final String[] expected = {
118
119 };
120
121 verifyWithInlineConfigParser(getPath("Example10.txt"), expected);
122 }
123
124 @Test
125 public void testExample11() throws Exception {
126 final String[] expected = {
127
128 };
129
130 verifyWithInlineConfigParser(getPath("Example11.txt"), expected);
131 }
132
133 @Test
134 public void testExample12() throws Exception {
135 final String[] expected = {
136
137 };
138
139 verifyWithInlineConfigParser(getPath("Example12.txt"), expected);
140 }
141
142 @Test
143 public void testExample13() throws Exception {
144 final String[] expected = {
145
146 };
147
148 verifyWithInlineConfigParser(getPath("Example13.txt"), expected);
149 }
150
151 @Test
152 public void testExample14() throws Exception {
153 final String[] expected = {
154
155 };
156
157 verifyWithInlineConfigParser(getPath("Example14.txt"), expected);
158 }
159
160 @Test
161 public void testExample15() throws Exception {
162 final String[] expected = {
163
164 };
165
166 verifyWithInlineConfigParser(getPath("Example15.txt"), expected);
167 }
168 }