|
26 | 26 | */ |
27 | 27 | public class AnnotationUtilsTest { |
28 | 28 |
|
| 29 | + /** |
| 30 | + * @throws Exception if something goes wrong |
| 31 | + */ |
29 | 32 | @Test |
30 | 33 | @Alerts(DEFAULT = "default", |
31 | 34 | CHROME = "chrome", |
32 | 35 | EDGE = "edge", |
33 | 36 | FF = "ff", |
34 | 37 | FF_ESR = "ff esr") |
35 | | - /** |
36 | | - * @throws Exception if something goes wrong |
37 | | - */ |
38 | 38 | public void obsoleteDefaultBecauseAllBrowserExpectationsDefinedIndividually() throws Exception { |
39 | 39 | testFail("Obsolete DEFAULT because all browser expectations defined individually", |
40 | 40 | "obsoleteDefaultBecauseAllBrowserExpectationsDefinedIndividually"); |
41 | 41 | } |
42 | 42 |
|
43 | | - @Test |
44 | | - @Alerts(DEFAULT = "redundant", |
45 | | - CHROME = "redundant") |
46 | 43 | /** |
47 | 44 | * @throws Exception if something goes wrong |
48 | 45 | */ |
| 46 | + @Test |
| 47 | + @Alerts(DEFAULT = "redundant", |
| 48 | + CHROME = "redundant") |
49 | 49 | public void redundantAlertChrome() throws Exception { |
50 | 50 | testFail("Redundant @Alerts for Chrome in AnnotationUtilsTest.redundantAlertChrome()", |
51 | 51 | "redundantAlertChrome"); |
52 | 52 | } |
53 | 53 |
|
54 | | - @Test |
55 | | - @Alerts(DEFAULT = "redundant", |
56 | | - EDGE = "redundant") |
57 | 54 | /** |
58 | 55 | * @throws Exception if something goes wrong |
59 | 56 | */ |
| 57 | + @Test |
| 58 | + @Alerts(DEFAULT = "redundant", |
| 59 | + EDGE = "redundant") |
60 | 60 | public void redundantAlertEdge() throws Exception { |
61 | 61 | testFail("Redundant @Alerts for Edge in AnnotationUtilsTest.redundantAlertEdge()", |
62 | 62 | "redundantAlertEdge"); |
63 | 63 | } |
64 | 64 |
|
65 | | - @Test |
66 | | - @Alerts(DEFAULT = "redundant", |
67 | | - FF = "redundant") |
68 | 65 | /** |
69 | 66 | * @throws Exception if something goes wrong |
70 | 67 | */ |
| 68 | + @Test |
| 69 | + @Alerts(DEFAULT = "redundant", |
| 70 | + FF = "redundant") |
71 | 71 | public void redundantAlertFf() throws Exception { |
72 | 72 | testFail("Redundant @Alerts for FF in AnnotationUtilsTest.redundantAlertFf()", |
73 | 73 | "redundantAlertFf"); |
74 | 74 | } |
75 | 75 |
|
76 | | - @Test |
77 | | - @Alerts(DEFAULT = "redundant", |
78 | | - FF_ESR = "redundant") |
79 | 76 | /** |
80 | 77 | * @throws Exception if something goes wrong |
81 | 78 | */ |
| 79 | + @Test |
| 80 | + @Alerts(DEFAULT = "redundant", |
| 81 | + FF_ESR = "redundant") |
82 | 82 | public void redundantAlertFfEsr() throws Exception { |
83 | 83 | testFail("Redundant @Alerts for FF-ESR in AnnotationUtilsTest.redundantAlertFfEsr()", |
84 | 84 | "redundantAlertFfEsr"); |
85 | 85 | } |
86 | 86 |
|
87 | | - @Test |
88 | | - @Alerts("redundant") |
89 | | - @HtmlUnitNYI("redundant") |
90 | 87 | /** |
91 | 88 | * @throws Exception if something goes wrong |
92 | 89 | */ |
| 90 | + @Test |
| 91 | + @Alerts("redundant") |
| 92 | + @HtmlUnitNYI("redundant") |
93 | 93 | public void redundantHtmlUnitNYI() throws Exception { |
94 | 94 | testFail("Redundant @HtmlUnitNYI for DEFAULT in AnnotationUtilsTest.redundantHtmlUnitNYI()", |
95 | 95 | "redundantHtmlUnitNYI"); |
96 | 96 | } |
97 | 97 |
|
98 | | - @Test |
99 | | - @Alerts("redundant") |
100 | | - @HtmlUnitNYI(CHROME = "redundant") |
101 | 98 | /** |
102 | 99 | * @throws Exception if something goes wrong |
103 | 100 | */ |
| 101 | + @Test |
| 102 | + @Alerts("redundant") |
| 103 | + @HtmlUnitNYI(CHROME = "redundant") |
104 | 104 | public void redundantHtmlUnitNYIChrome() throws Exception { |
105 | 105 | testFail("Redundant @HtmlUnitNYI for Chrome in AnnotationUtilsTest.redundantHtmlUnitNYIChrome()", |
106 | 106 | "redundantHtmlUnitNYIChrome"); |
107 | 107 | } |
108 | 108 |
|
109 | | - @Test |
110 | | - @Alerts("redundant") |
111 | | - @HtmlUnitNYI(EDGE = "redundant") |
112 | 109 | /** |
113 | 110 | * @throws Exception if something goes wrong |
114 | 111 | */ |
| 112 | + @Test |
| 113 | + @Alerts("redundant") |
| 114 | + @HtmlUnitNYI(EDGE = "redundant") |
115 | 115 | public void redundantHtmlUnitNYIEdge() throws Exception { |
116 | 116 | testFail("Redundant @HtmlUnitNYI for Edge in AnnotationUtilsTest.redundantHtmlUnitNYIEdge()", |
117 | 117 | "redundantHtmlUnitNYIEdge"); |
118 | 118 | } |
119 | 119 |
|
120 | | - @Test |
121 | | - @Alerts("redundant") |
122 | | - @HtmlUnitNYI(FF = "redundant") |
123 | 120 | /** |
124 | 121 | * @throws Exception if something goes wrong |
125 | 122 | */ |
| 123 | + @Test |
| 124 | + @Alerts("redundant") |
| 125 | + @HtmlUnitNYI(FF = "redundant") |
126 | 126 | public void redundantHtmlUnitNYIFf() throws Exception { |
127 | 127 | testFail("Redundant @HtmlUnitNYI for FF in AnnotationUtilsTest.redundantHtmlUnitNYIFf()", |
128 | 128 | "redundantHtmlUnitNYIFf"); |
129 | 129 | } |
130 | 130 |
|
131 | | - @Test |
132 | | - @Alerts("redundant") |
133 | | - @HtmlUnitNYI(FF_ESR = "redundant") |
134 | 131 | /** |
135 | 132 | * @throws Exception if something goes wrong |
136 | 133 | */ |
| 134 | + @Test |
| 135 | + @Alerts("redundant") |
| 136 | + @HtmlUnitNYI(FF_ESR = "redundant") |
137 | 137 | public void redundantHtmlUnitNYIFfEsr() throws Exception { |
138 | 138 | testFail("Redundant @HtmlUnitNYI for FF-ESR in AnnotationUtilsTest.redundantHtmlUnitNYIFfEsr()", |
139 | 139 | "redundantHtmlUnitNYIFfEsr"); |
140 | 140 | } |
141 | 141 |
|
| 142 | + /** |
| 143 | + * @throws Exception if something goes wrong |
| 144 | + */ |
142 | 145 | @Test |
143 | 146 | @Alerts(DEFAULT = "", |
144 | 147 | CHROME = "redundant") |
145 | 148 | @HtmlUnitNYI(CHROME = "redundant") |
146 | | - /** |
147 | | - * @throws Exception if something goes wrong |
148 | | - */ |
149 | 149 | public void redundantChromeHtmlUnitNYIChrome() throws Exception { |
150 | 150 | testFail("Redundant @HtmlUnitNYI for Chrome in AnnotationUtilsTest.redundantChromeHtmlUnitNYIChrome()", |
151 | 151 | "redundantChromeHtmlUnitNYIChrome"); |
152 | 152 | } |
153 | 153 |
|
| 154 | + /** |
| 155 | + * @throws Exception if something goes wrong |
| 156 | + */ |
154 | 157 | @Test |
155 | 158 | @Alerts(DEFAULT = "", |
156 | 159 | EDGE = "redundant") |
157 | 160 | @HtmlUnitNYI(EDGE = "redundant") |
158 | | - /** |
159 | | - * @throws Exception if something goes wrong |
160 | | - */ |
161 | 161 | public void redundantEdgeHtmlUnitNYIEdge() throws Exception { |
162 | 162 | testFail("Redundant @HtmlUnitNYI for Edge in AnnotationUtilsTest.redundantEdgeHtmlUnitNYIEdge()", |
163 | 163 | "redundantEdgeHtmlUnitNYIEdge"); |
164 | 164 | } |
165 | 165 |
|
| 166 | + /** |
| 167 | + * @throws Exception if something goes wrong |
| 168 | + */ |
166 | 169 | @Test |
167 | 170 | @Alerts(DEFAULT = "", |
168 | 171 | FF = "redundant") |
169 | 172 | @HtmlUnitNYI(FF = "redundant") |
170 | | - /** |
171 | | - * @throws Exception if something goes wrong |
172 | | - */ |
173 | 173 | public void redundantFfHtmlUnitNYIFf() throws Exception { |
174 | 174 | testFail("Redundant @HtmlUnitNYI for FF in AnnotationUtilsTest.redundantFfHtmlUnitNYIFf()", |
175 | 175 | "redundantFfHtmlUnitNYIFf"); |
176 | 176 | } |
177 | 177 |
|
| 178 | + /** |
| 179 | + * @throws Exception if something goes wrong |
| 180 | + */ |
178 | 181 | @Test |
179 | 182 | @Alerts(DEFAULT = "", |
180 | 183 | FF_ESR = "redundant") |
181 | 184 | @HtmlUnitNYI(FF_ESR = "redundant") |
182 | | - /** |
183 | | - * @throws Exception if something goes wrong |
184 | | - */ |
185 | 185 | public void redundantFfEsrHtmlUnitNYIFfEsr() throws Exception { |
186 | 186 | testFail("Redundant @HtmlUnitNYI for FF-ESR in AnnotationUtilsTest.redundantFfEsrHtmlUnitNYIFfEsr()", |
187 | 187 | "redundantFfEsrHtmlUnitNYIFfEsr"); |
188 | 188 | } |
189 | 189 |
|
190 | | - @Test |
191 | | - @Alerts(CHROME = "redundant") |
192 | | - @HtmlUnitNYI(CHROME = "redundant") |
193 | 190 | /** |
194 | 191 | * @throws Exception if something goes wrong |
195 | 192 | */ |
| 193 | + @Test |
| 194 | + @Alerts(CHROME = "redundant") |
| 195 | + @HtmlUnitNYI(CHROME = "redundant") |
196 | 196 | public void redundantChrome2HtmlUnitNYIChrome() throws Exception { |
197 | 197 | testFail("Redundant @HtmlUnitNYI for Chrome in AnnotationUtilsTest.redundantChrome2HtmlUnitNYIChrome()", |
198 | 198 | "redundantChrome2HtmlUnitNYIChrome"); |
199 | 199 | } |
200 | 200 |
|
201 | | - @Test |
202 | | - @Alerts(EDGE = "redundant") |
203 | | - @HtmlUnitNYI(EDGE = "redundant") |
204 | 201 | /** |
205 | 202 | * @throws Exception if something goes wrong |
206 | 203 | */ |
| 204 | + @Test |
| 205 | + @Alerts(EDGE = "redundant") |
| 206 | + @HtmlUnitNYI(EDGE = "redundant") |
207 | 207 | public void redundantEdge2HtmlUnitNYIEdge() throws Exception { |
208 | 208 | testFail("Redundant @HtmlUnitNYI for Edge in AnnotationUtilsTest.redundantEdge2HtmlUnitNYIEdge()", |
209 | 209 | "redundantEdge2HtmlUnitNYIEdge"); |
210 | 210 | } |
211 | 211 |
|
212 | | - @Test |
213 | | - @Alerts(FF = "redundant") |
214 | | - @HtmlUnitNYI(FF = "redundant") |
215 | 212 | /** |
216 | 213 | * @throws Exception if something goes wrong |
217 | 214 | */ |
| 215 | + @Test |
| 216 | + @Alerts(FF = "redundant") |
| 217 | + @HtmlUnitNYI(FF = "redundant") |
218 | 218 | public void redundantFf2HtmlUnitNYIFf() throws Exception { |
219 | 219 | testFail("Redundant @HtmlUnitNYI for FF in AnnotationUtilsTest.redundantFf2HtmlUnitNYIFf()", |
220 | 220 | "redundantFf2HtmlUnitNYIFf"); |
221 | 221 | } |
222 | 222 |
|
223 | | - @Test |
224 | | - @Alerts(FF_ESR = "redundant") |
225 | | - @HtmlUnitNYI(FF_ESR = "redundant") |
226 | 223 | /** |
227 | 224 | * @throws Exception if something goes wrong |
228 | 225 | */ |
| 226 | + @Test |
| 227 | + @Alerts(FF_ESR = "redundant") |
| 228 | + @HtmlUnitNYI(FF_ESR = "redundant") |
229 | 229 | public void redundantFfEsr2HtmlUnitNYIFfEsr() throws Exception { |
230 | 230 | testFail("Redundant @HtmlUnitNYI for FF-ESR in AnnotationUtilsTest.redundantFfEsr2HtmlUnitNYIFfEsr()", |
231 | 231 | "redundantFfEsr2HtmlUnitNYIFfEsr"); |
|
0 commit comments