Added
Link Here
|
1 |
package org.eclipse.jdt.core.tests.model; |
2 |
|
3 |
import junit.framework.Test; |
4 |
|
5 |
|
6 |
import org.eclipse.jdt.core.search.SearchPattern; |
7 |
|
8 |
public class UtilTest extends AbstractJavaModelTests { |
9 |
|
10 |
public UtilTest(String name) { |
11 |
super(name); |
12 |
} |
13 |
|
14 |
public static Test suite() { |
15 |
return buildTestSuite(UtilTest.class); |
16 |
} |
17 |
|
18 |
/* |
19 |
* Print regions in a string. |
20 |
*/ |
21 |
private String printRegions(String name, int[] regions) { |
22 |
if (regions == null) return null; |
23 |
if (regions.length == 0) return name; |
24 |
StringBuffer buffer = new StringBuffer(); |
25 |
int start = 0; |
26 |
for (int i=0; i<regions.length; i+=2) { |
27 |
int segmentStart = regions[i]; |
28 |
int rLength = regions[i+1]; |
29 |
if (start != segmentStart) { |
30 |
if (start > 0) buffer.append(']'); |
31 |
buffer.append(name.substring(start, segmentStart)); |
32 |
buffer.append('['); |
33 |
} else if (start == 0) { |
34 |
buffer.append('['); |
35 |
} |
36 |
buffer.append(name.substring(segmentStart, segmentStart+rLength)); |
37 |
start = segmentStart+rLength; |
38 |
} |
39 |
buffer.append(']'); |
40 |
int nLength= name.length(); |
41 |
if (nLength > start) { |
42 |
buffer.append(name.substring(start, nLength)); |
43 |
} |
44 |
return buffer.toString(); |
45 |
} |
46 |
|
47 |
public void test0001() { |
48 |
String name = "int"; |
49 |
int[] regions = SearchPattern.getMatchingRegions("int", name, SearchPattern.R_PATTERN_MATCH); |
50 |
assertEquals("Unexpected regions length", 2, regions.length); |
51 |
assertEquals("Unexpected matching regions", "[int]", printRegions(name, regions)); |
52 |
} |
53 |
public void test0002() { |
54 |
String name = "class_path"; |
55 |
int[] regions = SearchPattern.getMatchingRegions("class*path", name, SearchPattern.R_PATTERN_MATCH); |
56 |
assertEquals("Unexpected regions length", 4, regions.length); |
57 |
assertEquals("Unexpected matching regions", "[class]_[path]", printRegions(name, regions)); |
58 |
} |
59 |
public void test0003() { |
60 |
String name = "boolean"; |
61 |
int[] regions = SearchPattern.getMatchingRegions("boolean", name, SearchPattern.R_PATTERN_MATCH); |
62 |
assertEquals("Unexpected regions length", 2, regions.length); |
63 |
assertEquals("Unexpected matching regions", "[boolean]", printRegions(name, regions)); |
64 |
} |
65 |
public void test0004() { |
66 |
String name = "p3.p2.p"; |
67 |
int[] regions = SearchPattern.getMatchingRegions("p3*", name, SearchPattern.R_PATTERN_MATCH); |
68 |
assertEquals("Unexpected regions length", 2, regions.length); |
69 |
assertEquals("Unexpected matching regions", "[p3].p2.p", printRegions(name, regions)); |
70 |
} |
71 |
public void test0005() { |
72 |
String name = "p3.p2"; |
73 |
int[] regions = SearchPattern.getMatchingRegions("p3*", name, SearchPattern.R_PATTERN_MATCH); |
74 |
assertEquals("Unexpected regions length", 2, regions.length); |
75 |
assertEquals("Unexpected matching regions", "[p3].p2", printRegions(name, regions)); |
76 |
} |
77 |
public void test0006() { |
78 |
String name = "p3"; |
79 |
int[] regions = SearchPattern.getMatchingRegions("p3*", name, SearchPattern.R_PATTERN_MATCH); |
80 |
assertEquals("Unexpected regions length", 2, regions.length); |
81 |
assertEquals("Unexpected matching regions", "[p3]", printRegions(name, regions)); |
82 |
} |
83 |
public void test0007() { |
84 |
String name = "j1"; |
85 |
int[] regions = SearchPattern.getMatchingRegions("j?", name, SearchPattern.R_PATTERN_MATCH); |
86 |
assertEquals("Unexpected regions length", 2, regions.length); |
87 |
assertEquals("Unexpected matching regions", "[j]1", printRegions(name, regions)); |
88 |
} |
89 |
public void test0008() { |
90 |
String name = "j2"; |
91 |
int[] regions = SearchPattern.getMatchingRegions("j?", name, SearchPattern.R_PATTERN_MATCH); |
92 |
assertEquals("Unexpected regions length", 2, regions.length); |
93 |
assertEquals("Unexpected matching regions", "[j]2", printRegions(name, regions)); |
94 |
} |
95 |
public void test0009() { |
96 |
String name = "j3"; |
97 |
int[] regions = SearchPattern.getMatchingRegions("j?", name, SearchPattern.R_PATTERN_MATCH); |
98 |
assertEquals("Unexpected regions length", 2, regions.length); |
99 |
assertEquals("Unexpected matching regions", "[j]3", printRegions(name, regions)); |
100 |
} |
101 |
public void test0010() { |
102 |
String name = "j4"; |
103 |
int[] regions = SearchPattern.getMatchingRegions("j?", name, SearchPattern.R_PATTERN_MATCH); |
104 |
assertEquals("Unexpected regions length", 2, regions.length); |
105 |
assertEquals("Unexpected matching regions", "[j]4", printRegions(name, regions)); |
106 |
} |
107 |
public void test0011() { |
108 |
String name = "j5"; |
109 |
int[] regions = SearchPattern.getMatchingRegions("j?", name, SearchPattern.R_PATTERN_MATCH); |
110 |
assertEquals("Unexpected regions length", 2, regions.length); |
111 |
assertEquals("Unexpected matching regions", "[j]5", printRegions(name, regions)); |
112 |
} |
113 |
public void test0012() { |
114 |
String name = "j6"; |
115 |
int[] regions = SearchPattern.getMatchingRegions("j?", name, SearchPattern.R_PATTERN_MATCH); |
116 |
assertEquals("Unexpected regions length", 2, regions.length); |
117 |
assertEquals("Unexpected matching regions", "[j]6", printRegions(name, regions)); |
118 |
} |
119 |
public void test0013() { |
120 |
String name = "j7"; |
121 |
int[] regions = SearchPattern.getMatchingRegions("j?", name, SearchPattern.R_PATTERN_MATCH); |
122 |
assertEquals("Unexpected regions length", 2, regions.length); |
123 |
assertEquals("Unexpected matching regions", "[j]7", printRegions(name, regions)); |
124 |
} |
125 |
public void test0014() { |
126 |
String name = "j1"; |
127 |
int[] regions = SearchPattern.getMatchingRegions("j*", name, SearchPattern.R_PATTERN_MATCH); |
128 |
assertEquals("Unexpected regions length", 2, regions.length); |
129 |
assertEquals("Unexpected matching regions", "[j]1", printRegions(name, regions)); |
130 |
} |
131 |
public void test0015() { |
132 |
String name = "java"; |
133 |
int[] regions = SearchPattern.getMatchingRegions("j*", name, SearchPattern.R_PATTERN_MATCH); |
134 |
assertEquals("Unexpected regions length", 2, regions.length); |
135 |
assertEquals("Unexpected matching regions", "[j]ava", printRegions(name, regions)); |
136 |
} |
137 |
public void test0016() { |
138 |
String name = "j7.qua.li.fied"; |
139 |
int[] regions = SearchPattern.getMatchingRegions("j*", name, SearchPattern.R_PATTERN_MATCH); |
140 |
assertEquals("Unexpected regions length", 2, regions.length); |
141 |
assertEquals("Unexpected matching regions", "[j]7.qua.li.fied", printRegions(name, regions)); |
142 |
} |
143 |
public void test0017() { |
144 |
String name = "java.lang"; |
145 |
int[] regions = SearchPattern.getMatchingRegions("j*", name, SearchPattern.R_PATTERN_MATCH); |
146 |
assertEquals("Unexpected regions length", 2, regions.length); |
147 |
assertEquals("Unexpected matching regions", "[j]ava.lang", printRegions(name, regions)); |
148 |
} |
149 |
public void test0018() { |
150 |
String name = "java.io"; |
151 |
int[] regions = SearchPattern.getMatchingRegions("j*", name, SearchPattern.R_PATTERN_MATCH); |
152 |
assertEquals("Unexpected regions length", 2, regions.length); |
153 |
assertEquals("Unexpected matching regions", "[j]ava.io", printRegions(name, regions)); |
154 |
} |
155 |
public void test0019() { |
156 |
String name = "j7.qua.li"; |
157 |
int[] regions = SearchPattern.getMatchingRegions("j*", name, SearchPattern.R_PATTERN_MATCH); |
158 |
assertEquals("Unexpected regions length", 2, regions.length); |
159 |
assertEquals("Unexpected matching regions", "[j]7.qua.li", printRegions(name, regions)); |
160 |
} |
161 |
public void test0020() { |
162 |
String name = "j7.qua"; |
163 |
int[] regions = SearchPattern.getMatchingRegions("j*", name, SearchPattern.R_PATTERN_MATCH); |
164 |
assertEquals("Unexpected regions length", 2, regions.length); |
165 |
assertEquals("Unexpected matching regions", "[j]7.qua", printRegions(name, regions)); |
166 |
} |
167 |
public void test0021() { |
168 |
String name = "j7.qua.li.fied"; |
169 |
int[] regions = SearchPattern.getMatchingRegions("j7.*", name, SearchPattern.R_PATTERN_MATCH); |
170 |
assertEquals("Unexpected regions length", 2, regions.length); |
171 |
assertEquals("Unexpected matching regions", "[j7.]qua.li.fied", printRegions(name, regions)); |
172 |
} |
173 |
public void test0022() { |
174 |
String name = "j7.qua.li.fied"; |
175 |
int[] regions = SearchPattern.getMatchingRegions("j7.*.*", name, SearchPattern.R_PATTERN_MATCH); |
176 |
assertEquals("Unexpected regions length", 4, regions.length); |
177 |
assertEquals("Unexpected matching regions", "[j7.]qua[.]li.fied", printRegions(name, regions)); |
178 |
} |
179 |
public void test0023() { |
180 |
String name = "java.lang"; |
181 |
int[] regions = SearchPattern.getMatchingRegions("????.????", name, SearchPattern.R_PATTERN_MATCH); |
182 |
assertEquals("Unexpected regions length", 2, regions.length); |
183 |
assertEquals("Unexpected matching regions", "java[.]lang", printRegions(name, regions)); |
184 |
} |
185 |
public void test0024() { |
186 |
String name = "java"; |
187 |
int[] regions = SearchPattern.getMatchingRegions("*", name, SearchPattern.R_PATTERN_MATCH); |
188 |
assertEquals("Unexpected regions length", 0, regions.length); |
189 |
assertEquals("Unexpected matching regions", "java", printRegions(name, regions)); |
190 |
} |
191 |
public void test0025() { |
192 |
String name = "p2"; |
193 |
int[] regions = SearchPattern.getMatchingRegions("*p2", name, SearchPattern.R_PATTERN_MATCH); |
194 |
assertEquals("Unexpected regions length", 2, regions.length); |
195 |
assertEquals("Unexpected matching regions", "[p2]", printRegions(name, regions)); |
196 |
} |
197 |
public void test0026() { |
198 |
String name = "p3.p2.p"; |
199 |
int[] regions = SearchPattern.getMatchingRegions("*p2.*", name, SearchPattern.R_PATTERN_MATCH); |
200 |
assertEquals("Unexpected regions length", 2, regions.length); |
201 |
assertEquals("Unexpected matching regions", "p3.[p2.]p", printRegions(name, regions)); |
202 |
} |
203 |
public void test0027() { |
204 |
String name = "p3.p2.p.X"; |
205 |
int[] regions = SearchPattern.getMatchingRegions("*p2.*", name, SearchPattern.R_PATTERN_MATCH); |
206 |
assertEquals("Unexpected regions length", 2, regions.length); |
207 |
assertEquals("Unexpected matching regions", "p3.[p2.]p.X", printRegions(name, regions)); |
208 |
} |
209 |
public void test0028() { |
210 |
String name = "p3.p2.p.X.count"; |
211 |
int[] regions = SearchPattern.getMatchingRegions("*p2.*", name, SearchPattern.R_PATTERN_MATCH); |
212 |
assertEquals("Unexpected regions length", 2, regions.length); |
213 |
assertEquals("Unexpected matching regions", "p3.[p2.]p.X.count", printRegions(name, regions)); |
214 |
} |
215 |
public void test0029() { |
216 |
String name = "p2.Z"; |
217 |
int[] regions = SearchPattern.getMatchingRegions("*p2.*", name, SearchPattern.R_PATTERN_MATCH); |
218 |
assertEquals("Unexpected regions length", 2, regions.length); |
219 |
assertEquals("Unexpected matching regions", "[p2.]Z", printRegions(name, regions)); |
220 |
} |
221 |
public void test0030() { |
222 |
String name = "foo/1"; |
223 |
int[] regions = SearchPattern.getMatchingRegions("foo*", name, SearchPattern.R_PATTERN_MATCH); |
224 |
assertEquals("Unexpected regions length", 2, regions.length); |
225 |
assertEquals("Unexpected matching regions", "[foo]/1", printRegions(name, regions)); |
226 |
} |
227 |
public void test0031() { |
228 |
String name = "foo"; |
229 |
int[] regions = SearchPattern.getMatchingRegions("foo*", name, SearchPattern.R_PATTERN_MATCH); |
230 |
assertEquals("Unexpected regions length", 2, regions.length); |
231 |
assertEquals("Unexpected matching regions", "[foo]", printRegions(name, regions)); |
232 |
} |
233 |
public void test0032() { |
234 |
String name = "foo/0"; |
235 |
int[] regions = SearchPattern.getMatchingRegions("foo*", name, SearchPattern.R_PATTERN_MATCH); |
236 |
assertEquals("Unexpected regions length", 2, regions.length); |
237 |
assertEquals("Unexpected matching regions", "[foo]/0", printRegions(name, regions)); |
238 |
} |
239 |
public void test0033() { |
240 |
String name = "foo2/0"; |
241 |
int[] regions = SearchPattern.getMatchingRegions("foo*", name, SearchPattern.R_PATTERN_MATCH); |
242 |
assertEquals("Unexpected regions length", 2, regions.length); |
243 |
assertEquals("Unexpected matching regions", "[foo]2/0", printRegions(name, regions)); |
244 |
} |
245 |
public void test0034() { |
246 |
String name = "foo2"; |
247 |
int[] regions = SearchPattern.getMatchingRegions("foo*", name, SearchPattern.R_PATTERN_MATCH); |
248 |
assertEquals("Unexpected regions length", 2, regions.length); |
249 |
assertEquals("Unexpected matching regions", "[foo]2", printRegions(name, regions)); |
250 |
} |
251 |
public void test0035() { |
252 |
String name = "foo/2"; |
253 |
int[] regions = SearchPattern.getMatchingRegions("foo*", name, SearchPattern.R_PATTERN_MATCH); |
254 |
assertEquals("Unexpected regions length", 2, regions.length); |
255 |
assertEquals("Unexpected matching regions", "[foo]/2", printRegions(name, regions)); |
256 |
} |
257 |
public void test0036() { |
258 |
String name = "foo1/0"; |
259 |
int[] regions = SearchPattern.getMatchingRegions("foo*", name, SearchPattern.R_PATTERN_MATCH); |
260 |
assertEquals("Unexpected regions length", 2, regions.length); |
261 |
assertEquals("Unexpected matching regions", "[foo]1/0", printRegions(name, regions)); |
262 |
} |
263 |
public void test0037() { |
264 |
String name = "foo24346/0"; |
265 |
int[] regions = SearchPattern.getMatchingRegions("foo*", name, SearchPattern.R_PATTERN_MATCH); |
266 |
assertEquals("Unexpected regions length", 2, regions.length); |
267 |
assertEquals("Unexpected matching regions", "[foo]24346/0", printRegions(name, regions)); |
268 |
} |
269 |
public void test0038() { |
270 |
String name = "foo/3"; |
271 |
int[] regions = SearchPattern.getMatchingRegions("foo*", name, SearchPattern.R_PATTERN_MATCH); |
272 |
assertEquals("Unexpected regions length", 2, regions.length); |
273 |
assertEquals("Unexpected matching regions", "[foo]/3", printRegions(name, regions)); |
274 |
} |
275 |
public void test0039() { |
276 |
String name = "foobar/0"; |
277 |
int[] regions = SearchPattern.getMatchingRegions("foo*", name, SearchPattern.R_PATTERN_MATCH); |
278 |
assertEquals("Unexpected regions length", 2, regions.length); |
279 |
assertEquals("Unexpected matching regions", "[foo]bar/0", printRegions(name, regions)); |
280 |
} |
281 |
public void test0040() { |
282 |
String name = "foo24346"; |
283 |
int[] regions = SearchPattern.getMatchingRegions("foo*", name, SearchPattern.R_PATTERN_MATCH); |
284 |
assertEquals("Unexpected regions length", 2, regions.length); |
285 |
assertEquals("Unexpected matching regions", "[foo]24346", printRegions(name, regions)); |
286 |
} |
287 |
public void test0041() { |
288 |
String name = "foobar"; |
289 |
int[] regions = SearchPattern.getMatchingRegions("foo*", name, SearchPattern.R_PATTERN_MATCH); |
290 |
assertEquals("Unexpected regions length", 2, regions.length); |
291 |
assertEquals("Unexpected matching regions", "[foo]bar", printRegions(name, regions)); |
292 |
} |
293 |
public void test0042() { |
294 |
String name = "foo1"; |
295 |
int[] regions = SearchPattern.getMatchingRegions("foo*", name, SearchPattern.R_PATTERN_MATCH); |
296 |
assertEquals("Unexpected regions length", 2, regions.length); |
297 |
assertEquals("Unexpected matching regions", "[foo]1", printRegions(name, regions)); |
298 |
} |
299 |
public void test0043() { |
300 |
String name = "X31985"; |
301 |
int[] regions = SearchPattern.getMatchingRegions("x31985", name, SearchPattern.R_PATTERN_MATCH); |
302 |
assertEquals("Unexpected regions length", 2, regions.length); |
303 |
assertEquals("Unexpected matching regions", "[X31985]", printRegions(name, regions)); |
304 |
} |
305 |
public void test0044() { |
306 |
String name = "p24741"; |
307 |
int[] regions = SearchPattern.getMatchingRegions("p24741", name, SearchPattern.R_PATTERN_MATCH); |
308 |
assertEquals("Unexpected regions length", 2, regions.length); |
309 |
assertEquals("Unexpected matching regions", "[p24741]", printRegions(name, regions)); |
310 |
} |
311 |
public void test0045() { |
312 |
String name = "p24741.A"; |
313 |
int[] regions = SearchPattern.getMatchingRegions("p24741.*", name, SearchPattern.R_PATTERN_MATCH); |
314 |
assertEquals("Unexpected regions length", 2, regions.length); |
315 |
assertEquals("Unexpected matching regions", "[p24741.]A", printRegions(name, regions)); |
316 |
} |
317 |
public void test0046() { |
318 |
String name = "Y"; |
319 |
int[] regions = SearchPattern.getMatchingRegions("y", name, SearchPattern.R_PATTERN_MATCH); |
320 |
assertEquals("Unexpected regions length", 2, regions.length); |
321 |
assertEquals("Unexpected matching regions", "[Y]", printRegions(name, regions)); |
322 |
} |
323 |
public void test0047() { |
324 |
String name = "int[]"; |
325 |
int[] regions = SearchPattern.getMatchingRegions("int[]", name, SearchPattern.R_PATTERN_MATCH); |
326 |
assertEquals("Unexpected regions length", 2, regions.length); |
327 |
assertEquals("Unexpected matching regions", "[int[]]", printRegions(name, regions)); |
328 |
} |
329 |
public void test0048() { |
330 |
String name = "boolean[]"; |
331 |
int[] regions = SearchPattern.getMatchingRegions("boolean[]", name, SearchPattern.R_PATTERN_MATCH); |
332 |
assertEquals("Unexpected regions length", 2, regions.length); |
333 |
assertEquals("Unexpected matching regions", "[boolean[]]", printRegions(name, regions)); |
334 |
} |
335 |
public void test0049() { |
336 |
String name = "RuntimeException/java.lang//!"; |
337 |
int[] regions = SearchPattern.getMatchingRegions("RE", name, SearchPattern.R_CAMELCASE_MATCH); |
338 |
assertEquals("Unexpected regions length", 4, regions.length); |
339 |
assertEquals("Unexpected matching regions", "[R]untime[E]xception/java.lang//!", printRegions(name, regions)); |
340 |
} |
341 |
public void test0050() { |
342 |
String name = "RuntimeException/java.lang//!"; |
343 |
int[] regions = SearchPattern.getMatchingRegions("RException", name, SearchPattern.R_CAMELCASE_MATCH); |
344 |
assertEquals("Unexpected regions length", 4, regions.length); |
345 |
assertEquals("Unexpected matching regions", "[R]untime[Exception]/java.lang//!", printRegions(name, regions)); |
346 |
} |
347 |
public void test0051() { |
348 |
String name = "RuntimeException/java.lang//!"; |
349 |
int[] regions = SearchPattern.getMatchingRegions("RuntimeException", name, SearchPattern.R_CAMELCASE_MATCH); |
350 |
assertEquals("Unexpected regions length", 2, regions.length); |
351 |
assertEquals("Unexpected matching regions", "[RuntimeException]/java.lang//!", printRegions(name, regions)); |
352 |
} |
353 |
public void test0052() { |
354 |
String name = "RuntimeException/java.lang//!"; |
355 |
int[] regions = SearchPattern.getMatchingRegions("r*e*", name, SearchPattern.R_PATTERN_MATCH); |
356 |
assertEquals("Unexpected regions length", 4, regions.length); |
357 |
assertEquals("Unexpected matching regions", "[R]untim[e]Exception/java.lang//!", printRegions(name, regions)); |
358 |
} |
359 |
public void test0053() { |
360 |
String name = "RuntimeException"; |
361 |
int[] regions = SearchPattern.getMatchingRegions("r*e*", name, SearchPattern.R_PATTERN_MATCH); |
362 |
assertEquals("Unexpected regions length", 4, regions.length); |
363 |
assertEquals("Unexpected matching regions", "[R]untim[e]Exception", printRegions(name, regions)); |
364 |
} |
365 |
public void test0054() { |
366 |
String name = "References/a3//"; |
367 |
int[] regions = SearchPattern.getMatchingRegions("r*e*", name, SearchPattern.R_PATTERN_MATCH); |
368 |
assertEquals("Unexpected regions length", 4, regions.length); |
369 |
assertEquals("Unexpected matching regions", "[Re]ferences/a3//", printRegions(name, regions)); |
370 |
} |
371 |
public void test0055() { |
372 |
String name = "References"; |
373 |
int[] regions = SearchPattern.getMatchingRegions("r*e*", name, SearchPattern.R_PATTERN_MATCH); |
374 |
assertEquals("Unexpected regions length", 4, regions.length); |
375 |
assertEquals("Unexpected matching regions", "[Re]ferences", printRegions(name, regions)); |
376 |
} |
377 |
public void test0056() { |
378 |
String name = "CloneNotSupportedException/java.lang//!"; |
379 |
int[] regions = SearchPattern.getMatchingRegions("CNS", name, SearchPattern.R_CAMELCASE_MATCH); |
380 |
assertEquals("Unexpected regions length", 6, regions.length); |
381 |
assertEquals("Unexpected matching regions", "[C]lone[N]ot[S]upportedException/java.lang//!", printRegions(name, regions)); |
382 |
} |
383 |
public void test0057() { |
384 |
String name = "AA/d8//"; |
385 |
int[] regions = SearchPattern.getMatchingRegions("AA", name, SearchPattern.R_CAMELCASE_MATCH); |
386 |
assertEquals("Unexpected regions length", 2, regions.length); |
387 |
assertEquals("Unexpected matching regions", "[AA]/d8//", printRegions(name, regions)); |
388 |
} |
389 |
public void test0058() { |
390 |
String name = "AbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyz/c9///S"; |
391 |
int[] regions = SearchPattern.getMatchingRegions("AA", name, SearchPattern.R_CAMELCASE_MATCH); |
392 |
assertEquals("Unexpected regions length", 4, regions.length); |
393 |
assertEquals("Unexpected matching regions", "[A]bcdefghijklmnopqrstuvwxyz[A]bcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyz/c9///S", printRegions(name, regions)); |
394 |
} |
395 |
public void test0059() { |
396 |
String name = "gen_obj"; |
397 |
int[] regions = SearchPattern.getMatchingRegions("gen_???", name, SearchPattern.R_PATTERN_MATCH); |
398 |
assertEquals("Unexpected regions length", 2, regions.length); |
399 |
assertEquals("Unexpected matching regions", "[gen_]obj", printRegions(name, regions)); |
400 |
} |
401 |
public void test0060() { |
402 |
String name = "gen_exc"; |
403 |
int[] regions = SearchPattern.getMatchingRegions("gen_???", name, SearchPattern.R_PATTERN_MATCH); |
404 |
assertEquals("Unexpected regions length", 2, regions.length); |
405 |
assertEquals("Unexpected matching regions", "[gen_]exc", printRegions(name, regions)); |
406 |
} |
407 |
public void test0061() { |
408 |
String name = "gen_wld"; |
409 |
int[] regions = SearchPattern.getMatchingRegions("gen_???", name, SearchPattern.R_PATTERN_MATCH); |
410 |
assertEquals("Unexpected regions length", 2, regions.length); |
411 |
assertEquals("Unexpected matching regions", "[gen_]wld", printRegions(name, regions)); |
412 |
} |
413 |
public void test0062() { |
414 |
String name = "gen_thr"; |
415 |
int[] regions = SearchPattern.getMatchingRegions("gen_???", name, SearchPattern.R_PATTERN_MATCH); |
416 |
assertEquals("Unexpected regions length", 2, regions.length); |
417 |
assertEquals("Unexpected matching regions", "[gen_]thr", printRegions(name, regions)); |
418 |
} |
419 |
public void test0063() { |
420 |
String name = "gen_run"; |
421 |
int[] regions = SearchPattern.getMatchingRegions("gen_???", name, SearchPattern.R_PATTERN_MATCH); |
422 |
assertEquals("Unexpected regions length", 2, regions.length); |
423 |
assertEquals("Unexpected matching regions", "[gen_]run", printRegions(name, regions)); |
424 |
} |
425 |
public void test0064() { |
426 |
String name = "gen_exc"; |
427 |
int[] regions = SearchPattern.getMatchingRegions("gen_*", name, SearchPattern.R_PATTERN_MATCH); |
428 |
assertEquals("Unexpected regions length", 2, regions.length); |
429 |
assertEquals("Unexpected matching regions", "[gen_]exc", printRegions(name, regions)); |
430 |
} |
431 |
public void test0065() { |
432 |
String name = "gen_www"; |
433 |
int[] regions = SearchPattern.getMatchingRegions("gen_*", name, SearchPattern.R_PATTERN_MATCH); |
434 |
assertEquals("Unexpected regions length", 2, regions.length); |
435 |
assertEquals("Unexpected matching regions", "[gen_]www", printRegions(name, regions)); |
436 |
} |
437 |
public void test0066() { |
438 |
String name = "test"; |
439 |
int[] regions = SearchPattern.getMatchingRegions("test", name, SearchPattern.R_PATTERN_MATCH); |
440 |
assertEquals("Unexpected regions length", 2, regions.length); |
441 |
assertEquals("Unexpected matching regions", "[test]", printRegions(name, regions)); |
442 |
} |
443 |
public void test0067() { |
444 |
String name = "gen_obj"; |
445 |
int[] regions = SearchPattern.getMatchingRegions("gen_obj", name, SearchPattern.R_PATTERN_MATCH); |
446 |
assertEquals("Unexpected regions length", 2, regions.length); |
447 |
assertEquals("Unexpected matching regions", "[gen_obj]", printRegions(name, regions)); |
448 |
} |
449 |
public void test0068() { |
450 |
String name = "gen_exc"; |
451 |
int[] regions = SearchPattern.getMatchingRegions("gen_exc", name, SearchPattern.R_PATTERN_MATCH); |
452 |
assertEquals("Unexpected regions length", 2, regions.length); |
453 |
assertEquals("Unexpected matching regions", "[gen_exc]", printRegions(name, regions)); |
454 |
} |
455 |
public void test0069() { |
456 |
String name = "gen_wld"; |
457 |
int[] regions = SearchPattern.getMatchingRegions("gen_wld", name, SearchPattern.R_PATTERN_MATCH); |
458 |
assertEquals("Unexpected regions length", 2, regions.length); |
459 |
assertEquals("Unexpected matching regions", "[gen_wld]", printRegions(name, regions)); |
460 |
} |
461 |
public void test0070() { |
462 |
String name = "gen_thr"; |
463 |
int[] regions = SearchPattern.getMatchingRegions("gen_thr", name, SearchPattern.R_PATTERN_MATCH); |
464 |
assertEquals("Unexpected regions length", 2, regions.length); |
465 |
assertEquals("Unexpected matching regions", "[gen_thr]", printRegions(name, regions)); |
466 |
} |
467 |
public void test0071() { |
468 |
String name = "gen_run"; |
469 |
int[] regions = SearchPattern.getMatchingRegions("gen_run", name, SearchPattern.R_PATTERN_MATCH); |
470 |
assertEquals("Unexpected regions length", 2, regions.length); |
471 |
assertEquals("Unexpected matching regions", "[gen_run]", printRegions(name, regions)); |
472 |
} |
473 |
public void test0072() { |
474 |
String name = "qgen_obj"; |
475 |
int[] regions = SearchPattern.getMatchingRegions("?gen_*", name, SearchPattern.R_PATTERN_MATCH); |
476 |
assertEquals("Unexpected regions length", 2, regions.length); |
477 |
assertEquals("Unexpected matching regions", "q[gen_]obj", printRegions(name, regions)); |
478 |
} |
479 |
public void test0073() { |
480 |
String name = "qgen_wld"; |
481 |
int[] regions = SearchPattern.getMatchingRegions("?gen_*", name, SearchPattern.R_PATTERN_MATCH); |
482 |
assertEquals("Unexpected regions length", 2, regions.length); |
483 |
assertEquals("Unexpected matching regions", "q[gen_]wld", printRegions(name, regions)); |
484 |
} |
485 |
public void test0074() { |
486 |
String name = "qgen_run"; |
487 |
int[] regions = SearchPattern.getMatchingRegions("?gen_*", name, SearchPattern.R_PATTERN_MATCH); |
488 |
assertEquals("Unexpected regions length", 2, regions.length); |
489 |
assertEquals("Unexpected matching regions", "q[gen_]run", printRegions(name, regions)); |
490 |
} |
491 |
public void test0075() { |
492 |
String name = "qgen_exc"; |
493 |
int[] regions = SearchPattern.getMatchingRegions("?gen_*", name, SearchPattern.R_PATTERN_MATCH); |
494 |
assertEquals("Unexpected regions length", 2, regions.length); |
495 |
assertEquals("Unexpected matching regions", "q[gen_]exc", printRegions(name, regions)); |
496 |
} |
497 |
public void test0076() { |
498 |
String name = "qgen_thr"; |
499 |
int[] regions = SearchPattern.getMatchingRegions("?gen_*", name, SearchPattern.R_PATTERN_MATCH); |
500 |
assertEquals("Unexpected regions length", 2, regions.length); |
501 |
assertEquals("Unexpected matching regions", "q[gen_]thr", printRegions(name, regions)); |
502 |
} |
503 |
public void test0077() { |
504 |
String name = "qgen_run"; |
505 |
int[] regions = SearchPattern.getMatchingRegions("qgen_*", name, SearchPattern.R_PATTERN_MATCH); |
506 |
assertEquals("Unexpected regions length", 2, regions.length); |
507 |
assertEquals("Unexpected matching regions", "[qgen_]run", printRegions(name, regions)); |
508 |
} |
509 |
public void test0078() { |
510 |
String name = "qgen_obj"; |
511 |
int[] regions = SearchPattern.getMatchingRegions("qgen_obj", name, SearchPattern.R_PATTERN_MATCH); |
512 |
assertEquals("Unexpected regions length", 2, regions.length); |
513 |
assertEquals("Unexpected matching regions", "[qgen_obj]", printRegions(name, regions)); |
514 |
} |
515 |
public void test0079() { |
516 |
String name = "qgen_exc"; |
517 |
int[] regions = SearchPattern.getMatchingRegions("qgen_exc", name, SearchPattern.R_PATTERN_MATCH); |
518 |
assertEquals("Unexpected regions length", 2, regions.length); |
519 |
assertEquals("Unexpected matching regions", "[qgen_exc]", printRegions(name, regions)); |
520 |
} |
521 |
public void test0080() { |
522 |
String name = "qgen_wld"; |
523 |
int[] regions = SearchPattern.getMatchingRegions("qgen_wld", name, SearchPattern.R_PATTERN_MATCH); |
524 |
assertEquals("Unexpected regions length", 2, regions.length); |
525 |
assertEquals("Unexpected matching regions", "[qgen_wld]", printRegions(name, regions)); |
526 |
} |
527 |
public void test0081() { |
528 |
String name = "qgen_thr"; |
529 |
int[] regions = SearchPattern.getMatchingRegions("qgen_thr", name, SearchPattern.R_PATTERN_MATCH); |
530 |
assertEquals("Unexpected regions length", 2, regions.length); |
531 |
assertEquals("Unexpected matching regions", "[qgen_thr]", printRegions(name, regions)); |
532 |
} |
533 |
public void test0082() { |
534 |
String name = "qgen_run"; |
535 |
int[] regions = SearchPattern.getMatchingRegions("qgen_run", name, SearchPattern.R_PATTERN_MATCH); |
536 |
assertEquals("Unexpected regions length", 2, regions.length); |
537 |
assertEquals("Unexpected matching regions", "[qgen_run]", printRegions(name, regions)); |
538 |
} |
539 |
public void test0083() { |
540 |
String name = "complete/4"; |
541 |
int[] regions = SearchPattern.getMatchingRegions("complete/*", name, SearchPattern.R_PATTERN_MATCH); |
542 |
assertEquals("Unexpected regions length", 2, regions.length); |
543 |
assertEquals("Unexpected matching regions", "[complete/]4", printRegions(name, regions)); |
544 |
} |
545 |
public void test0084() { |
546 |
String name = "complete/2"; |
547 |
int[] regions = SearchPattern.getMatchingRegions("complete/*", name, SearchPattern.R_PATTERN_MATCH); |
548 |
assertEquals("Unexpected regions length", 2, regions.length); |
549 |
assertEquals("Unexpected matching regions", "[complete/]2", printRegions(name, regions)); |
550 |
} |
551 |
public void test0085() { |
552 |
String name = "complete"; |
553 |
int[] regions = SearchPattern.getMatchingRegions("complete", name, SearchPattern.R_PATTERN_MATCH); |
554 |
assertEquals("Unexpected regions length", 2, regions.length); |
555 |
assertEquals("Unexpected matching regions", "[complete]", printRegions(name, regions)); |
556 |
} |
557 |
public void test0086() { |
558 |
String name = "generic/1"; |
559 |
int[] regions = SearchPattern.getMatchingRegions("*e?e*", name, SearchPattern.R_PATTERN_MATCH); |
560 |
assertEquals("Unexpected regions length", 4, regions.length); |
561 |
assertEquals("Unexpected matching regions", "g[e]n[e]ric/1", printRegions(name, regions)); |
562 |
} |
563 |
public void test0087() { |
564 |
String name = "generic/3"; |
565 |
int[] regions = SearchPattern.getMatchingRegions("*e?e*", name, SearchPattern.R_PATTERN_MATCH); |
566 |
assertEquals("Unexpected regions length", 4, regions.length); |
567 |
assertEquals("Unexpected matching regions", "g[e]n[e]ric/3", printRegions(name, regions)); |
568 |
} |
569 |
public void test0088() { |
570 |
String name = "FREDERIC/0"; |
571 |
int[] regions = SearchPattern.getMatchingRegions("*e?e*", name, SearchPattern.R_PATTERN_MATCH); |
572 |
assertEquals("Unexpected regions length", 4, regions.length); |
573 |
assertEquals("Unexpected matching regions", "FR[E]D[E]RIC/0", printRegions(name, regions)); |
574 |
} |
575 |
public void test0089() { |
576 |
String name = "generic"; |
577 |
int[] regions = SearchPattern.getMatchingRegions("*e?e*", name, SearchPattern.R_PATTERN_MATCH); |
578 |
assertEquals("Unexpected regions length", 4, regions.length); |
579 |
assertEquals("Unexpected matching regions", "g[e]n[e]ric", printRegions(name, regions)); |
580 |
} |
581 |
public void test0090() { |
582 |
String name = "complete/2"; |
583 |
int[] regions = SearchPattern.getMatchingRegions("complete/2", name, SearchPattern.R_PATTERN_MATCH); |
584 |
assertEquals("Unexpected regions length", 2, regions.length); |
585 |
assertEquals("Unexpected matching regions", "[complete/2]", printRegions(name, regions)); |
586 |
} |
587 |
public void test0091() { |
588 |
String name = "generic/1"; |
589 |
int[] regions = SearchPattern.getMatchingRegions("generic/1", name, SearchPattern.R_PATTERN_MATCH); |
590 |
assertEquals("Unexpected regions length", 2, regions.length); |
591 |
assertEquals("Unexpected matching regions", "[generic/1]", printRegions(name, regions)); |
592 |
} |
593 |
public void test0092() { |
594 |
String name = "generic"; |
595 |
int[] regions = SearchPattern.getMatchingRegions("generic", name, SearchPattern.R_PATTERN_MATCH); |
596 |
assertEquals("Unexpected regions length", 2, regions.length); |
597 |
assertEquals("Unexpected matching regions", "[generic]", printRegions(name, regions)); |
598 |
} |
599 |
public void test0093() { |
600 |
String name = "g5.m.def"; |
601 |
int[] regions = SearchPattern.getMatchingRegions("g5.m.def", name, SearchPattern.R_PATTERN_MATCH); |
602 |
assertEquals("Unexpected regions length", 2, regions.length); |
603 |
assertEquals("Unexpected matching regions", "[g5.m.def]", printRegions(name, regions)); |
604 |
} |
605 |
public void test0094() { |
606 |
String name = "generic/1"; |
607 |
int[] regions = SearchPattern.getMatchingRegions("generic/*", name, SearchPattern.R_PATTERN_MATCH); |
608 |
assertEquals("Unexpected regions length", 2, regions.length); |
609 |
assertEquals("Unexpected matching regions", "[generic/]1", printRegions(name, regions)); |
610 |
} |
611 |
public void test0095() { |
612 |
String name = "generic/3"; |
613 |
int[] regions = SearchPattern.getMatchingRegions("generic/3", name, SearchPattern.R_PATTERN_MATCH); |
614 |
assertEquals("Unexpected regions length", 2, regions.length); |
615 |
assertEquals("Unexpected matching regions", "[generic/3]", printRegions(name, regions)); |
616 |
} |
617 |
public void test0096() { |
618 |
String name = "complete/4"; |
619 |
int[] regions = SearchPattern.getMatchingRegions("complete/4", name, SearchPattern.R_PATTERN_MATCH); |
620 |
assertEquals("Unexpected regions length", 2, regions.length); |
621 |
assertEquals("Unexpected matching regions", "[complete/4]", printRegions(name, regions)); |
622 |
} |
623 |
public void test0097() { |
624 |
String name = "A/e8//"; |
625 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
626 |
assertEquals("Unexpected regions length", 2, regions.length); |
627 |
assertEquals("Unexpected matching regions", "[A]/e8//", printRegions(name, regions)); |
628 |
} |
629 |
public void test0098() { |
630 |
String name = "A/p8//"; |
631 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
632 |
assertEquals("Unexpected regions length", 2, regions.length); |
633 |
assertEquals("Unexpected matching regions", "[A]/p8//", printRegions(name, regions)); |
634 |
} |
635 |
public void test0099() { |
636 |
String name = "A/d8//"; |
637 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
638 |
assertEquals("Unexpected regions length", 2, regions.length); |
639 |
assertEquals("Unexpected matching regions", "[A]/d8//", printRegions(name, regions)); |
640 |
} |
641 |
public void test0100() { |
642 |
String name = "A/r8//"; |
643 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
644 |
assertEquals("Unexpected regions length", 2, regions.length); |
645 |
assertEquals("Unexpected matching regions", "[A]/r8//", printRegions(name, regions)); |
646 |
} |
647 |
public void test0101() { |
648 |
String name = "AA/d8//"; |
649 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
650 |
assertEquals("Unexpected regions length", 2, regions.length); |
651 |
assertEquals("Unexpected matching regions", "[A]A/d8//", printRegions(name, regions)); |
652 |
} |
653 |
public void test0102() { |
654 |
String name = "A/PackageReference//"; |
655 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
656 |
assertEquals("Unexpected regions length", 2, regions.length); |
657 |
assertEquals("Unexpected matching regions", "[A]/PackageReference//", printRegions(name, regions)); |
658 |
} |
659 |
public void test0103() { |
660 |
String name = "A/a8//"; |
661 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
662 |
assertEquals("Unexpected regions length", 2, regions.length); |
663 |
assertEquals("Unexpected matching regions", "[A]/a8//", printRegions(name, regions)); |
664 |
} |
665 |
public void test0104() { |
666 |
String name = "Azz/MemberTypeReference//"; |
667 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
668 |
assertEquals("Unexpected regions length", 2, regions.length); |
669 |
assertEquals("Unexpected matching regions", "[A]zz/MemberTypeReference//", printRegions(name, regions)); |
670 |
} |
671 |
public void test0105() { |
672 |
String name = "A/ObjectMemberTypeReference//"; |
673 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
674 |
assertEquals("Unexpected regions length", 2, regions.length); |
675 |
assertEquals("Unexpected matching regions", "[A]/ObjectMemberTypeReference//", printRegions(name, regions)); |
676 |
} |
677 |
public void test0106() { |
678 |
String name = "A/a9//"; |
679 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
680 |
assertEquals("Unexpected regions length", 2, regions.length); |
681 |
assertEquals("Unexpected matching regions", "[A]/a9//", printRegions(name, regions)); |
682 |
} |
683 |
public void test0107() { |
684 |
String name = "A/r9//"; |
685 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
686 |
assertEquals("Unexpected regions length", 2, regions.length); |
687 |
assertEquals("Unexpected matching regions", "[A]/r9//", printRegions(name, regions)); |
688 |
} |
689 |
public void test0108() { |
690 |
String name = "A/e9//"; |
691 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
692 |
assertEquals("Unexpected regions length", 2, regions.length); |
693 |
assertEquals("Unexpected matching regions", "[A]/e9//", printRegions(name, regions)); |
694 |
} |
695 |
public void test0109() { |
696 |
String name = "AA/q1///S"; |
697 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
698 |
assertEquals("Unexpected regions length", 2, regions.length); |
699 |
assertEquals("Unexpected matching regions", "[A]A/q1///S", printRegions(name, regions)); |
700 |
} |
701 |
public void test0110() { |
702 |
String name = "A///"; |
703 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
704 |
assertEquals("Unexpected regions length", 2, regions.length); |
705 |
assertEquals("Unexpected matching regions", "[A]///", printRegions(name, regions)); |
706 |
} |
707 |
public void test0111() { |
708 |
String name = "A/p//"; |
709 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
710 |
assertEquals("Unexpected regions length", 2, regions.length); |
711 |
assertEquals("Unexpected matching regions", "[A]/p//", printRegions(name, regions)); |
712 |
} |
713 |
public void test0112() { |
714 |
String name = "A/a//"; |
715 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
716 |
assertEquals("Unexpected regions length", 2, regions.length); |
717 |
assertEquals("Unexpected matching regions", "[A]/a//", printRegions(name, regions)); |
718 |
} |
719 |
public void test0113() { |
720 |
String name = "AzzMember/MemberTypeReference/Azz/"; |
721 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
722 |
assertEquals("Unexpected regions length", 2, regions.length); |
723 |
assertEquals("Unexpected matching regions", "[A]zzMember/MemberTypeReference/Azz/", printRegions(name, regions)); |
724 |
} |
725 |
public void test0114() { |
726 |
String name = "A/VariousTypeReferences//"; |
727 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
728 |
assertEquals("Unexpected regions length", 2, regions.length); |
729 |
assertEquals("Unexpected matching regions", "[A]/VariousTypeReferences//", printRegions(name, regions)); |
730 |
} |
731 |
public void test0115() { |
732 |
String name = "AncestorEnumeration/p10.a.b.om/X/"; |
733 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
734 |
assertEquals("Unexpected regions length", 2, regions.length); |
735 |
assertEquals("Unexpected matching regions", "[A]ncestorEnumeration/p10.a.b.om/X/", printRegions(name, regions)); |
736 |
} |
737 |
public void test0116() { |
738 |
String name = "AQE/q6///S"; |
739 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
740 |
assertEquals("Unexpected regions length", 2, regions.length); |
741 |
assertEquals("Unexpected matching regions", "[A]QE/q6///S", printRegions(name, regions)); |
742 |
} |
743 |
public void test0117() { |
744 |
String name = "A/r//"; |
745 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
746 |
assertEquals("Unexpected regions length", 2, regions.length); |
747 |
assertEquals("Unexpected matching regions", "[A]/r//", printRegions(name, regions)); |
748 |
} |
749 |
public void test0118() { |
750 |
String name = "A1/c11///S"; |
751 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
752 |
assertEquals("Unexpected regions length", 2, regions.length); |
753 |
assertEquals("Unexpected matching regions", "[A]1/c11///S", printRegions(name, regions)); |
754 |
} |
755 |
public void test0119() { |
756 |
String name = "A2/c11///S"; |
757 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
758 |
assertEquals("Unexpected regions length", 2, regions.length); |
759 |
assertEquals("Unexpected matching regions", "[A]2/c11///S", printRegions(name, regions)); |
760 |
} |
761 |
public void test0120() { |
762 |
String name = "A3/c11///S"; |
763 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
764 |
assertEquals("Unexpected regions length", 2, regions.length); |
765 |
assertEquals("Unexpected matching regions", "[A]3/c11///S", printRegions(name, regions)); |
766 |
} |
767 |
public void test0121() { |
768 |
String name = "A/a5///S"; |
769 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
770 |
assertEquals("Unexpected regions length", 2, regions.length); |
771 |
assertEquals("Unexpected matching regions", "[A]/a5///S", printRegions(name, regions)); |
772 |
} |
773 |
public void test0122() { |
774 |
String name = "AA////S"; |
775 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
776 |
assertEquals("Unexpected regions length", 2, regions.length); |
777 |
assertEquals("Unexpected matching regions", "[A]A////S", printRegions(name, regions)); |
778 |
} |
779 |
public void test0123() { |
780 |
String name = "A21485/r3//"; |
781 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
782 |
assertEquals("Unexpected regions length", 2, regions.length); |
783 |
assertEquals("Unexpected matching regions", "[A]21485/r3//", printRegions(name, regions)); |
784 |
} |
785 |
public void test0124() { |
786 |
String name = "AA/p6///S"; |
787 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
788 |
assertEquals("Unexpected regions length", 2, regions.length); |
789 |
assertEquals("Unexpected matching regions", "[A]A/p6///S", printRegions(name, regions)); |
790 |
} |
791 |
public void test0125() { |
792 |
String name = "AQ/q6///S"; |
793 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
794 |
assertEquals("Unexpected regions length", 2, regions.length); |
795 |
assertEquals("Unexpected matching regions", "[A]Q/q6///S", printRegions(name, regions)); |
796 |
} |
797 |
public void test0126() { |
798 |
String name = "A/c1//"; |
799 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
800 |
assertEquals("Unexpected regions length", 2, regions.length); |
801 |
assertEquals("Unexpected matching regions", "[A]/c1//", printRegions(name, regions)); |
802 |
} |
803 |
public void test0127() { |
804 |
String name = "A/b1//"; |
805 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
806 |
assertEquals("Unexpected regions length", 2, regions.length); |
807 |
assertEquals("Unexpected matching regions", "[A]/b1//", printRegions(name, regions)); |
808 |
} |
809 |
public void test0128() { |
810 |
String name = "A/p7/0/"; |
811 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
812 |
assertEquals("Unexpected regions length", 2, regions.length); |
813 |
assertEquals("Unexpected matching regions", "[A]/p7/0/", printRegions(name, regions)); |
814 |
} |
815 |
public void test0129() { |
816 |
String name = "A/q2//"; |
817 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
818 |
assertEquals("Unexpected regions length", 2, regions.length); |
819 |
assertEquals("Unexpected matching regions", "[A]/q2//", printRegions(name, regions)); |
820 |
} |
821 |
public void test0130() { |
822 |
String name = "A/c2//"; |
823 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
824 |
assertEquals("Unexpected regions length", 2, regions.length); |
825 |
assertEquals("Unexpected matching regions", "[A]/c2//", printRegions(name, regions)); |
826 |
} |
827 |
public void test0131() { |
828 |
String name = "A/c11//"; |
829 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
830 |
assertEquals("Unexpected regions length", 2, regions.length); |
831 |
assertEquals("Unexpected matching regions", "[A]/c11//", printRegions(name, regions)); |
832 |
} |
833 |
public void test0132() { |
834 |
String name = "A1/q9///S"; |
835 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
836 |
assertEquals("Unexpected regions length", 2, regions.length); |
837 |
assertEquals("Unexpected matching regions", "[A]1/q9///S", printRegions(name, regions)); |
838 |
} |
839 |
public void test0133() { |
840 |
String name = "A/d3//"; |
841 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
842 |
assertEquals("Unexpected regions length", 2, regions.length); |
843 |
assertEquals("Unexpected matching regions", "[A]/d3//", printRegions(name, regions)); |
844 |
} |
845 |
public void test0134() { |
846 |
String name = "A/s3//"; |
847 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
848 |
assertEquals("Unexpected regions length", 2, regions.length); |
849 |
assertEquals("Unexpected matching regions", "[A]/s3//", printRegions(name, regions)); |
850 |
} |
851 |
public void test0135() { |
852 |
String name = "A/TypeReferenceInArray//"; |
853 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
854 |
assertEquals("Unexpected regions length", 2, regions.length); |
855 |
assertEquals("Unexpected matching regions", "[A]/TypeReferenceInArray//", printRegions(name, regions)); |
856 |
} |
857 |
public void test0136() { |
858 |
String name = "A/e4//"; |
859 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
860 |
assertEquals("Unexpected regions length", 2, regions.length); |
861 |
assertEquals("Unexpected matching regions", "[A]/e4//", printRegions(name, regions)); |
862 |
} |
863 |
public void test0137() { |
864 |
String name = "A/p4//"; |
865 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
866 |
assertEquals("Unexpected regions length", 2, regions.length); |
867 |
assertEquals("Unexpected matching regions", "[A]/p4//", printRegions(name, regions)); |
868 |
} |
869 |
public void test0138() { |
870 |
String name = "A/b4//"; |
871 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
872 |
assertEquals("Unexpected regions length", 2, regions.length); |
873 |
assertEquals("Unexpected matching regions", "[A]/b4//", printRegions(name, regions)); |
874 |
} |
875 |
public void test0139() { |
876 |
String name = "AbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyz/c9///S"; |
877 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
878 |
assertEquals("Unexpected regions length", 2, regions.length); |
879 |
assertEquals("Unexpected matching regions", "[A]bcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyz/c9///S", printRegions(name, regions)); |
880 |
} |
881 |
public void test0140() { |
882 |
String name = "A29366/e1//"; |
883 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
884 |
assertEquals("Unexpected regions length", 2, regions.length); |
885 |
assertEquals("Unexpected matching regions", "[A]29366/e1//", printRegions(name, regions)); |
886 |
} |
887 |
public void test0141() { |
888 |
String name = "A/s5//"; |
889 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
890 |
assertEquals("Unexpected regions length", 2, regions.length); |
891 |
assertEquals("Unexpected matching regions", "[A]/s5//", printRegions(name, regions)); |
892 |
} |
893 |
public void test0142() { |
894 |
String name = "A/b5//"; |
895 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
896 |
assertEquals("Unexpected regions length", 2, regions.length); |
897 |
assertEquals("Unexpected matching regions", "[A]/b5//", printRegions(name, regions)); |
898 |
} |
899 |
public void test0143() { |
900 |
String name = "A/p5//"; |
901 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
902 |
assertEquals("Unexpected regions length", 2, regions.length); |
903 |
assertEquals("Unexpected matching regions", "[A]/p5//", printRegions(name, regions)); |
904 |
} |
905 |
public void test0144() { |
906 |
String name = "A/d9.p1//"; |
907 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
908 |
assertEquals("Unexpected regions length", 2, regions.length); |
909 |
assertEquals("Unexpected matching regions", "[A]/d9.p1//", printRegions(name, regions)); |
910 |
} |
911 |
public void test0145() { |
912 |
String name = "A1/e5//"; |
913 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
914 |
assertEquals("Unexpected regions length", 2, regions.length); |
915 |
assertEquals("Unexpected matching regions", "[A]1/e5//", printRegions(name, regions)); |
916 |
} |
917 |
public void test0146() { |
918 |
String name = "A$B/q3//"; |
919 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
920 |
assertEquals("Unexpected regions length", 2, regions.length); |
921 |
assertEquals("Unexpected matching regions", "[A]$B/q3//", printRegions(name, regions)); |
922 |
} |
923 |
public void test0147() { |
924 |
String name = "A/a3.b//"; |
925 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
926 |
assertEquals("Unexpected regions length", 2, regions.length); |
927 |
assertEquals("Unexpected matching regions", "[A]/a3.b//", printRegions(name, regions)); |
928 |
} |
929 |
public void test0148() { |
930 |
String name = "A/b6//"; |
931 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
932 |
assertEquals("Unexpected regions length", 2, regions.length); |
933 |
assertEquals("Unexpected matching regions", "[A]/b6//", printRegions(name, regions)); |
934 |
} |
935 |
public void test0149() { |
936 |
String name = "A/p6//"; |
937 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
938 |
assertEquals("Unexpected regions length", 2, regions.length); |
939 |
assertEquals("Unexpected matching regions", "[A]/p6//", printRegions(name, regions)); |
940 |
} |
941 |
public void test0150() { |
942 |
String name = "A/a6//"; |
943 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
944 |
assertEquals("Unexpected regions length", 2, regions.length); |
945 |
assertEquals("Unexpected matching regions", "[A]/a6//", printRegions(name, regions)); |
946 |
} |
947 |
public void test0151() { |
948 |
String name = "A/r6//"; |
949 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
950 |
assertEquals("Unexpected regions length", 2, regions.length); |
951 |
assertEquals("Unexpected matching regions", "[A]/r6//", printRegions(name, regions)); |
952 |
} |
953 |
public void test0152() { |
954 |
String name = "A/e6//"; |
955 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
956 |
assertEquals("Unexpected regions length", 2, regions.length); |
957 |
assertEquals("Unexpected matching regions", "[A]/e6//", printRegions(name, regions)); |
958 |
} |
959 |
public void test0153() { |
960 |
String name = "AxisFilter/net.sf.saxon.om/Navigator/ "; |
961 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
962 |
assertEquals("Unexpected regions length", 2, regions.length); |
963 |
assertEquals("Unexpected matching regions", "[A]xisFilter/net.sf.saxon.om/Navigator/ ", printRegions(name, regions)); |
964 |
} |
965 |
public void test0154() { |
966 |
String name = "AQ/sd//"; |
967 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
968 |
assertEquals("Unexpected regions length", 2, regions.length); |
969 |
assertEquals("Unexpected matching regions", "[A]Q/sd//", printRegions(name, regions)); |
970 |
} |
971 |
public void test0155() { |
972 |
String name = "AQE/sd///S"; |
973 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
974 |
assertEquals("Unexpected regions length", 2, regions.length); |
975 |
assertEquals("Unexpected matching regions", "[A]QE/sd///S", printRegions(name, regions)); |
976 |
} |
977 |
public void test0156() { |
978 |
String name = "A/e7//"; |
979 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
980 |
assertEquals("Unexpected regions length", 2, regions.length); |
981 |
assertEquals("Unexpected matching regions", "[A]/e7//", printRegions(name, regions)); |
982 |
} |
983 |
public void test0157() { |
984 |
String name = "A/r7//"; |
985 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
986 |
assertEquals("Unexpected regions length", 2, regions.length); |
987 |
assertEquals("Unexpected matching regions", "[A]/r7//", printRegions(name, regions)); |
988 |
} |
989 |
public void test0158() { |
990 |
String name = "A/d7//"; |
991 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
992 |
assertEquals("Unexpected regions length", 2, regions.length); |
993 |
assertEquals("Unexpected matching regions", "[A]/d7//", printRegions(name, regions)); |
994 |
} |
995 |
public void test0159() { |
996 |
String name = "A/p7//"; |
997 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
998 |
assertEquals("Unexpected regions length", 2, regions.length); |
999 |
assertEquals("Unexpected matching regions", "[A]/p7//", printRegions(name, regions)); |
1000 |
} |
1001 |
public void test0160() { |
1002 |
String name = "A/NoReference//"; |
1003 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
1004 |
assertEquals("Unexpected regions length", 2, regions.length); |
1005 |
assertEquals("Unexpected matching regions", "[A]/NoReference//", printRegions(name, regions)); |
1006 |
} |
1007 |
public void test0161() { |
1008 |
String name = "A"; |
1009 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
1010 |
assertEquals("Unexpected regions length", 2, regions.length); |
1011 |
assertEquals("Unexpected matching regions", "[A]", printRegions(name, regions)); |
1012 |
} |
1013 |
public void test0162() { |
1014 |
String name = "Azz"; |
1015 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
1016 |
assertEquals("Unexpected regions length", 2, regions.length); |
1017 |
assertEquals("Unexpected matching regions", "[A]zz", printRegions(name, regions)); |
1018 |
} |
1019 |
public void test0163() { |
1020 |
String name = "AxisFilter"; |
1021 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
1022 |
assertEquals("Unexpected regions length", 2, regions.length); |
1023 |
assertEquals("Unexpected matching regions", "[A]xisFilter", printRegions(name, regions)); |
1024 |
} |
1025 |
public void test0164() { |
1026 |
String name = "AQE"; |
1027 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
1028 |
assertEquals("Unexpected regions length", 2, regions.length); |
1029 |
assertEquals("Unexpected matching regions", "[A]QE", printRegions(name, regions)); |
1030 |
} |
1031 |
public void test0165() { |
1032 |
String name = "AA"; |
1033 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
1034 |
assertEquals("Unexpected regions length", 2, regions.length); |
1035 |
assertEquals("Unexpected matching regions", "[A]A", printRegions(name, regions)); |
1036 |
} |
1037 |
public void test0166() { |
1038 |
String name = "A$B"; |
1039 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
1040 |
assertEquals("Unexpected regions length", 2, regions.length); |
1041 |
assertEquals("Unexpected matching regions", "[A]$B", printRegions(name, regions)); |
1042 |
} |
1043 |
public void test0167() { |
1044 |
String name = "A1"; |
1045 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
1046 |
assertEquals("Unexpected regions length", 2, regions.length); |
1047 |
assertEquals("Unexpected matching regions", "[A]1", printRegions(name, regions)); |
1048 |
} |
1049 |
public void test0168() { |
1050 |
String name = "A21485"; |
1051 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
1052 |
assertEquals("Unexpected regions length", 2, regions.length); |
1053 |
assertEquals("Unexpected matching regions", "[A]21485", printRegions(name, regions)); |
1054 |
} |
1055 |
public void test0169() { |
1056 |
String name = "AbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyz"; |
1057 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
1058 |
assertEquals("Unexpected regions length", 2, regions.length); |
1059 |
assertEquals("Unexpected matching regions", "[A]bcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyz", printRegions(name, regions)); |
1060 |
} |
1061 |
public void test0170() { |
1062 |
String name = "AzzMember"; |
1063 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
1064 |
assertEquals("Unexpected regions length", 2, regions.length); |
1065 |
assertEquals("Unexpected matching regions", "[A]zzMember", printRegions(name, regions)); |
1066 |
} |
1067 |
public void test0171() { |
1068 |
String name = "AQ"; |
1069 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
1070 |
assertEquals("Unexpected regions length", 2, regions.length); |
1071 |
assertEquals("Unexpected matching regions", "[A]Q", printRegions(name, regions)); |
1072 |
} |
1073 |
public void test0172() { |
1074 |
String name = "AncestorEnumeration"; |
1075 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
1076 |
assertEquals("Unexpected regions length", 2, regions.length); |
1077 |
assertEquals("Unexpected matching regions", "[A]ncestorEnumeration", printRegions(name, regions)); |
1078 |
} |
1079 |
public void test0173() { |
1080 |
String name = "A3"; |
1081 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
1082 |
assertEquals("Unexpected regions length", 2, regions.length); |
1083 |
assertEquals("Unexpected matching regions", "[A]3", printRegions(name, regions)); |
1084 |
} |
1085 |
public void test0174() { |
1086 |
String name = "A2"; |
1087 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
1088 |
assertEquals("Unexpected regions length", 2, regions.length); |
1089 |
assertEquals("Unexpected matching regions", "[A]2", printRegions(name, regions)); |
1090 |
} |
1091 |
public void test0175() { |
1092 |
String name = "A29366"; |
1093 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
1094 |
assertEquals("Unexpected regions length", 2, regions.length); |
1095 |
assertEquals("Unexpected matching regions", "[A]29366", printRegions(name, regions)); |
1096 |
} |
1097 |
public void test0176() { |
1098 |
String name = "AAABBB"; |
1099 |
int[] regions = SearchPattern.getMatchingRegions("a*", name, SearchPattern.R_PATTERN_MATCH); |
1100 |
assertEquals("Unexpected regions length", 2, regions.length); |
1101 |
assertEquals("Unexpected matching regions", "[A]AABBB", printRegions(name, regions)); |
1102 |
} |
1103 |
public void test0177() { |
1104 |
String name = "Link"; |
1105 |
int[] regions = SearchPattern.getMatchingRegions("link", name, SearchPattern.R_PATTERN_MATCH); |
1106 |
assertEquals("Unexpected regions length", 2, regions.length); |
1107 |
assertEquals("Unexpected matching regions", "[Link]", printRegions(name, regions)); |
1108 |
} |
1109 |
public void test0178() { |
1110 |
String name = "java.lang"; |
1111 |
int[] regions = SearchPattern.getMatchingRegions("*.lang", name, SearchPattern.R_PATTERN_MATCH); |
1112 |
assertEquals("Unexpected regions length", 2, regions.length); |
1113 |
assertEquals("Unexpected matching regions", "java[.lang]", printRegions(name, regions)); |
1114 |
} |
1115 |
public void test0179() { |
1116 |
String name = "Collection/java.util//?"; |
1117 |
int[] regions = SearchPattern.getMatchingRegions("*tion/*", name, SearchPattern.R_PATTERN_MATCH); |
1118 |
assertEquals("Unexpected regions length", 2, regions.length); |
1119 |
assertEquals("Unexpected matching regions", "Collec[tion/]java.util//?", printRegions(name, regions)); |
1120 |
} |
1121 |
public void test0180() { |
1122 |
String name = "RetentionPolicy/java.lang.annotation//?"; |
1123 |
int[] regions = SearchPattern.getMatchingRegions("*tion/*", name, SearchPattern.R_PATTERN_MATCH); |
1124 |
assertEquals("Unexpected regions length", 2, regions.length); |
1125 |
assertEquals("Unexpected matching regions", "RetentionPolicy/java.lang.annota[tion/]/?", printRegions(name, regions)); |
1126 |
} |
1127 |
public void test0181() { |
1128 |
String name = "InterruptedException/java.lang//!"; |
1129 |
int[] regions = SearchPattern.getMatchingRegions("*tion/*", name, SearchPattern.R_PATTERN_MATCH); |
1130 |
assertEquals("Unexpected regions length", 2, regions.length); |
1131 |
assertEquals("Unexpected matching regions", "InterruptedExcep[tion/]java.lang//!", printRegions(name, regions)); |
1132 |
} |
1133 |
public void test0182() { |
1134 |
String name = "IllegalMonitorStateException/java.lang//!"; |
1135 |
int[] regions = SearchPattern.getMatchingRegions("*tion/*", name, SearchPattern.R_PATTERN_MATCH); |
1136 |
assertEquals("Unexpected regions length", 2, regions.length); |
1137 |
assertEquals("Unexpected matching regions", "IllegalMonitorStateExcep[tion/]java.lang//!", printRegions(name, regions)); |
1138 |
} |
1139 |
public void test0183() { |
1140 |
String name = "Inherited/java.lang.annotation//?"; |
1141 |
int[] regions = SearchPattern.getMatchingRegions("*tion/*", name, SearchPattern.R_PATTERN_MATCH); |
1142 |
assertEquals("Unexpected regions length", 2, regions.length); |
1143 |
assertEquals("Unexpected matching regions", "Inherited/java.lang.annota[tion/]/?", printRegions(name, regions)); |
1144 |
} |
1145 |
public void test0184() { |
1146 |
String name = "ElementType/java.lang.annotation//?"; |
1147 |
int[] regions = SearchPattern.getMatchingRegions("*tion/*", name, SearchPattern.R_PATTERN_MATCH); |
1148 |
assertEquals("Unexpected regions length", 2, regions.length); |
1149 |
assertEquals("Unexpected matching regions", "ElementType/java.lang.annota[tion/]/?", printRegions(name, regions)); |
1150 |
} |
1151 |
public void test0185() { |
1152 |
String name = "Documented/java.lang.annotation//?"; |
1153 |
int[] regions = SearchPattern.getMatchingRegions("*tion/*", name, SearchPattern.R_PATTERN_MATCH); |
1154 |
assertEquals("Unexpected regions length", 2, regions.length); |
1155 |
assertEquals("Unexpected matching regions", "Documented/java.lang.annota[tion/]/?", printRegions(name, regions)); |
1156 |
} |
1157 |
public void test0186() { |
1158 |
String name = "CloneNotSupportedException/java.lang//!"; |
1159 |
int[] regions = SearchPattern.getMatchingRegions("*tion/*", name, SearchPattern.R_PATTERN_MATCH); |
1160 |
assertEquals("Unexpected regions length", 2, regions.length); |
1161 |
assertEquals("Unexpected matching regions", "CloneNotSupportedExcep[tion/]java.lang//!", printRegions(name, regions)); |
1162 |
} |
1163 |
public void test0187() { |
1164 |
String name = "Exception/java.lang//!"; |
1165 |
int[] regions = SearchPattern.getMatchingRegions("*tion/*", name, SearchPattern.R_PATTERN_MATCH); |
1166 |
assertEquals("Unexpected regions length", 2, regions.length); |
1167 |
assertEquals("Unexpected matching regions", "Excep[tion/]java.lang//!", printRegions(name, regions)); |
1168 |
} |
1169 |
public void test0188() { |
1170 |
String name = "Annotation/java.lang.annotation//?"; |
1171 |
int[] regions = SearchPattern.getMatchingRegions("*tion/*", name, SearchPattern.R_PATTERN_MATCH); |
1172 |
assertEquals("Unexpected regions length", 2, regions.length); |
1173 |
assertEquals("Unexpected matching regions", "Annota[tion/]java.lang.annotation//?", printRegions(name, regions)); |
1174 |
} |
1175 |
public void test0189() { |
1176 |
String name = "Target/java.lang.annotation//?"; |
1177 |
int[] regions = SearchPattern.getMatchingRegions("*tion/*", name, SearchPattern.R_PATTERN_MATCH); |
1178 |
assertEquals("Unexpected regions length", 2, regions.length); |
1179 |
assertEquals("Unexpected matching regions", "Target/java.lang.annota[tion/]/?", printRegions(name, regions)); |
1180 |
} |
1181 |
public void test0190() { |
1182 |
String name = "Retention/java.lang.annotation//?"; |
1183 |
int[] regions = SearchPattern.getMatchingRegions("*tion/*", name, SearchPattern.R_PATTERN_MATCH); |
1184 |
assertEquals("Unexpected regions length", 2, regions.length); |
1185 |
assertEquals("Unexpected matching regions", "Reten[tion/]java.lang.annotation//?", printRegions(name, regions)); |
1186 |
} |
1187 |
public void test0191() { |
1188 |
String name = "Annotation"; |
1189 |
int[] regions = SearchPattern.getMatchingRegions("*tion", name, SearchPattern.R_PATTERN_MATCH); |
1190 |
assertEquals("Unexpected regions length", 2, regions.length); |
1191 |
assertEquals("Unexpected matching regions", "Annota[tion]", printRegions(name, regions)); |
1192 |
} |
1193 |
public void test0192() { |
1194 |
String name = "java.lang.annotation"; |
1195 |
int[] regions = SearchPattern.getMatchingRegions("*.lang*", name, SearchPattern.R_PATTERN_MATCH); |
1196 |
assertEquals("Unexpected regions length", 2, regions.length); |
1197 |
assertEquals("Unexpected matching regions", "java[.lang].annotation", printRegions(name, regions)); |
1198 |
} |
1199 |
public void test0193() { |
1200 |
String name = "CloneNotSupportedException"; |
1201 |
int[] regions = SearchPattern.getMatchingRegions("*tion", name, SearchPattern.R_PATTERN_MATCH); |
1202 |
assertEquals("Unexpected regions length", 2, regions.length); |
1203 |
assertEquals("Unexpected matching regions", "CloneNotSupportedExcep[tion]", printRegions(name, regions)); |
1204 |
} |
1205 |
public void test0194() { |
1206 |
String name = "InterruptedException"; |
1207 |
int[] regions = SearchPattern.getMatchingRegions("*tion", name, SearchPattern.R_PATTERN_MATCH); |
1208 |
assertEquals("Unexpected regions length", 2, regions.length); |
1209 |
assertEquals("Unexpected matching regions", "InterruptedExcep[tion]", printRegions(name, regions)); |
1210 |
} |
1211 |
public void test0195() { |
1212 |
String name = "IllegalMonitorStateException"; |
1213 |
int[] regions = SearchPattern.getMatchingRegions("*tion", name, SearchPattern.R_PATTERN_MATCH); |
1214 |
assertEquals("Unexpected regions length", 2, regions.length); |
1215 |
assertEquals("Unexpected matching regions", "IllegalMonitorStateExcep[tion]", printRegions(name, regions)); |
1216 |
} |
1217 |
public void test0196() { |
1218 |
String name = "Exception"; |
1219 |
int[] regions = SearchPattern.getMatchingRegions("*tion", name, SearchPattern.R_PATTERN_MATCH); |
1220 |
assertEquals("Unexpected regions length", 2, regions.length); |
1221 |
assertEquals("Unexpected matching regions", "Excep[tion]", printRegions(name, regions)); |
1222 |
} |
1223 |
public void test0197() { |
1224 |
String name = "Collection"; |
1225 |
int[] regions = SearchPattern.getMatchingRegions("*tion", name, SearchPattern.R_PATTERN_MATCH); |
1226 |
assertEquals("Unexpected regions length", 2, regions.length); |
1227 |
assertEquals("Unexpected matching regions", "Collec[tion]", printRegions(name, regions)); |
1228 |
} |
1229 |
public void test0198() { |
1230 |
String name = "Retention"; |
1231 |
int[] regions = SearchPattern.getMatchingRegions("*tion", name, SearchPattern.R_PATTERN_MATCH); |
1232 |
assertEquals("Unexpected regions length", 2, regions.length); |
1233 |
assertEquals("Unexpected matching regions", "Reten[tion]", printRegions(name, regions)); |
1234 |
} |
1235 |
public void test0199() { |
1236 |
String name = "Collection/b87627//?"; |
1237 |
int[] regions = SearchPattern.getMatchingRegions("*tion/*", name, SearchPattern.R_PATTERN_MATCH); |
1238 |
assertEquals("Unexpected regions length", 2, regions.length); |
1239 |
assertEquals("Unexpected matching regions", "Collec[tion/]b87627//?", printRegions(name, regions)); |
1240 |
} |
1241 |
public void test0200() { |
1242 |
String name = "test.Test$StaticClass"; |
1243 |
int[] regions = SearchPattern.getMatchingRegions("*.test*", name, SearchPattern.R_PATTERN_MATCH); |
1244 |
assertEquals("Unexpected regions length", 2, regions.length); |
1245 |
assertEquals("Unexpected matching regions", "test[.Test]$StaticClass", printRegions(name, regions)); |
1246 |
} |
1247 |
public void test0201() { |
1248 |
String name = "test.Test"; |
1249 |
int[] regions = SearchPattern.getMatchingRegions("*.test*", name, SearchPattern.R_PATTERN_MATCH); |
1250 |
assertEquals("Unexpected regions length", 2, regions.length); |
1251 |
assertEquals("Unexpected matching regions", "test[.Test]", printRegions(name, regions)); |
1252 |
} |
1253 |
public void test0202() { |
1254 |
String name = ".Test"; |
1255 |
int[] regions = SearchPattern.getMatchingRegions("*.test*", name, SearchPattern.R_PATTERN_MATCH); |
1256 |
assertEquals("Unexpected regions length", 2, regions.length); |
1257 |
assertEquals("Unexpected matching regions", "[.Test]", printRegions(name, regions)); |
1258 |
} |
1259 |
public void test0203() { |
1260 |
String name = "b124645.test.0"; |
1261 |
int[] regions = SearchPattern.getMatchingRegions("*.test*", name, SearchPattern.R_PATTERN_MATCH); |
1262 |
assertEquals("Unexpected regions length", 2, regions.length); |
1263 |
assertEquals("Unexpected matching regions", "b124645[.test].0", printRegions(name, regions)); |
1264 |
} |
1265 |
public void test0204() { |
1266 |
String name = "b95794.Test"; |
1267 |
int[] regions = SearchPattern.getMatchingRegions("*.test*", name, SearchPattern.R_PATTERN_MATCH); |
1268 |
assertEquals("Unexpected regions length", 2, regions.length); |
1269 |
assertEquals("Unexpected matching regions", "b95794[.Test]", printRegions(name, regions)); |
1270 |
} |
1271 |
public void test0205() { |
1272 |
String name = "b123679.test.0"; |
1273 |
int[] regions = SearchPattern.getMatchingRegions("*.test*", name, SearchPattern.R_PATTERN_MATCH); |
1274 |
assertEquals("Unexpected regions length", 2, regions.length); |
1275 |
assertEquals("Unexpected matching regions", "b123679[.test].0", printRegions(name, regions)); |
1276 |
} |
1277 |
public void test0206() { |
1278 |
String name = "b124645.test"; |
1279 |
int[] regions = SearchPattern.getMatchingRegions("*.test*", name, SearchPattern.R_PATTERN_MATCH); |
1280 |
assertEquals("Unexpected regions length", 2, regions.length); |
1281 |
assertEquals("Unexpected matching regions", "b124645[.test]", printRegions(name, regions)); |
1282 |
} |
1283 |
public void test0207() { |
1284 |
String name = "b123679.test.Test"; |
1285 |
int[] regions = SearchPattern.getMatchingRegions("*.test*", name, SearchPattern.R_PATTERN_MATCH); |
1286 |
assertEquals("Unexpected regions length", 2, regions.length); |
1287 |
assertEquals("Unexpected matching regions", "b123679[.test].Test", printRegions(name, regions)); |
1288 |
} |
1289 |
public void test0208() { |
1290 |
String name = "b123679.test.Test.StaticClass"; |
1291 |
int[] regions = SearchPattern.getMatchingRegions("*.test*", name, SearchPattern.R_PATTERN_MATCH); |
1292 |
assertEquals("Unexpected regions length", 2, regions.length); |
1293 |
assertEquals("Unexpected matching regions", "b123679[.test].Test.StaticClass", printRegions(name, regions)); |
1294 |
} |
1295 |
public void test0209() { |
1296 |
String name = "b127628.Test127628"; |
1297 |
int[] regions = SearchPattern.getMatchingRegions("*.test*", name, SearchPattern.R_PATTERN_MATCH); |
1298 |
assertEquals("Unexpected regions length", 2, regions.length); |
1299 |
assertEquals("Unexpected matching regions", "b127628[.Test]127628", printRegions(name, regions)); |
1300 |
} |
1301 |
public void test0210() { |
1302 |
String name = "b123679.test"; |
1303 |
int[] regions = SearchPattern.getMatchingRegions("*.test*", name, SearchPattern.R_PATTERN_MATCH); |
1304 |
assertEquals("Unexpected regions length", 2, regions.length); |
1305 |
assertEquals("Unexpected matching regions", "b123679[.test]", printRegions(name, regions)); |
1306 |
} |
1307 |
public void test0211() { |
1308 |
String name = "pack.age.Test"; |
1309 |
int[] regions = SearchPattern.getMatchingRegions("*.test*", name, SearchPattern.R_PATTERN_MATCH); |
1310 |
assertEquals("Unexpected regions length", 2, regions.length); |
1311 |
assertEquals("Unexpected matching regions", "pack.age[.Test]", printRegions(name, regions)); |
1312 |
} |
1313 |
public void test0212() { |
1314 |
String name = "b124645.test"; |
1315 |
int[] regions = SearchPattern.getMatchingRegions("b12*", name, SearchPattern.R_PATTERN_MATCH); |
1316 |
assertEquals("Unexpected regions length", 2, regions.length); |
1317 |
assertEquals("Unexpected matching regions", "[b12]4645.test", printRegions(name, regions)); |
1318 |
} |
1319 |
public void test0213() { |
1320 |
String name = "b124645.xy"; |
1321 |
int[] regions = SearchPattern.getMatchingRegions("b12*", name, SearchPattern.R_PATTERN_MATCH); |
1322 |
assertEquals("Unexpected regions length", 2, regions.length); |
1323 |
assertEquals("Unexpected matching regions", "[b12]4645.xy", printRegions(name, regions)); |
1324 |
} |
1325 |
public void test0214() { |
1326 |
String name = "b97087.Bug"; |
1327 |
int[] regions = SearchPattern.getMatchingRegions("b97087.bug", name, SearchPattern.R_PATTERN_MATCH); |
1328 |
assertEquals("Unexpected regions length", 2, regions.length); |
1329 |
assertEquals("Unexpected matching regions", "[b97087.Bug]", printRegions(name, regions)); |
1330 |
} |
1331 |
public void test0215() { |
1332 |
String name = "E/pack//?"; |
1333 |
int[] regions = SearchPattern.getMatchingRegions("e*", name, SearchPattern.R_PATTERN_MATCH); |
1334 |
assertEquals("Unexpected regions length", 2, regions.length); |
1335 |
assertEquals("Unexpected matching regions", "[E]/pack//?", printRegions(name, regions)); |
1336 |
} |
1337 |
public void test0216() { |
1338 |
String name = "E"; |
1339 |
int[] regions = SearchPattern.getMatchingRegions("e*", name, SearchPattern.R_PATTERN_MATCH); |
1340 |
assertEquals("Unexpected regions length", 2, regions.length); |
1341 |
assertEquals("Unexpected matching regions", "[E]", printRegions(name, regions)); |
1342 |
} |
1343 |
public void test0217() { |
1344 |
String name = "Enum/java.lang//?"; |
1345 |
int[] regions = SearchPattern.getMatchingRegions("e*", name, SearchPattern.R_PATTERN_MATCH); |
1346 |
assertEquals("Unexpected regions length", 2, regions.length); |
1347 |
assertEquals("Unexpected matching regions", "[E]num/java.lang//?", printRegions(name, regions)); |
1348 |
} |
1349 |
public void test0218() { |
1350 |
String name = "Error/java.lang//!"; |
1351 |
int[] regions = SearchPattern.getMatchingRegions("e*", name, SearchPattern.R_PATTERN_MATCH); |
1352 |
assertEquals("Unexpected regions length", 2, regions.length); |
1353 |
assertEquals("Unexpected matching regions", "[E]rror/java.lang//!", printRegions(name, regions)); |
1354 |
} |
1355 |
public void test0219() { |
1356 |
String name = "Enum"; |
1357 |
int[] regions = SearchPattern.getMatchingRegions("e*", name, SearchPattern.R_PATTERN_MATCH); |
1358 |
assertEquals("Unexpected regions length", 2, regions.length); |
1359 |
assertEquals("Unexpected matching regions", "[E]num", printRegions(name, regions)); |
1360 |
} |
1361 |
public void test0220() { |
1362 |
String name = "ElementType"; |
1363 |
int[] regions = SearchPattern.getMatchingRegions("e*", name, SearchPattern.R_PATTERN_MATCH); |
1364 |
assertEquals("Unexpected regions length", 2, regions.length); |
1365 |
assertEquals("Unexpected matching regions", "[E]lementType", printRegions(name, regions)); |
1366 |
} |
1367 |
public void test0221() { |
1368 |
String name = "Error"; |
1369 |
int[] regions = SearchPattern.getMatchingRegions("e*", name, SearchPattern.R_PATTERN_MATCH); |
1370 |
assertEquals("Unexpected regions length", 2, regions.length); |
1371 |
assertEquals("Unexpected matching regions", "[E]rror", printRegions(name, regions)); |
1372 |
} |
1373 |
public void test0222() { |
1374 |
String name = "ELPM/pack//!"; |
1375 |
int[] regions = SearchPattern.getMatchingRegions("e*", name, SearchPattern.R_PATTERN_MATCH); |
1376 |
assertEquals("Unexpected regions length", 2, regions.length); |
1377 |
assertEquals("Unexpected matching regions", "[E]LPM/pack//!", printRegions(name, regions)); |
1378 |
} |
1379 |
public void test0223() { |
1380 |
String name = "ELPM"; |
1381 |
int[] regions = SearchPattern.getMatchingRegions("e*", name, SearchPattern.R_PATTERN_MATCH); |
1382 |
assertEquals("Unexpected regions length", 2, regions.length); |
1383 |
assertEquals("Unexpected matching regions", "[E]LPM", printRegions(name, regions)); |
1384 |
} |
1385 |
public void test0224() { |
1386 |
String name = "b97606.pack.def.L"; |
1387 |
int[] regions = SearchPattern.getMatchingRegions("b97606.pack.def.l", name, SearchPattern.R_PATTERN_MATCH); |
1388 |
assertEquals("Unexpected regions length", 2, regions.length); |
1389 |
assertEquals("Unexpected matching regions", "[b97606.pack.def.L]", printRegions(name, regions)); |
1390 |
} |
1391 |
public void test0225() { |
1392 |
String name = "E"; |
1393 |
int[] regions = SearchPattern.getMatchingRegions("e", name, SearchPattern.R_PATTERN_MATCH); |
1394 |
assertEquals("Unexpected regions length", 2, regions.length); |
1395 |
assertEquals("Unexpected matching regions", "[E]", printRegions(name, regions)); |
1396 |
} |
1397 |
public void test0226() { |
1398 |
String name = "float"; |
1399 |
int[] regions = SearchPattern.getMatchingRegions("float", name, SearchPattern.R_PATTERN_MATCH); |
1400 |
assertEquals("Unexpected regions length", 2, regions.length); |
1401 |
assertEquals("Unexpected matching regions", "[float]", printRegions(name, regions)); |
1402 |
} |
1403 |
public void test0227() { |
1404 |
String name = "IDocumentExtension3"; |
1405 |
int[] regions = SearchPattern.getMatchingRegions("IDE3", name, SearchPattern.R_CAMELCASE_MATCH); |
1406 |
assertEquals("Unexpected regions length", 6, regions.length); |
1407 |
assertEquals("Unexpected matching regions", "[ID]ocument[E]xtension[3]", printRegions(name, regions)); |
1408 |
} |
1409 |
public void test0228() { |
1410 |
String name = "IDocumentProviderExtension3"; |
1411 |
int[] regions = SearchPattern.getMatchingRegions("IDPE3", name, SearchPattern.R_CAMELCASE_MATCH); |
1412 |
assertEquals("Unexpected regions length", 8, regions.length); |
1413 |
assertEquals("Unexpected matching regions", "[ID]ocument[P]rovider[E]xtension[3]", printRegions(name, regions)); |
1414 |
} |
1415 |
public void test0229() { |
1416 |
String name = "IPerspectiveListener3"; |
1417 |
int[] regions = SearchPattern.getMatchingRegions("IPL3", name, SearchPattern.R_CAMELCASE_MATCH); |
1418 |
assertEquals("Unexpected regions length", 6, regions.length); |
1419 |
assertEquals("Unexpected matching regions", "[IP]erspective[L]istener[3]", printRegions(name, regions)); |
1420 |
} |
1421 |
public void test0230() { |
1422 |
String name = "IPropertySource2"; |
1423 |
int[] regions = SearchPattern.getMatchingRegions("IPS2", name, SearchPattern.R_CAMELCASE_MATCH); |
1424 |
assertEquals("Unexpected regions length", 6, regions.length); |
1425 |
assertEquals("Unexpected matching regions", "[IP]roperty[S]ource[2]", printRegions(name, regions)); |
1426 |
} |
1427 |
public void test0231() { |
1428 |
String name = "IWorkbenchWindowPulldownDelegate2"; |
1429 |
int[] regions = SearchPattern.getMatchingRegions("IWWPD2", name, SearchPattern.R_CAMELCASE_MATCH); |
1430 |
assertEquals("Unexpected regions length", 10, regions.length); |
1431 |
assertEquals("Unexpected matching regions", "[IW]orkbench[W]indow[P]ulldown[D]elegate[2]", printRegions(name, regions)); |
1432 |
} |
1433 |
public void test0232() { |
1434 |
String name = "UTF16DocumentScannerSupport"; |
1435 |
int[] regions = SearchPattern.getMatchingRegions("UTF16DSS", name, SearchPattern.R_CAMELCASE_MATCH); |
1436 |
assertEquals("Unexpected regions length", 6, regions.length); |
1437 |
assertEquals("Unexpected matching regions", "[UTF16D]ocument[S]canner[S]upport", printRegions(name, regions)); |
1438 |
} |
1439 |
public void test0233() { |
1440 |
String name = "UTF16DocumentScannerSupport"; |
1441 |
int[] regions = SearchPattern.getMatchingRegions("UTF1DSS", name, SearchPattern.R_CAMELCASE_MATCH); |
1442 |
assertEquals("Unexpected regions length", 8, regions.length); |
1443 |
assertEquals("Unexpected matching regions", "[UTF1]6[D]ocument[S]canner[S]upport", printRegions(name, regions)); |
1444 |
} |
1445 |
public void test0234() { |
1446 |
String name = "UTF1DocScannerSupport"; |
1447 |
int[] regions = SearchPattern.getMatchingRegions("UTF1DSS", name, SearchPattern.R_CAMELCASE_MATCH); |
1448 |
assertEquals("Unexpected regions length", 6, regions.length); |
1449 |
assertEquals("Unexpected matching regions", "[UTF1D]oc[S]canner[S]upport", printRegions(name, regions)); |
1450 |
} |
1451 |
public void test0235() { |
1452 |
String name = "UTF16DocumentScannerSupport"; |
1453 |
int[] regions = SearchPattern.getMatchingRegions("UTF6DSS", name, SearchPattern.R_CAMELCASE_MATCH); |
1454 |
assertEquals("Unexpected regions length", 8, regions.length); |
1455 |
assertEquals("Unexpected matching regions", "[UTF]1[6D]ocument[S]canner[S]upport", printRegions(name, regions)); |
1456 |
} |
1457 |
public void test0236() { |
1458 |
String name = "UTF6DocScannerSupport"; |
1459 |
int[] regions = SearchPattern.getMatchingRegions("UTF6DSS", name, SearchPattern.R_CAMELCASE_MATCH); |
1460 |
assertEquals("Unexpected regions length", 6, regions.length); |
1461 |
assertEquals("Unexpected matching regions", "[UTF6D]oc[S]canner[S]upport", printRegions(name, regions)); |
1462 |
} |
1463 |
public void test0237() { |
1464 |
String name = "UTF16DocumentScannerSupport"; |
1465 |
int[] regions = SearchPattern.getMatchingRegions("UTFDSS", name, SearchPattern.R_CAMELCASE_MATCH); |
1466 |
assertEquals("Unexpected regions length", 8, regions.length); |
1467 |
assertEquals("Unexpected matching regions", "[UTF]16[D]ocument[S]canner[S]upport", printRegions(name, regions)); |
1468 |
} |
1469 |
public void test0238() { |
1470 |
String name = "UTFDocScannerSupport"; |
1471 |
int[] regions = SearchPattern.getMatchingRegions("UTFDSS", name, SearchPattern.R_CAMELCASE_MATCH); |
1472 |
assertEquals("Unexpected regions length", 6, regions.length); |
1473 |
assertEquals("Unexpected matching regions", "[UTFD]oc[S]canner[S]upport", printRegions(name, regions)); |
1474 |
} |
1475 |
public void test0239() { |
1476 |
String name = "AAxx"; |
1477 |
int[] regions = SearchPattern.getMatchingRegions("AAx", name, SearchPattern.R_CAMELCASE_MATCH); |
1478 |
assertEquals("Unexpected regions length", 2, regions.length); |
1479 |
assertEquals("Unexpected matching regions", "[AAx]x", printRegions(name, regions)); |
1480 |
} |
1481 |
public void test0240() { |
1482 |
String name = "AAa"; |
1483 |
int[] regions = SearchPattern.getMatchingRegions("aaa", name, SearchPattern.R_PATTERN_MATCH); |
1484 |
assertEquals("Unexpected regions length", 2, regions.length); |
1485 |
assertEquals("Unexpected matching regions", "[AAa]", printRegions(name, regions)); |
1486 |
} |
1487 |
public void test0241() { |
1488 |
String name = "Aaa"; |
1489 |
int[] regions = SearchPattern.getMatchingRegions("aaa", name, SearchPattern.R_PATTERN_MATCH); |
1490 |
assertEquals("Unexpected regions length", 2, regions.length); |
1491 |
assertEquals("Unexpected matching regions", "[Aaa]", printRegions(name, regions)); |
1492 |
} |
1493 |
public void test0242() { |
1494 |
String name = "AxxAyy"; |
1495 |
int[] regions = SearchPattern.getMatchingRegions("AxxA", name, SearchPattern.R_CAMELCASE_MATCH); |
1496 |
assertEquals("Unexpected regions length", 2, regions.length); |
1497 |
assertEquals("Unexpected matching regions", "[AxxA]yy", printRegions(name, regions)); |
1498 |
} |
1499 |
public void test0243() { |
1500 |
String name = "AAa"; |
1501 |
int[] regions = SearchPattern.getMatchingRegions("AAa", name, SearchPattern.R_CAMELCASE_MATCH); |
1502 |
assertEquals("Unexpected regions length", 2, regions.length); |
1503 |
assertEquals("Unexpected matching regions", "[AAa]", printRegions(name, regions)); |
1504 |
} |
1505 |
public void test0244() { |
1506 |
String name = "AaAaAa"; |
1507 |
int[] regions = SearchPattern.getMatchingRegions("AAa", name, SearchPattern.R_CAMELCASE_MATCH); |
1508 |
assertEquals("Unexpected regions length", 4, regions.length); |
1509 |
assertEquals("Unexpected matching regions", "[A]a[Aa]Aa", printRegions(name, regions)); |
1510 |
} |
1511 |
public void test0245() { |
1512 |
String name = "AxAyAz"; |
1513 |
int[] regions = SearchPattern.getMatchingRegions("AxA", name, SearchPattern.R_CAMELCASE_MATCH); |
1514 |
assertEquals("Unexpected regions length", 2, regions.length); |
1515 |
assertEquals("Unexpected matching regions", "[AxA]yAz", printRegions(name, regions)); |
1516 |
} |
1517 |
public void test0246() { |
1518 |
String name = "AxxAyy"; |
1519 |
int[] regions = SearchPattern.getMatchingRegions("AxA", name, SearchPattern.R_CAMELCASE_MATCH); |
1520 |
assertEquals("Unexpected regions length", 4, regions.length); |
1521 |
assertEquals("Unexpected matching regions", "[Ax]x[A]yy", printRegions(name, regions)); |
1522 |
} |
1523 |
public void test0247() { |
1524 |
String name = "A1/#/?/pack"; |
1525 |
int[] regions = SearchPattern.getMatchingRegions("a*a**", name, SearchPattern.R_PATTERN_MATCH); |
1526 |
assertEquals("Unexpected regions length", 4, regions.length); |
1527 |
assertEquals("Unexpected matching regions", "[A]1/#/?/p[a]ck", printRegions(name, regions)); |
1528 |
} |
1529 |
public void test0248() { |
1530 |
String name = "A2/#/?/pack"; |
1531 |
int[] regions = SearchPattern.getMatchingRegions("a*a**", name, SearchPattern.R_PATTERN_MATCH); |
1532 |
assertEquals("Unexpected regions length", 4, regions.length); |
1533 |
assertEquals("Unexpected matching regions", "[A]2/#/?/p[a]ck", printRegions(name, regions)); |
1534 |
} |
1535 |
public void test0249() { |
1536 |
String name = "A3/#/?/pack"; |
1537 |
int[] regions = SearchPattern.getMatchingRegions("a*a**", name, SearchPattern.R_PATTERN_MATCH); |
1538 |
assertEquals("Unexpected regions length", 4, regions.length); |
1539 |
assertEquals("Unexpected matching regions", "[A]3/#/?/p[a]ck", printRegions(name, regions)); |
1540 |
} |
1541 |
public void test0250() { |
1542 |
String name = "Annotation/#/?/java.lang.annotation"; |
1543 |
int[] regions = SearchPattern.getMatchingRegions("a*a**", name, SearchPattern.R_PATTERN_MATCH); |
1544 |
assertEquals("Unexpected regions length", 4, regions.length); |
1545 |
assertEquals("Unexpected matching regions", "[A]nnot[a]tion/#/?/java.lang.annotation", printRegions(name, regions)); |
1546 |
} |
1547 |
public void test0251() { |
1548 |
String name = "AAAA"; |
1549 |
int[] regions = SearchPattern.getMatchingRegions("a*a*", name, SearchPattern.R_PATTERN_MATCH); |
1550 |
assertEquals("Unexpected regions length", 4, regions.length); |
1551 |
assertEquals("Unexpected matching regions", "[AA]AA", printRegions(name, regions)); |
1552 |
} |
1553 |
public void test0252() { |
1554 |
String name = "AAxx"; |
1555 |
int[] regions = SearchPattern.getMatchingRegions("a*a*", name, SearchPattern.R_PATTERN_MATCH); |
1556 |
assertEquals("Unexpected regions length", 4, regions.length); |
1557 |
assertEquals("Unexpected matching regions", "[AA]xx", printRegions(name, regions)); |
1558 |
} |
1559 |
public void test0253() { |
1560 |
String name = "AxAyAz"; |
1561 |
int[] regions = SearchPattern.getMatchingRegions("a*a*", name, SearchPattern.R_PATTERN_MATCH); |
1562 |
assertEquals("Unexpected regions length", 4, regions.length); |
1563 |
assertEquals("Unexpected matching regions", "[A]x[A]yAz", printRegions(name, regions)); |
1564 |
} |
1565 |
public void test0254() { |
1566 |
String name = "AxxAyy"; |
1567 |
int[] regions = SearchPattern.getMatchingRegions("a*a*", name, SearchPattern.R_PATTERN_MATCH); |
1568 |
assertEquals("Unexpected regions length", 4, regions.length); |
1569 |
assertEquals("Unexpected matching regions", "[A]xx[A]yy", printRegions(name, regions)); |
1570 |
} |
1571 |
public void test0255() { |
1572 |
String name = "aMethodWith1Digit"; |
1573 |
int[] regions = SearchPattern.getMatchingRegions("aMWD", name, SearchPattern.R_CAMELCASE_MATCH); |
1574 |
assertEquals("Unexpected regions length", 6, regions.length); |
1575 |
assertEquals("Unexpected matching regions", "[aM]ethod[W]ith1[D]igit", printRegions(name, regions)); |
1576 |
} |
1577 |
public void test0256() { |
1578 |
String name = "aMethodWithNothingSpecial"; |
1579 |
int[] regions = SearchPattern.getMatchingRegions("aMW", name, SearchPattern.R_CAMELCASE_MATCH); |
1580 |
assertEquals("Unexpected regions length", 4, regions.length); |
1581 |
assertEquals("Unexpected matching regions", "[aM]ethod[W]ithNothingSpecial", printRegions(name, regions)); |
1582 |
} |
1583 |
public void test0257() { |
1584 |
String name = "aMethodWithNothingSpecial"; |
1585 |
int[] regions = SearchPattern.getMatchingRegions("aMethod", name, SearchPattern.R_CAMELCASE_MATCH); |
1586 |
assertEquals("Unexpected regions length", 2, regions.length); |
1587 |
assertEquals("Unexpected matching regions", "[aMethod]WithNothingSpecial", printRegions(name, regions)); |
1588 |
} |
1589 |
public void test0258() { |
1590 |
String name = "aMethodWith1Digit"; |
1591 |
int[] regions = SearchPattern.getMatchingRegions("aMethodWith1", name, SearchPattern.R_CAMELCASE_MATCH); |
1592 |
assertEquals("Unexpected regions length", 2, regions.length); |
1593 |
assertEquals("Unexpected matching regions", "[aMethodWith1]Digit", printRegions(name, regions)); |
1594 |
} |
1595 |
public void test0259() { |
1596 |
String name = "aMethodWithNothingSpecial"; |
1597 |
int[] regions = SearchPattern.getMatchingRegions("*method*with*a*", name, SearchPattern.R_PATTERN_MATCH); |
1598 |
assertEquals("Unexpected regions length", 6, regions.length); |
1599 |
assertEquals("Unexpected matching regions", "a[MethodWith]NothingSpeci[a]l", printRegions(name, regions)); |
1600 |
} |
1601 |
public void test0260() { |
1602 |
String name = "aMethodWith1DigitAnd_AnUnderscore"; |
1603 |
int[] regions = SearchPattern.getMatchingRegions("*method*with*a*", name, SearchPattern.R_PATTERN_MATCH); |
1604 |
assertEquals("Unexpected regions length", 6, regions.length); |
1605 |
assertEquals("Unexpected matching regions", "a[MethodWith]1Digit[A]nd_AnUnderscore", printRegions(name, regions)); |
1606 |
} |
1607 |
public void test0261() { |
1608 |
String name = "aMethodWith1Or2_Or_3_Or__4__DigitsAnd_Several_Underscores"; |
1609 |
int[] regions = SearchPattern.getMatchingRegions("*method*with*a*", name, SearchPattern.R_PATTERN_MATCH); |
1610 |
assertEquals("Unexpected regions length", 6, regions.length); |
1611 |
assertEquals("Unexpected matching regions", "a[MethodWith]1Or2_Or_3_Or__4__Digits[A]nd_Several_Underscores", printRegions(name, regions)); |
1612 |
} |
1613 |
public void test0262() { |
1614 |
String name = "otherMethodWhichStartsWithAnotherLetter"; |
1615 |
int[] regions = SearchPattern.getMatchingRegions("*method*with*a*", name, SearchPattern.R_PATTERN_MATCH); |
1616 |
assertEquals("Unexpected regions length", 6, regions.length); |
1617 |
assertEquals("Unexpected matching regions", "other[Method]WhichStarts[WithA]notherLetter", printRegions(name, regions)); |
1618 |
} |
1619 |
public void test0263() { |
1620 |
String name = "aMethodWith1Digit"; |
1621 |
int[] regions = SearchPattern.getMatchingRegions("aMW1D", name, SearchPattern.R_CAMELCASE_MATCH); |
1622 |
assertEquals("Unexpected regions length", 6, regions.length); |
1623 |
assertEquals("Unexpected matching regions", "[aM]ethod[W]ith[1D]igit", printRegions(name, regions)); |
1624 |
} |
1625 |
public void test0264() { |
1626 |
String name = "aMethodWith1Or2_Or_3_Or__4__DigitsAnd_Several_Underscores"; |
1627 |
int[] regions = SearchPattern.getMatchingRegions("aMWOOODASU", name, SearchPattern.R_CAMELCASE_MATCH); |
1628 |
assertEquals("Unexpected regions length", 18, regions.length); |
1629 |
assertEquals("Unexpected matching regions", "[aM]ethod[W]ith1[O]r2_[O]r_3_[O]r__4__[D]igits[A]nd_[S]everal_[U]nderscores", printRegions(name, regions)); |
1630 |
} |
1631 |
public void test0265() { |
1632 |
String name = "aFieldWithS$Dollar"; |
1633 |
int[] regions = SearchPattern.getMatchingRegions("aFWSD", name, SearchPattern.R_CAMELCASE_MATCH); |
1634 |
assertEquals("Unexpected regions length", 8, regions.length); |
1635 |
assertEquals("Unexpected matching regions", "[aF]ield[W]ith[S]$[D]ollar", printRegions(name, regions)); |
1636 |
} |
1637 |
public void test0266() { |
1638 |
String name = "aFieldWithS$Dollar"; |
1639 |
int[] regions = SearchPattern.getMatchingRegions("aFWS$", name, SearchPattern.R_CAMELCASE_MATCH); |
1640 |
assertEquals("Unexpected regions length", 6, regions.length); |
1641 |
assertEquals("Unexpected matching regions", "[aF]ield[W]ith[S$]Dollar", printRegions(name, regions)); |
1642 |
} |
1643 |
public void test0267() { |
1644 |
String name = "aStrangeFieldWith$$$$$$$$$$$$$$$SeveraContiguousDollars"; |
1645 |
int[] regions = SearchPattern.getMatchingRegions("aSFWSCD", name, SearchPattern.R_CAMELCASE_MATCH); |
1646 |
assertEquals("Unexpected regions length", 12, regions.length); |
1647 |
assertEquals("Unexpected matching regions", "[aS]trange[F]ield[W]ith$$$$$$$$$$$$$$$[S]evera[C]ontiguous[D]ollars", printRegions(name, regions)); |
1648 |
} |
1649 |
public void test0268() { |
1650 |
String name = "otherFieldWhichStartsWithAnotherLetter"; |
1651 |
int[] regions = SearchPattern.getMatchingRegions("oF", name, SearchPattern.R_CAMELCASE_MATCH); |
1652 |
assertEquals("Unexpected regions length", 4, regions.length); |
1653 |
assertEquals("Unexpected matching regions", "[o]ther[F]ieldWhichStartsWithAnotherLetter", printRegions(name, regions)); |
1654 |
} |
1655 |
public void test0269() { |
1656 |
String name = "oF"; |
1657 |
int[] regions = SearchPattern.getMatchingRegions("oF", name, SearchPattern.R_CAMELCASE_MATCH); |
1658 |
assertEquals("Unexpected regions length", 2, regions.length); |
1659 |
assertEquals("Unexpected matching regions", "[oF]", printRegions(name, regions)); |
1660 |
} |
1661 |
public void test0270() { |
1662 |
String name = "valueOf/1"; |
1663 |
int[] regions = SearchPattern.getMatchingRegions("*/1", name, SearchPattern.R_PATTERN_MATCH); |
1664 |
assertEquals("Unexpected regions length", 2, regions.length); |
1665 |
assertEquals("Unexpected matching regions", "valueOf[/1]", printRegions(name, regions)); |
1666 |
} |
1667 |
public void test0271() { |
1668 |
String name = "equals/1"; |
1669 |
int[] regions = SearchPattern.getMatchingRegions("*/1", name, SearchPattern.R_PATTERN_MATCH); |
1670 |
assertEquals("Unexpected regions length", 2, regions.length); |
1671 |
assertEquals("Unexpected matching regions", "equals[/1]", printRegions(name, regions)); |
1672 |
} |
1673 |
public void test0272() { |
1674 |
String name = "addAll/1"; |
1675 |
int[] regions = SearchPattern.getMatchingRegions("*/1", name, SearchPattern.R_PATTERN_MATCH); |
1676 |
assertEquals("Unexpected regions length", 2, regions.length); |
1677 |
assertEquals("Unexpected matching regions", "addAll[/1]", printRegions(name, regions)); |
1678 |
} |
1679 |
public void test0273() { |
1680 |
String name = "get/1"; |
1681 |
int[] regions = SearchPattern.getMatchingRegions("*/1", name, SearchPattern.R_PATTERN_MATCH); |
1682 |
assertEquals("Unexpected regions length", 2, regions.length); |
1683 |
assertEquals("Unexpected matching regions", "get[/1]", printRegions(name, regions)); |
1684 |
} |
1685 |
public void test0274() { |
1686 |
String name = "toArray/1"; |
1687 |
int[] regions = SearchPattern.getMatchingRegions("*/1", name, SearchPattern.R_PATTERN_MATCH); |
1688 |
assertEquals("Unexpected regions length", 2, regions.length); |
1689 |
assertEquals("Unexpected matching regions", "toArray[/1]", printRegions(name, regions)); |
1690 |
} |
1691 |
public void test0275() { |
1692 |
String name = "wait/1"; |
1693 |
int[] regions = SearchPattern.getMatchingRegions("*/1", name, SearchPattern.R_PATTERN_MATCH); |
1694 |
assertEquals("Unexpected regions length", 2, regions.length); |
1695 |
assertEquals("Unexpected matching regions", "wait[/1]", printRegions(name, regions)); |
1696 |
} |
1697 |
public void test0276() { |
1698 |
String name = "standard/1"; |
1699 |
int[] regions = SearchPattern.getMatchingRegions("*/1", name, SearchPattern.R_PATTERN_MATCH); |
1700 |
assertEquals("Unexpected regions length", 2, regions.length); |
1701 |
assertEquals("Unexpected matching regions", "standard[/1]", printRegions(name, regions)); |
1702 |
} |
1703 |
public void test0277() { |
1704 |
String name = "paramTypesArgs/1"; |
1705 |
int[] regions = SearchPattern.getMatchingRegions("*/1", name, SearchPattern.R_PATTERN_MATCH); |
1706 |
assertEquals("Unexpected regions length", 2, regions.length); |
1707 |
assertEquals("Unexpected matching regions", "paramTypesArgs[/1]", printRegions(name, regions)); |
1708 |
} |
1709 |
public void test0278() { |
1710 |
String name = "newInner/1"; |
1711 |
int[] regions = SearchPattern.getMatchingRegions("*/1", name, SearchPattern.R_PATTERN_MATCH); |
1712 |
assertEquals("Unexpected regions length", 2, regions.length); |
1713 |
assertEquals("Unexpected matching regions", "newInner[/1]", printRegions(name, regions)); |
1714 |
} |
1715 |
public void test0279() { |
1716 |
String name = "main/1"; |
1717 |
int[] regions = SearchPattern.getMatchingRegions("*/1", name, SearchPattern.R_PATTERN_MATCH); |
1718 |
assertEquals("Unexpected regions length", 2, regions.length); |
1719 |
assertEquals("Unexpected matching regions", "main[/1]", printRegions(name, regions)); |
1720 |
} |
1721 |
public void test0280() { |
1722 |
String name = "bar/1"; |
1723 |
int[] regions = SearchPattern.getMatchingRegions("*/1", name, SearchPattern.R_PATTERN_MATCH); |
1724 |
assertEquals("Unexpected regions length", 2, regions.length); |
1725 |
assertEquals("Unexpected matching regions", "bar[/1]", printRegions(name, regions)); |
1726 |
} |
1727 |
public void test0281() { |
1728 |
String name = "subroutine/1"; |
1729 |
int[] regions = SearchPattern.getMatchingRegions("*/1", name, SearchPattern.R_PATTERN_MATCH); |
1730 |
assertEquals("Unexpected regions length", 2, regions.length); |
1731 |
assertEquals("Unexpected matching regions", "subroutine[/1]", printRegions(name, regions)); |
1732 |
} |
1733 |
public void test0282() { |
1734 |
String name = "foo128877/1"; |
1735 |
int[] regions = SearchPattern.getMatchingRegions("*/1", name, SearchPattern.R_PATTERN_MATCH); |
1736 |
assertEquals("Unexpected regions length", 2, regions.length); |
1737 |
assertEquals("Unexpected matching regions", "foo128877[/1]", printRegions(name, regions)); |
1738 |
} |
1739 |
public void test0283() { |
1740 |
String name = "HashMap"; |
1741 |
int[] regions = SearchPattern.getMatchingRegions("HM", name, SearchPattern.R_CAMELCASE_MATCH); |
1742 |
assertEquals("Unexpected regions length", 4, regions.length); |
1743 |
assertEquals("Unexpected matching regions", "[H]ash[M]ap", printRegions(name, regions)); |
1744 |
} |
1745 |
public void test0284() { |
1746 |
String name = "HashMap"; |
1747 |
int[] regions = SearchPattern.getMatchingRegions("HaM", name, SearchPattern.R_CAMELCASE_MATCH); |
1748 |
assertEquals("Unexpected regions length", 4, regions.length); |
1749 |
assertEquals("Unexpected matching regions", "[Ha]sh[M]ap", printRegions(name, regions)); |
1750 |
} |
1751 |
public void test0285() { |
1752 |
String name = "HashMap"; |
1753 |
int[] regions = SearchPattern.getMatchingRegions("HashM", name, SearchPattern.R_CAMELCASE_MATCH); |
1754 |
assertEquals("Unexpected regions length", 2, regions.length); |
1755 |
assertEquals("Unexpected matching regions", "[HashM]ap", printRegions(name, regions)); |
1756 |
} |
1757 |
public void test0286() { |
1758 |
String name = "HashMap"; |
1759 |
int[] regions = SearchPattern.getMatchingRegions("HMa", name, SearchPattern.R_CAMELCASE_MATCH); |
1760 |
assertEquals("Unexpected regions length", 4, regions.length); |
1761 |
assertEquals("Unexpected matching regions", "[H]ash[Ma]p", printRegions(name, regions)); |
1762 |
} |
1763 |
public void test0287() { |
1764 |
String name = "HashMap"; |
1765 |
int[] regions = SearchPattern.getMatchingRegions("HaMa", name, SearchPattern.R_CAMELCASE_MATCH); |
1766 |
assertEquals("Unexpected regions length", 4, regions.length); |
1767 |
assertEquals("Unexpected matching regions", "[Ha]sh[Ma]p", printRegions(name, regions)); |
1768 |
} |
1769 |
public void test0288() { |
1770 |
String name = "HashMap"; |
1771 |
int[] regions = SearchPattern.getMatchingRegions("HashMa", name, SearchPattern.R_CAMELCASE_MATCH); |
1772 |
assertEquals("Unexpected regions length", 2, regions.length); |
1773 |
assertEquals("Unexpected matching regions", "[HashMa]p", printRegions(name, regions)); |
1774 |
} |
1775 |
public void test0289() { |
1776 |
String name = "HashMap"; |
1777 |
int[] regions = SearchPattern.getMatchingRegions("HMap", name, SearchPattern.R_CAMELCASE_MATCH); |
1778 |
assertEquals("Unexpected regions length", 4, regions.length); |
1779 |
assertEquals("Unexpected matching regions", "[H]ash[Map]", printRegions(name, regions)); |
1780 |
} |
1781 |
public void test0290() { |
1782 |
String name = "HashMap"; |
1783 |
int[] regions = SearchPattern.getMatchingRegions("HaMap", name, SearchPattern.R_CAMELCASE_MATCH); |
1784 |
assertEquals("Unexpected regions length", 4, regions.length); |
1785 |
assertEquals("Unexpected matching regions", "[Ha]sh[Map]", printRegions(name, regions)); |
1786 |
} |
1787 |
public void test0291() { |
1788 |
String name = "HashMap"; |
1789 |
int[] regions = SearchPattern.getMatchingRegions("HashMap", name, SearchPattern.R_CAMELCASE_MATCH); |
1790 |
assertEquals("Unexpected regions length", 2, regions.length); |
1791 |
assertEquals("Unexpected matching regions", "[HashMap]", printRegions(name, regions)); |
1792 |
} |
1793 |
public void test0292() { |
1794 |
String name = "NullPointerException"; |
1795 |
int[] regions = SearchPattern.getMatchingRegions("NuPoEx", name, SearchPattern.R_CAMELCASE_MATCH); |
1796 |
assertEquals("Unexpected regions length", 6, regions.length); |
1797 |
assertEquals("Unexpected matching regions", "[Nu]ll[Po]inter[Ex]ception", printRegions(name, regions)); |
1798 |
} |
1799 |
public void test0293() { |
1800 |
String name = "NullPointerException"; |
1801 |
int[] regions = SearchPattern.getMatchingRegions("NPE", name, SearchPattern.R_CAMELCASE_MATCH); |
1802 |
assertEquals("Unexpected regions length", 6, regions.length); |
1803 |
assertEquals("Unexpected matching regions", "[N]ull[P]ointer[E]xception", printRegions(name, regions)); |
1804 |
} |
1805 |
public void test0294() { |
1806 |
String name = "NullPointerException"; |
1807 |
int[] regions = SearchPattern.getMatchingRegions("NullPE", name, SearchPattern.R_CAMELCASE_MATCH); |
1808 |
assertEquals("Unexpected regions length", 4, regions.length); |
1809 |
assertEquals("Unexpected matching regions", "[NullP]ointer[E]xception", printRegions(name, regions)); |
1810 |
} |
1811 |
public void test0295() { |
1812 |
String name = "TZ"; |
1813 |
int[] regions = SearchPattern.getMatchingRegions("TZ", name, SearchPattern.R_CAMELCASE_MATCH); |
1814 |
assertEquals("Unexpected regions length", 2, regions.length); |
1815 |
assertEquals("Unexpected matching regions", "[TZ]", printRegions(name, regions)); |
1816 |
} |
1817 |
public void test0296() { |
1818 |
String name = "TimeZone"; |
1819 |
int[] regions = SearchPattern.getMatchingRegions("TZ", name, SearchPattern.R_CAMELCASE_MATCH); |
1820 |
assertEquals("Unexpected regions length", 4, regions.length); |
1821 |
assertEquals("Unexpected matching regions", "[T]ime[Z]one", printRegions(name, regions)); |
1822 |
} |
1823 |
public void test0297() { |
1824 |
String name = "TimeZone"; |
1825 |
int[] regions = SearchPattern.getMatchingRegions("TiZo", name, SearchPattern.R_CAMELCASE_MATCH); |
1826 |
assertEquals("Unexpected regions length", 4, regions.length); |
1827 |
assertEquals("Unexpected matching regions", "[Ti]me[Zo]ne", printRegions(name, regions)); |
1828 |
} |
1829 |
public void test0298() { |
1830 |
String name = "IllegalMonitorStateException/java.lang//!"; |
1831 |
int[] regions = SearchPattern.getMatchingRegions("IllegalMSException", name, SearchPattern.R_CAMELCASE_MATCH); |
1832 |
assertEquals("Unexpected regions length", 6, regions.length); |
1833 |
assertEquals("Unexpected matching regions", "[IllegalM]onitor[S]tate[Exception]/java.lang//!", printRegions(name, regions)); |
1834 |
} |
1835 |
public void test0299() { |
1836 |
String name = "CloneNotSupportedException/java.lang//!"; |
1837 |
int[] regions = SearchPattern.getMatchingRegions("CloneNotSupportedEx", name, SearchPattern.R_CAMELCASE_MATCH); |
1838 |
assertEquals("Unexpected regions length", 2, regions.length); |
1839 |
assertEquals("Unexpected matching regions", "[CloneNotSupportedEx]ception/java.lang//!", printRegions(name, regions)); |
1840 |
} |
1841 |
public void test0300() { |
1842 |
String name = "CloneNotSupportedException/java.lang//!"; |
1843 |
int[] regions = SearchPattern.getMatchingRegions("CloneNotSupportedException", name, SearchPattern.R_CAMELCASE_MATCH); |
1844 |
assertEquals("Unexpected regions length", 2, regions.length); |
1845 |
assertEquals("Unexpected matching regions", "[CloneNotSupportedException]/java.lang//!", printRegions(name, regions)); |
1846 |
} |
1847 |
public void test0301() { |
1848 |
String name = "CxxxxCasexx/b201064///S"; |
1849 |
int[] regions = SearchPattern.getMatchingRegions("CCase", name, SearchPattern.R_CAMELCASE_MATCH); |
1850 |
assertEquals("Unexpected regions length", 4, regions.length); |
1851 |
assertEquals("Unexpected matching regions", "[C]xxxx[Case]xx/b201064///S", printRegions(name, regions)); |
1852 |
} |
1853 |
public void test0302() { |
1854 |
String name = "CamelCasexxEntry/b201064///S"; |
1855 |
int[] regions = SearchPattern.getMatchingRegions("CaCase", name, SearchPattern.R_CAMELCASE_MATCH); |
1856 |
assertEquals("Unexpected regions length", 4, regions.length); |
1857 |
assertEquals("Unexpected matching regions", "[Ca]mel[Case]xxEntry/b201064///S", printRegions(name, regions)); |
1858 |
} |
1859 |
public void test0303() { |
1860 |
String name = "CamelCasexxEntry/b201064///S"; |
1861 |
int[] regions = SearchPattern.getMatchingRegions("CamelCase", name, SearchPattern.R_CAMELCASE_MATCH); |
1862 |
assertEquals("Unexpected regions length", 2, regions.length); |
1863 |
assertEquals("Unexpected matching regions", "[CamelCase]xxEntry/b201064///S", printRegions(name, regions)); |
1864 |
} |
1865 |
public void test0304() { |
1866 |
String name = "CxxxxCasexx/b201064///S"; |
1867 |
int[] regions = SearchPattern.getMatchingRegions("CC", name, SearchPattern.R_CAMELCASE_MATCH); |
1868 |
assertEquals("Unexpected regions length", 4, regions.length); |
1869 |
assertEquals("Unexpected matching regions", "[C]xxxx[C]asexx/b201064///S", printRegions(name, regions)); |
1870 |
} |
1871 |
public void test0305() { |
1872 |
String name = "CamelCasexxEntry/b201064///S"; |
1873 |
int[] regions = SearchPattern.getMatchingRegions("CaC", name, SearchPattern.R_CAMELCASE_MATCH); |
1874 |
assertEquals("Unexpected regions length", 4, regions.length); |
1875 |
assertEquals("Unexpected matching regions", "[Ca]mel[C]asexxEntry/b201064///S", printRegions(name, regions)); |
1876 |
} |
1877 |
public void test0306() { |
1878 |
String name = "CamelCasexxEntry/b201064///S"; |
1879 |
int[] regions = SearchPattern.getMatchingRegions("CamelC", name, SearchPattern.R_CAMELCASE_MATCH); |
1880 |
assertEquals("Unexpected regions length", 2, regions.length); |
1881 |
assertEquals("Unexpected matching regions", "[CamelC]asexxEntry/b201064///S", printRegions(name, regions)); |
1882 |
} |
1883 |
public void test0307() { |
1884 |
String name = "CxxxxCasexx/b201064///S"; |
1885 |
int[] regions = SearchPattern.getMatchingRegions("CCa", name, SearchPattern.R_CAMELCASE_MATCH); |
1886 |
assertEquals("Unexpected regions length", 4, regions.length); |
1887 |
assertEquals("Unexpected matching regions", "[C]xxxx[Ca]sexx/b201064///S", printRegions(name, regions)); |
1888 |
} |
1889 |
public void test0308() { |
1890 |
String name = "CamelCasexxEntry/b201064///S"; |
1891 |
int[] regions = SearchPattern.getMatchingRegions("CaCa", name, SearchPattern.R_CAMELCASE_MATCH); |
1892 |
assertEquals("Unexpected regions length", 4, regions.length); |
1893 |
assertEquals("Unexpected matching regions", "[Ca]mel[Ca]sexxEntry/b201064///S", printRegions(name, regions)); |
1894 |
} |
1895 |
public void test0309() { |
1896 |
String name = "CamelCasexxEntry/b201064///S"; |
1897 |
int[] regions = SearchPattern.getMatchingRegions("CamelCa", name, SearchPattern.R_CAMELCASE_MATCH); |
1898 |
assertEquals("Unexpected regions length", 2, regions.length); |
1899 |
assertEquals("Unexpected matching regions", "[CamelCa]sexxEntry/b201064///S", printRegions(name, regions)); |
1900 |
} |
1901 |
public void test0310() { |
1902 |
String name = "test.Bug"; |
1903 |
int[] regions = SearchPattern.getMatchingRegions("*bug", name, SearchPattern.R_PATTERN_MATCH); |
1904 |
assertEquals("Unexpected regions length", 2, regions.length); |
1905 |
assertEquals("Unexpected matching regions", "test.[Bug]", printRegions(name, regions)); |
1906 |
} |
1907 |
public void test0311() { |
1908 |
String name = "pack.TestInner$Member"; |
1909 |
int[] regions = SearchPattern.getMatchingRegions("*member", name, SearchPattern.R_PATTERN_MATCH); |
1910 |
assertEquals("Unexpected regions length", 2, regions.length); |
1911 |
assertEquals("Unexpected matching regions", "pack.TestInner$[Member]", printRegions(name, regions)); |
1912 |
} |
1913 |
public void test0312() { |
1914 |
String name = "Test"; |
1915 |
int[] regions = SearchPattern.getMatchingRegions("test", name, SearchPattern.R_PATTERN_MATCH); |
1916 |
assertEquals("Unexpected regions length", 2, regions.length); |
1917 |
assertEquals("Unexpected matching regions", "[Test]", printRegions(name, regions)); |
1918 |
} |
1919 |
public void test0313() { |
1920 |
String name = "X"; |
1921 |
int[] regions = SearchPattern.getMatchingRegions("x", name, SearchPattern.R_PATTERN_MATCH); |
1922 |
assertEquals("Unexpected regions length", 2, regions.length); |
1923 |
assertEquals("Unexpected matching regions", "[X]", printRegions(name, regions)); |
1924 |
} |
1925 |
public void test0314() { |
1926 |
String name = "I"; |
1927 |
int[] regions = SearchPattern.getMatchingRegions("i", name, SearchPattern.R_PATTERN_MATCH); |
1928 |
assertEquals("Unexpected regions length", 2, regions.length); |
1929 |
assertEquals("Unexpected matching regions", "[I]", printRegions(name, regions)); |
1930 |
} |
1931 |
public void test0315() { |
1932 |
String name = "void"; |
1933 |
int[] regions = SearchPattern.getMatchingRegions("void", name, SearchPattern.R_PATTERN_MATCH); |
1934 |
assertEquals("Unexpected regions length", 2, regions.length); |
1935 |
assertEquals("Unexpected matching regions", "[void]", printRegions(name, regions)); |
1936 |
} |
1937 |
public void test0316() { |
1938 |
String name = "oneTwoThree"; |
1939 |
int[] regions = SearchPattern.getMatchingRegions("oTT", name, SearchPattern.R_CAMELCASE_MATCH); |
1940 |
assertEquals("Unexpected regions length", 6, regions.length); |
1941 |
assertEquals("Unexpected matching regions", "[o]ne[T]wo[T]hree", printRegions(name, regions)); |
1942 |
} |
1943 |
public void test0317() { |
1944 |
String name = "FFFTest"; |
1945 |
int[] regions = SearchPattern.getMatchingRegions("FF", name, SearchPattern.R_CAMELCASE_MATCH); |
1946 |
assertEquals("Unexpected regions length", 2, regions.length); |
1947 |
assertEquals("Unexpected matching regions", "[FF]FTest", printRegions(name, regions)); |
1948 |
} |
1949 |
public void test0318() { |
1950 |
String name = "FoFoFo"; |
1951 |
int[] regions = SearchPattern.getMatchingRegions("FF", name, SearchPattern.R_CAMELCASE_MATCH); |
1952 |
assertEquals("Unexpected regions length", 4, regions.length); |
1953 |
assertEquals("Unexpected matching regions", "[F]o[F]oFo", printRegions(name, regions)); |
1954 |
} |
1955 |
public void test0319() { |
1956 |
String name = "IZZException"; |
1957 |
int[] regions = SearchPattern.getMatchingRegions("IZZ", name, SearchPattern.R_CAMELCASE_MATCH); |
1958 |
assertEquals("Unexpected regions length", 2, regions.length); |
1959 |
assertEquals("Unexpected matching regions", "[IZZ]Exception", printRegions(name, regions)); |
1960 |
} |
1961 |
public void test0320() { |
1962 |
String name = "IZZBException"; |
1963 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
1964 |
assertEquals("Unexpected regions length", 2, regions.length); |
1965 |
assertEquals("Unexpected matching regions", "IZZB[Exception]", printRegions(name, regions)); |
1966 |
} |
1967 |
public void test0321() { |
1968 |
String name = "IZZException"; |
1969 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
1970 |
assertEquals("Unexpected regions length", 2, regions.length); |
1971 |
assertEquals("Unexpected matching regions", "IZZ[Exception]", printRegions(name, regions)); |
1972 |
} |
1973 |
public void test0322() { |
1974 |
String name = "IZZAException"; |
1975 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
1976 |
assertEquals("Unexpected regions length", 2, regions.length); |
1977 |
assertEquals("Unexpected matching regions", "IZZA[Exception]", printRegions(name, regions)); |
1978 |
} |
1979 |
public void test0323() { |
1980 |
String name = "IZZCException"; |
1981 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
1982 |
assertEquals("Unexpected regions length", 2, regions.length); |
1983 |
assertEquals("Unexpected matching regions", "IZZC[Exception]", printRegions(name, regions)); |
1984 |
} |
1985 |
public void test0324() { |
1986 |
String name = "ABC/p2//"; |
1987 |
int[] regions = SearchPattern.getMatchingRegions("ABC", name, SearchPattern.R_CAMELCASE_MATCH); |
1988 |
assertEquals("Unexpected regions length", 2, regions.length); |
1989 |
assertEquals("Unexpected matching regions", "[ABC]/p2//", printRegions(name, regions)); |
1990 |
} |
1991 |
public void test0325() { |
1992 |
String name = "PX/pack1.pack3//"; |
1993 |
int[] regions = SearchPattern.getMatchingRegions("PX", name, SearchPattern.R_CAMELCASE_MATCH); |
1994 |
assertEquals("Unexpected regions length", 2, regions.length); |
1995 |
assertEquals("Unexpected matching regions", "[PX]/pack1.pack3//", printRegions(name, regions)); |
1996 |
} |
1997 |
public void test0326() { |
1998 |
String name = "ZInner2"; |
1999 |
int[] regions = SearchPattern.getMatchingRegions("ZInner", name, SearchPattern.R_CAMELCASE_MATCH); |
2000 |
assertEquals("Unexpected regions length", 2, regions.length); |
2001 |
assertEquals("Unexpected matching regions", "[ZInner]2", printRegions(name, regions)); |
2002 |
} |
2003 |
public void test0327() { |
2004 |
String name = "ZZZZ"; |
2005 |
int[] regions = SearchPattern.getMatchingRegions("ZZZ", name, SearchPattern.R_CAMELCASE_MATCH); |
2006 |
assertEquals("Unexpected regions length", 2, regions.length); |
2007 |
assertEquals("Unexpected matching regions", "[ZZZ]Z", printRegions(name, regions)); |
2008 |
} |
2009 |
public void test0328() { |
2010 |
String name = "AClass1"; |
2011 |
int[] regions = SearchPattern.getMatchingRegions("AClas", name, SearchPattern.R_CAMELCASE_MATCH); |
2012 |
assertEquals("Unexpected regions length", 2, regions.length); |
2013 |
assertEquals("Unexpected matching regions", "[AClas]s1", printRegions(name, regions)); |
2014 |
} |
2015 |
public void test0329() { |
2016 |
String name = "CompletionInsideExtends10"; |
2017 |
int[] regions = SearchPattern.getMatchingRegions("CompletionInsideExtends", name, SearchPattern.R_CAMELCASE_MATCH); |
2018 |
assertEquals("Unexpected regions length", 2, regions.length); |
2019 |
assertEquals("Unexpected matching regions", "[CompletionInsideExtends]10", printRegions(name, regions)); |
2020 |
} |
2021 |
public void test0330() { |
2022 |
String name = "CompletionInsideGenericClass"; |
2023 |
int[] regions = SearchPattern.getMatchingRegions("CompletionInsideGenericClas", name, SearchPattern.R_CAMELCASE_MATCH); |
2024 |
assertEquals("Unexpected regions length", 2, regions.length); |
2025 |
assertEquals("Unexpected matching regions", "[CompletionInsideGenericClas]s", printRegions(name, regions)); |
2026 |
} |
2027 |
public void test0331() { |
2028 |
String name = "WWWCompletionInstanceof3////S"; |
2029 |
int[] regions = SearchPattern.getMatchingRegions("WWWCompletionInstanceof", name, SearchPattern.R_CAMELCASE_MATCH); |
2030 |
assertEquals("Unexpected regions length", 2, regions.length); |
2031 |
assertEquals("Unexpected matching regions", "[WWWCompletionInstanceof]3////S", printRegions(name, regions)); |
2032 |
} |
2033 |
public void test0332() { |
2034 |
String name = "MemberType"; |
2035 |
int[] regions = SearchPattern.getMatchingRegions("MemberType", name, SearchPattern.R_CAMELCASE_MATCH); |
2036 |
assertEquals("Unexpected regions length", 2, regions.length); |
2037 |
assertEquals("Unexpected matching regions", "[MemberType]", printRegions(name, regions)); |
2038 |
} |
2039 |
public void test0333() { |
2040 |
String name = "MemberException"; |
2041 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
2042 |
assertEquals("Unexpected regions length", 2, regions.length); |
2043 |
assertEquals("Unexpected matching regions", "Member[Exception]", printRegions(name, regions)); |
2044 |
} |
2045 |
public void test0334() { |
2046 |
String name = "MemberException"; |
2047 |
int[] regions = SearchPattern.getMatchingRegions("MemberE", name, SearchPattern.R_CAMELCASE_MATCH); |
2048 |
assertEquals("Unexpected regions length", 2, regions.length); |
2049 |
assertEquals("Unexpected matching regions", "[MemberE]xception", printRegions(name, regions)); |
2050 |
} |
2051 |
public void test0335() { |
2052 |
String name = "CompletionRepeatedOtherType////S"; |
2053 |
int[] regions = SearchPattern.getMatchingRegions("CompletionRepeated", name, SearchPattern.R_CAMELCASE_MATCH); |
2054 |
assertEquals("Unexpected regions length", 2, regions.length); |
2055 |
assertEquals("Unexpected matching regions", "[CompletionRepeated]OtherType////S", printRegions(name, regions)); |
2056 |
} |
2057 |
public void test0336() { |
2058 |
String name = "CompletionSameClass///"; |
2059 |
int[] regions = SearchPattern.getMatchingRegions("CompletionSameClas", name, SearchPattern.R_CAMELCASE_MATCH); |
2060 |
assertEquals("Unexpected regions length", 2, regions.length); |
2061 |
assertEquals("Unexpected matching regions", "[CompletionSameClas]s///", printRegions(name, regions)); |
2062 |
} |
2063 |
public void test0337() { |
2064 |
String name = "CompletionSuperType2"; |
2065 |
int[] regions = SearchPattern.getMatchingRegions("CompletionSuper", name, SearchPattern.R_CAMELCASE_MATCH); |
2066 |
assertEquals("Unexpected regions length", 2, regions.length); |
2067 |
assertEquals("Unexpected matching regions", "[CompletionSuper]Type2", printRegions(name, regions)); |
2068 |
} |
2069 |
public void test0338() { |
2070 |
String name = "CompletionToplevelType1/p3//"; |
2071 |
int[] regions = SearchPattern.getMatchingRegions("CompletionToplevelType1", name, SearchPattern.R_CAMELCASE_MATCH); |
2072 |
assertEquals("Unexpected regions length", 2, regions.length); |
2073 |
assertEquals("Unexpected matching regions", "[CompletionToplevelType1]/p3//", printRegions(name, regions)); |
2074 |
} |
2075 |
public void test0339() { |
2076 |
String name = "CompletionType1"; |
2077 |
int[] regions = SearchPattern.getMatchingRegions("CT1", name, SearchPattern.R_CAMELCASE_MATCH); |
2078 |
assertEquals("Unexpected regions length", 6, regions.length); |
2079 |
assertEquals("Unexpected matching regions", "[C]ompletion[T]ype[1]", printRegions(name, regions)); |
2080 |
} |
2081 |
public void test0340() { |
2082 |
String name = "CT1/q2//"; |
2083 |
int[] regions = SearchPattern.getMatchingRegions("CT1", name, SearchPattern.R_CAMELCASE_MATCH); |
2084 |
assertEquals("Unexpected regions length", 2, regions.length); |
2085 |
assertEquals("Unexpected matching regions", "[CT1]/q2//", printRegions(name, regions)); |
2086 |
} |
2087 |
public void test0341() { |
2088 |
String name = "ZZZType1"; |
2089 |
int[] regions = SearchPattern.getMatchingRegions("ZZZTy", name, SearchPattern.R_CAMELCASE_MATCH); |
2090 |
assertEquals("Unexpected regions length", 2, regions.length); |
2091 |
assertEquals("Unexpected matching regions", "[ZZZTy]pe1", printRegions(name, regions)); |
2092 |
} |
2093 |
public void test0342() { |
2094 |
String name = "Bug127628Type2/deprecation//"; |
2095 |
int[] regions = SearchPattern.getMatchingRegions("Bug127628Ty", name, SearchPattern.R_CAMELCASE_MATCH); |
2096 |
assertEquals("Unexpected regions length", 2, regions.length); |
2097 |
assertEquals("Unexpected matching regions", "[Bug127628Ty]pe2/deprecation//", printRegions(name, regions)); |
2098 |
} |
2099 |
public void test0343() { |
2100 |
String name = "TestEvaluationContextCompletion3"; |
2101 |
int[] regions = SearchPattern.getMatchingRegions("TestEvaluationContextCompletion3", name, SearchPattern.R_CAMELCASE_MATCH); |
2102 |
assertEquals("Unexpected regions length", 2, regions.length); |
2103 |
assertEquals("Unexpected matching regions", "[TestEvaluationContextCompletion3]", printRegions(name, regions)); |
2104 |
} |
2105 |
public void test0344() { |
2106 |
String name = "AllConstructors01b"; |
2107 |
int[] regions = SearchPattern.getMatchingRegions("AllConstructors", name, SearchPattern.R_CAMELCASE_MATCH); |
2108 |
assertEquals("Unexpected regions length", 2, regions.length); |
2109 |
assertEquals("Unexpected matching regions", "[AllConstructors]01b", printRegions(name, regions)); |
2110 |
} |
2111 |
public void test0345() { |
2112 |
String name = "XX2/b//"; |
2113 |
int[] regions = SearchPattern.getMatchingRegions("XX", name, SearchPattern.R_CAMELCASE_MATCH); |
2114 |
assertEquals("Unexpected regions length", 2, regions.length); |
2115 |
assertEquals("Unexpected matching regions", "[XX]2/b//", printRegions(name, regions)); |
2116 |
} |
2117 |
public void test0346() { |
2118 |
String name = "XZXSuper/test0004///S"; |
2119 |
int[] regions = SearchPattern.getMatchingRegions("XZ", name, SearchPattern.R_CAMELCASE_MATCH); |
2120 |
assertEquals("Unexpected regions length", 2, regions.length); |
2121 |
assertEquals("Unexpected matching regions", "[XZ]XSuper/test0004///S", printRegions(name, regions)); |
2122 |
} |
2123 |
public void test0347() { |
2124 |
String name = "XYX"; |
2125 |
int[] regions = SearchPattern.getMatchingRegions("XY", name, SearchPattern.R_CAMELCASE_MATCH); |
2126 |
assertEquals("Unexpected regions length", 2, regions.length); |
2127 |
assertEquals("Unexpected matching regions", "[XY]X", printRegions(name, regions)); |
2128 |
} |
2129 |
public void test0348() { |
2130 |
String name = "Z0022ZZ"; |
2131 |
int[] regions = SearchPattern.getMatchingRegions("Z0022Z", name, SearchPattern.R_CAMELCASE_MATCH); |
2132 |
assertEquals("Unexpected regions length", 2, regions.length); |
2133 |
assertEquals("Unexpected matching regions", "[Z0022Z]Z", printRegions(name, regions)); |
2134 |
} |
2135 |
public void test0349() { |
2136 |
String name = "QQAnnotation"; |
2137 |
int[] regions = SearchPattern.getMatchingRegions("QQAnnot", name, SearchPattern.R_CAMELCASE_MATCH); |
2138 |
assertEquals("Unexpected regions length", 2, regions.length); |
2139 |
assertEquals("Unexpected matching regions", "[QQAnnot]ation", printRegions(name, regions)); |
2140 |
} |
2141 |
public void test0350() { |
2142 |
String name = "ZZAnnotation"; |
2143 |
int[] regions = SearchPattern.getMatchingRegions("ZZ", name, SearchPattern.R_CAMELCASE_MATCH); |
2144 |
assertEquals("Unexpected regions length", 2, regions.length); |
2145 |
assertEquals("Unexpected matching regions", "[ZZ]Annotation", printRegions(name, regions)); |
2146 |
} |
2147 |
public void test0351() { |
2148 |
String name = "AType"; |
2149 |
int[] regions = SearchPattern.getMatchingRegions("ATy", name, SearchPattern.R_CAMELCASE_MATCH); |
2150 |
assertEquals("Unexpected regions length", 2, regions.length); |
2151 |
assertEquals("Unexpected matching regions", "[ATy]pe", printRegions(name, regions)); |
2152 |
} |
2153 |
public void test0352() { |
2154 |
String name = "Test0233Z"; |
2155 |
int[] regions = SearchPattern.getMatchingRegions("Test0233Z", name, SearchPattern.R_CAMELCASE_MATCH); |
2156 |
assertEquals("Unexpected regions length", 2, regions.length); |
2157 |
assertEquals("Unexpected matching regions", "[Test0233Z]", printRegions(name, regions)); |
2158 |
} |
2159 |
public void test0353() { |
2160 |
String name = "ProviderImpl"; |
2161 |
int[] regions = SearchPattern.getMatchingRegions("ProviderImp", name, SearchPattern.R_CAMELCASE_MATCH); |
2162 |
assertEquals("Unexpected regions length", 2, regions.length); |
2163 |
assertEquals("Unexpected matching regions", "[ProviderImp]l", printRegions(name, regions)); |
2164 |
} |
2165 |
public void test0354() { |
2166 |
String name = "MyEnum"; |
2167 |
int[] regions = SearchPattern.getMatchingRegions("MyEnum", name, SearchPattern.R_CAMELCASE_MATCH); |
2168 |
assertEquals("Unexpected regions length", 2, regions.length); |
2169 |
assertEquals("Unexpected matching regions", "[MyEnum]", printRegions(name, regions)); |
2170 |
} |
2171 |
public void test0355() { |
2172 |
String name = "ZZZNeedsImportEnum"; |
2173 |
int[] regions = SearchPattern.getMatchingRegions("ZZZN", name, SearchPattern.R_CAMELCASE_MATCH); |
2174 |
assertEquals("Unexpected regions length", 2, regions.length); |
2175 |
assertEquals("Unexpected matching regions", "[ZZZN]eedsImportEnum", printRegions(name, regions)); |
2176 |
} |
2177 |
public void test0356() { |
2178 |
String name = "ZTest3"; |
2179 |
int[] regions = SearchPattern.getMatchingRegions("ZTes", name, SearchPattern.R_CAMELCASE_MATCH); |
2180 |
assertEquals("Unexpected regions length", 2, regions.length); |
2181 |
assertEquals("Unexpected matching regions", "[ZTes]t3", printRegions(name, regions)); |
2182 |
} |
2183 |
public void test0357() { |
2184 |
String name = "MyEnum"; |
2185 |
int[] regions = SearchPattern.getMatchingRegions("MyEnu", name, SearchPattern.R_CAMELCASE_MATCH); |
2186 |
assertEquals("Unexpected regions length", 2, regions.length); |
2187 |
assertEquals("Unexpected matching regions", "[MyEnu]m", printRegions(name, regions)); |
2188 |
} |
2189 |
public void test0358() { |
2190 |
String name = "BasicTestReferences/org.eclipse.jdt.core.tests//"; |
2191 |
int[] regions = SearchPattern.getMatchingRegions("BasicTest", name, SearchPattern.R_CAMELCASE_MATCH); |
2192 |
assertEquals("Unexpected regions length", 2, regions.length); |
2193 |
assertEquals("Unexpected matching regions", "[BasicTest]References/org.eclipse.jdt.core.tests//", printRegions(name, regions)); |
2194 |
} |
2195 |
public void test0359() { |
2196 |
String name = "BasicTestTypesMember"; |
2197 |
int[] regions = SearchPattern.getMatchingRegions("BasicTestTypesM", name, SearchPattern.R_CAMELCASE_MATCH); |
2198 |
assertEquals("Unexpected regions length", 2, regions.length); |
2199 |
assertEquals("Unexpected matching regions", "[BasicTestTypesM]ember", printRegions(name, regions)); |
2200 |
} |
2201 |
public void test0360() { |
2202 |
String name = "BasicTestTypesSecondary"; |
2203 |
int[] regions = SearchPattern.getMatchingRegions("BasicTestTypesS", name, SearchPattern.R_CAMELCASE_MATCH); |
2204 |
assertEquals("Unexpected regions length", 2, regions.length); |
2205 |
assertEquals("Unexpected matching regions", "[BasicTestTypesS]econdary", printRegions(name, regions)); |
2206 |
} |
2207 |
public void test0361() { |
2208 |
String name = "BasicTestTypes"; |
2209 |
int[] regions = SearchPattern.getMatchingRegions("BTT", name, SearchPattern.R_CAMELCASE_MATCH); |
2210 |
assertEquals("Unexpected regions length", 6, regions.length); |
2211 |
assertEquals("Unexpected matching regions", "[B]asic[T]est[T]ypes", printRegions(name, regions)); |
2212 |
} |
2213 |
public void test0362() { |
2214 |
String name = "ZBasicTestTypes"; |
2215 |
int[] regions = SearchPattern.getMatchingRegions("ZBasi", name, SearchPattern.R_CAMELCASE_MATCH); |
2216 |
assertEquals("Unexpected regions length", 2, regions.length); |
2217 |
assertEquals("Unexpected matching regions", "[ZBasi]cTestTypes", printRegions(name, regions)); |
2218 |
} |
2219 |
public void test0363() { |
2220 |
String name = "BasicTestMethodsException1"; |
2221 |
int[] regions = SearchPattern.getMatchingRegions("BasicTestMethodsE", name, SearchPattern.R_CAMELCASE_MATCH); |
2222 |
assertEquals("Unexpected regions length", 2, regions.length); |
2223 |
assertEquals("Unexpected matching regions", "[BasicTestMethodsE]xception1", printRegions(name, regions)); |
2224 |
} |
2225 |
public void test0364() { |
2226 |
String name = "BasicTestMethodsException1"; |
2227 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
2228 |
assertEquals("Unexpected regions length", 2, regions.length); |
2229 |
assertEquals("Unexpected matching regions", "BasicTestMethods[Exception]1", printRegions(name, regions)); |
2230 |
} |
2231 |
public void test0365() { |
2232 |
String name = "BasicTestMethodsException2"; |
2233 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
2234 |
assertEquals("Unexpected regions length", 2, regions.length); |
2235 |
assertEquals("Unexpected matching regions", "BasicTestMethods[Exception]2", printRegions(name, regions)); |
2236 |
} |
2237 |
public void test0366() { |
2238 |
String name = "BasicTestMethodsException"; |
2239 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
2240 |
assertEquals("Unexpected regions length", 2, regions.length); |
2241 |
assertEquals("Unexpected matching regions", "BasicTestMethods[Exception]", printRegions(name, regions)); |
2242 |
} |
2243 |
public void test0367() { |
2244 |
String name = "BasicTestMethods"; |
2245 |
int[] regions = SearchPattern.getMatchingRegions("BTM", name, SearchPattern.R_CAMELCASE_MATCH); |
2246 |
assertEquals("Unexpected regions length", 6, regions.length); |
2247 |
assertEquals("Unexpected matching regions", "[B]asic[T]est[M]ethods", printRegions(name, regions)); |
2248 |
} |
2249 |
public void test0368() { |
2250 |
String name = "BasicTestReferences/org.eclipse.jdt.core.tests//"; |
2251 |
int[] regions = SearchPattern.getMatchingRegions("BasicTestRef", name, SearchPattern.R_CAMELCASE_MATCH); |
2252 |
assertEquals("Unexpected regions length", 2, regions.length); |
2253 |
assertEquals("Unexpected matching regions", "[BasicTestRef]erences/org.eclipse.jdt.core.tests//", printRegions(name, regions)); |
2254 |
} |
2255 |
public void test0369() { |
2256 |
String name = "BasicTestTextIns"; |
2257 |
int[] regions = SearchPattern.getMatchingRegions("BasicTestTextIns", name, SearchPattern.R_CAMELCASE_MATCH); |
2258 |
assertEquals("Unexpected regions length", 2, regions.length); |
2259 |
assertEquals("Unexpected matching regions", "[BasicTestTextIns]", printRegions(name, regions)); |
2260 |
} |
2261 |
public void test0370() { |
2262 |
String name = "AnException"; |
2263 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
2264 |
assertEquals("Unexpected regions length", 2, regions.length); |
2265 |
assertEquals("Unexpected matching regions", "An[Exception]", printRegions(name, regions)); |
2266 |
} |
2267 |
public void test0371() { |
2268 |
String name = "ArrayAllocationExpression/com.ibm.compiler.java.ast//"; |
2269 |
int[] regions = SearchPattern.getMatchingRegions("*rr*/com.ibm.compiler.java.ast/*", name, SearchPattern.R_PATTERN_MATCH); |
2270 |
assertEquals("Unexpected regions length", 4, regions.length); |
2271 |
assertEquals("Unexpected matching regions", "A[rr]ayAllocationExpression[/com.ibm.compiler.java.ast/]/", printRegions(name, regions)); |
2272 |
} |
2273 |
public void test0372() { |
2274 |
String name = "ArrayQualifiedTypeReference/com.ibm.compiler.java.ast//"; |
2275 |
int[] regions = SearchPattern.getMatchingRegions("*rr*/com.ibm.compiler.java.ast/*", name, SearchPattern.R_PATTERN_MATCH); |
2276 |
assertEquals("Unexpected regions length", 4, regions.length); |
2277 |
assertEquals("Unexpected matching regions", "A[rr]ayQualifiedTypeReference[/com.ibm.compiler.java.ast/]/", printRegions(name, regions)); |
2278 |
} |
2279 |
public void test0373() { |
2280 |
String name = "ArrayTypeReference/com.ibm.compiler.java.ast//"; |
2281 |
int[] regions = SearchPattern.getMatchingRegions("*rr*/com.ibm.compiler.java.ast/*", name, SearchPattern.R_PATTERN_MATCH); |
2282 |
assertEquals("Unexpected regions length", 4, regions.length); |
2283 |
assertEquals("Unexpected matching regions", "A[rr]ayTypeReference[/com.ibm.compiler.java.ast/]/", printRegions(name, regions)); |
2284 |
} |
2285 |
public void test0374() { |
2286 |
String name = "ArrayInitializer/com.ibm.compiler.java.ast//"; |
2287 |
int[] regions = SearchPattern.getMatchingRegions("*rr*/com.ibm.compiler.java.ast/*", name, SearchPattern.R_PATTERN_MATCH); |
2288 |
assertEquals("Unexpected regions length", 4, regions.length); |
2289 |
assertEquals("Unexpected matching regions", "A[rr]ayInitializer[/com.ibm.compiler.java.ast/]/", printRegions(name, regions)); |
2290 |
} |
2291 |
public void test0375() { |
2292 |
String name = "ArrayReference/com.ibm.compiler.java.ast//"; |
2293 |
int[] regions = SearchPattern.getMatchingRegions("*rr*/com.ibm.compiler.java.ast/*", name, SearchPattern.R_PATTERN_MATCH); |
2294 |
assertEquals("Unexpected regions length", 4, regions.length); |
2295 |
assertEquals("Unexpected matching regions", "A[rr]ayReference[/com.ibm.compiler.java.ast/]/", printRegions(name, regions)); |
2296 |
} |
2297 |
public void test0376() { |
2298 |
String name = "SuperReference/com.ibm.compiler.java.ast//"; |
2299 |
int[] regions = SearchPattern.getMatchingRegions("*rr*/com.ibm.compiler.java.ast/*", name, SearchPattern.R_PATTERN_MATCH); |
2300 |
assertEquals("Unexpected regions length", 4, regions.length); |
2301 |
assertEquals("Unexpected matching regions", "Supe[rR]eference[/com.ibm.compiler.java.ast/]/", printRegions(name, regions)); |
2302 |
} |
2303 |
public void test0377() { |
2304 |
String name = "QualifiedSuperReference/com.ibm.compiler.java.ast//"; |
2305 |
int[] regions = SearchPattern.getMatchingRegions("*rr*/com.ibm.compiler.java.ast/*", name, SearchPattern.R_PATTERN_MATCH); |
2306 |
assertEquals("Unexpected regions length", 4, regions.length); |
2307 |
assertEquals("Unexpected matching regions", "QualifiedSupe[rR]eference[/com.ibm.compiler.java.ast/]/", printRegions(name, regions)); |
2308 |
} |
2309 |
public void test0378() { |
2310 |
String name = "SuperReference"; |
2311 |
int[] regions = SearchPattern.getMatchingRegions("*rr*", name, SearchPattern.R_PATTERN_MATCH); |
2312 |
assertEquals("Unexpected regions length", 2, regions.length); |
2313 |
assertEquals("Unexpected matching regions", "Supe[rR]eference", printRegions(name, regions)); |
2314 |
} |
2315 |
public void test0379() { |
2316 |
String name = "QualifiedSuperReference"; |
2317 |
int[] regions = SearchPattern.getMatchingRegions("*rr*", name, SearchPattern.R_PATTERN_MATCH); |
2318 |
assertEquals("Unexpected regions length", 2, regions.length); |
2319 |
assertEquals("Unexpected matching regions", "QualifiedSupe[rR]eference", printRegions(name, regions)); |
2320 |
} |
2321 |
public void test0380() { |
2322 |
String name = "ArrayAllocationExpression"; |
2323 |
int[] regions = SearchPattern.getMatchingRegions("*rr*", name, SearchPattern.R_PATTERN_MATCH); |
2324 |
assertEquals("Unexpected regions length", 2, regions.length); |
2325 |
assertEquals("Unexpected matching regions", "A[rr]ayAllocationExpression", printRegions(name, regions)); |
2326 |
} |
2327 |
public void test0381() { |
2328 |
String name = "ArrayQualifiedTypeReference"; |
2329 |
int[] regions = SearchPattern.getMatchingRegions("*rr*", name, SearchPattern.R_PATTERN_MATCH); |
2330 |
assertEquals("Unexpected regions length", 2, regions.length); |
2331 |
assertEquals("Unexpected matching regions", "A[rr]ayQualifiedTypeReference", printRegions(name, regions)); |
2332 |
} |
2333 |
public void test0382() { |
2334 |
String name = "ArrayTypeReference"; |
2335 |
int[] regions = SearchPattern.getMatchingRegions("*rr*", name, SearchPattern.R_PATTERN_MATCH); |
2336 |
assertEquals("Unexpected regions length", 2, regions.length); |
2337 |
assertEquals("Unexpected matching regions", "A[rr]ayTypeReference", printRegions(name, regions)); |
2338 |
} |
2339 |
public void test0383() { |
2340 |
String name = "ArrayInitializer"; |
2341 |
int[] regions = SearchPattern.getMatchingRegions("*rr*", name, SearchPattern.R_PATTERN_MATCH); |
2342 |
assertEquals("Unexpected regions length", 2, regions.length); |
2343 |
assertEquals("Unexpected matching regions", "A[rr]ayInitializer", printRegions(name, regions)); |
2344 |
} |
2345 |
public void test0384() { |
2346 |
String name = "ArrayReference"; |
2347 |
int[] regions = SearchPattern.getMatchingRegions("*rr*", name, SearchPattern.R_PATTERN_MATCH); |
2348 |
assertEquals("Unexpected regions length", 2, regions.length); |
2349 |
assertEquals("Unexpected matching regions", "A[rr]ayReference", printRegions(name, regions)); |
2350 |
} |
2351 |
public void test0385() { |
2352 |
String name = "ConditionalExpression/com.ibm.compiler.java.ast//"; |
2353 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2354 |
assertEquals("Unexpected regions length", 2, regions.length); |
2355 |
assertEquals("Unexpected matching regions", "Conditional[Expression]/com.ibm.compiler.java.ast//", printRegions(name, regions)); |
2356 |
} |
2357 |
public void test0386() { |
2358 |
String name = "CastExpression/com.ibm.compiler.java.ast//"; |
2359 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2360 |
assertEquals("Unexpected regions length", 2, regions.length); |
2361 |
assertEquals("Unexpected matching regions", "Cast[Expression]/com.ibm.compiler.java.ast//", printRegions(name, regions)); |
2362 |
} |
2363 |
public void test0387() { |
2364 |
String name = "InstanceOfExpression/com.ibm.compiler.java.ast//"; |
2365 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2366 |
assertEquals("Unexpected regions length", 2, regions.length); |
2367 |
assertEquals("Unexpected matching regions", "InstanceOf[Expression]/com.ibm.compiler.java.ast//", printRegions(name, regions)); |
2368 |
} |
2369 |
public void test0388() { |
2370 |
String name = "OR_OR_Expression/com.ibm.compiler.java.ast//"; |
2371 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2372 |
assertEquals("Unexpected regions length", 2, regions.length); |
2373 |
assertEquals("Unexpected matching regions", "OR_OR_[Expression]/com.ibm.compiler.java.ast//", printRegions(name, regions)); |
2374 |
} |
2375 |
public void test0389() { |
2376 |
String name = "OperatorExpression/com.ibm.compiler.java.ast//?"; |
2377 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2378 |
assertEquals("Unexpected regions length", 2, regions.length); |
2379 |
assertEquals("Unexpected matching regions", "Operator[Expression]/com.ibm.compiler.java.ast//?", printRegions(name, regions)); |
2380 |
} |
2381 |
public void test0390() { |
2382 |
String name = "UnaryExpression/com.ibm.compiler.java.ast//"; |
2383 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2384 |
assertEquals("Unexpected regions length", 2, regions.length); |
2385 |
assertEquals("Unexpected matching regions", "Unary[Expression]/com.ibm.compiler.java.ast//", printRegions(name, regions)); |
2386 |
} |
2387 |
public void test0391() { |
2388 |
String name = "AllocationExpression/com.ibm.compiler.java.ast//"; |
2389 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2390 |
assertEquals("Unexpected regions length", 2, regions.length); |
2391 |
assertEquals("Unexpected matching regions", "Allocation[Expression]/com.ibm.compiler.java.ast//", printRegions(name, regions)); |
2392 |
} |
2393 |
public void test0392() { |
2394 |
String name = "AND_AND_Expression/com.ibm.compiler.java.ast//"; |
2395 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2396 |
assertEquals("Unexpected regions length", 2, regions.length); |
2397 |
assertEquals("Unexpected matching regions", "AND_AND_[Expression]/com.ibm.compiler.java.ast//", printRegions(name, regions)); |
2398 |
} |
2399 |
public void test0393() { |
2400 |
String name = "PrefixExpression/com.ibm.compiler.java.ast//"; |
2401 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2402 |
assertEquals("Unexpected regions length", 2, regions.length); |
2403 |
assertEquals("Unexpected matching regions", "Prefix[Expression]/com.ibm.compiler.java.ast//", printRegions(name, regions)); |
2404 |
} |
2405 |
public void test0394() { |
2406 |
String name = "PostfixExpression/com.ibm.compiler.java.ast//"; |
2407 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2408 |
assertEquals("Unexpected regions length", 2, regions.length); |
2409 |
assertEquals("Unexpected matching regions", "Postfix[Expression]/com.ibm.compiler.java.ast//", printRegions(name, regions)); |
2410 |
} |
2411 |
public void test0395() { |
2412 |
String name = "EqualExpression/com.ibm.compiler.java.ast//"; |
2413 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2414 |
assertEquals("Unexpected regions length", 2, regions.length); |
2415 |
assertEquals("Unexpected matching regions", "Equal[Expression]/com.ibm.compiler.java.ast//", printRegions(name, regions)); |
2416 |
} |
2417 |
public void test0396() { |
2418 |
String name = "Expression/com.ibm.compiler.java.ast//?"; |
2419 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2420 |
assertEquals("Unexpected regions length", 2, regions.length); |
2421 |
assertEquals("Unexpected matching regions", "[Expression]/com.ibm.compiler.java.ast//?", printRegions(name, regions)); |
2422 |
} |
2423 |
public void test0397() { |
2424 |
String name = "BinaryExpression/com.ibm.compiler.java.ast//"; |
2425 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2426 |
assertEquals("Unexpected regions length", 2, regions.length); |
2427 |
assertEquals("Unexpected matching regions", "Binary[Expression]/com.ibm.compiler.java.ast//", printRegions(name, regions)); |
2428 |
} |
2429 |
public void test0398() { |
2430 |
String name = "QualifiedAllocationExpression/com.ibm.compiler.java.ast//"; |
2431 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2432 |
assertEquals("Unexpected regions length", 2, regions.length); |
2433 |
assertEquals("Unexpected matching regions", "QualifiedAllocation[Expression]/com.ibm.compiler.java.ast//", printRegions(name, regions)); |
2434 |
} |
2435 |
public void test0399() { |
2436 |
String name = "UnaryExpression"; |
2437 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2438 |
assertEquals("Unexpected regions length", 2, regions.length); |
2439 |
assertEquals("Unexpected matching regions", "Unary[Expression]", printRegions(name, regions)); |
2440 |
} |
2441 |
public void test0400() { |
2442 |
String name = "OperatorExpression"; |
2443 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2444 |
assertEquals("Unexpected regions length", 2, regions.length); |
2445 |
assertEquals("Unexpected matching regions", "Operator[Expression]", printRegions(name, regions)); |
2446 |
} |
2447 |
public void test0401() { |
2448 |
String name = "OR_OR_Expression"; |
2449 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2450 |
assertEquals("Unexpected regions length", 2, regions.length); |
2451 |
assertEquals("Unexpected matching regions", "OR_OR_[Expression]", printRegions(name, regions)); |
2452 |
} |
2453 |
public void test0402() { |
2454 |
String name = "AND_AND_Expression"; |
2455 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2456 |
assertEquals("Unexpected regions length", 2, regions.length); |
2457 |
assertEquals("Unexpected matching regions", "AND_AND_[Expression]", printRegions(name, regions)); |
2458 |
} |
2459 |
public void test0403() { |
2460 |
String name = "AllocationExpression"; |
2461 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2462 |
assertEquals("Unexpected regions length", 2, regions.length); |
2463 |
assertEquals("Unexpected matching regions", "Allocation[Expression]", printRegions(name, regions)); |
2464 |
} |
2465 |
public void test0404() { |
2466 |
String name = "PostfixExpression"; |
2467 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2468 |
assertEquals("Unexpected regions length", 2, regions.length); |
2469 |
assertEquals("Unexpected matching regions", "Postfix[Expression]", printRegions(name, regions)); |
2470 |
} |
2471 |
public void test0405() { |
2472 |
String name = "InstanceOfExpression"; |
2473 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2474 |
assertEquals("Unexpected regions length", 2, regions.length); |
2475 |
assertEquals("Unexpected matching regions", "InstanceOf[Expression]", printRegions(name, regions)); |
2476 |
} |
2477 |
public void test0406() { |
2478 |
String name = "PrefixExpression"; |
2479 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2480 |
assertEquals("Unexpected regions length", 2, regions.length); |
2481 |
assertEquals("Unexpected matching regions", "Prefix[Expression]", printRegions(name, regions)); |
2482 |
} |
2483 |
public void test0407() { |
2484 |
String name = "BinaryExpression"; |
2485 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2486 |
assertEquals("Unexpected regions length", 2, regions.length); |
2487 |
assertEquals("Unexpected matching regions", "Binary[Expression]", printRegions(name, regions)); |
2488 |
} |
2489 |
public void test0408() { |
2490 |
String name = "QualifiedAllocationExpression"; |
2491 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2492 |
assertEquals("Unexpected regions length", 2, regions.length); |
2493 |
assertEquals("Unexpected matching regions", "QualifiedAllocation[Expression]", printRegions(name, regions)); |
2494 |
} |
2495 |
public void test0409() { |
2496 |
String name = "CastExpression"; |
2497 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2498 |
assertEquals("Unexpected regions length", 2, regions.length); |
2499 |
assertEquals("Unexpected matching regions", "Cast[Expression]", printRegions(name, regions)); |
2500 |
} |
2501 |
public void test0410() { |
2502 |
String name = "ConditionalExpression"; |
2503 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2504 |
assertEquals("Unexpected regions length", 2, regions.length); |
2505 |
assertEquals("Unexpected matching regions", "Conditional[Expression]", printRegions(name, regions)); |
2506 |
} |
2507 |
public void test0411() { |
2508 |
String name = "Expression"; |
2509 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2510 |
assertEquals("Unexpected regions length", 2, regions.length); |
2511 |
assertEquals("Unexpected matching regions", "[Expression]", printRegions(name, regions)); |
2512 |
} |
2513 |
public void test0412() { |
2514 |
String name = "EqualExpression"; |
2515 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2516 |
assertEquals("Unexpected regions length", 2, regions.length); |
2517 |
assertEquals("Unexpected matching regions", "Equal[Expression]", printRegions(name, regions)); |
2518 |
} |
2519 |
public void test0413() { |
2520 |
String name = "FloatExpression/sun.tools.tree//!"; |
2521 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2522 |
assertEquals("Unexpected regions length", 2, regions.length); |
2523 |
assertEquals("Unexpected matching regions", "Float[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2524 |
} |
2525 |
public void test0414() { |
2526 |
String name = "FieldExpression/sun.tools.tree//!"; |
2527 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2528 |
assertEquals("Unexpected regions length", 2, regions.length); |
2529 |
assertEquals("Unexpected matching regions", "Field[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2530 |
} |
2531 |
public void test0415() { |
2532 |
String name = "DoubleExpression/sun.tools.tree//!"; |
2533 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2534 |
assertEquals("Unexpected regions length", 2, regions.length); |
2535 |
assertEquals("Unexpected matching regions", "Double[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2536 |
} |
2537 |
public void test0416() { |
2538 |
String name = "DivRemExpression/sun.tools.tree//?"; |
2539 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2540 |
assertEquals("Unexpected regions length", 2, regions.length); |
2541 |
assertEquals("Unexpected matching regions", "DivRem[Expression]/sun.tools.tree//?", printRegions(name, regions)); |
2542 |
} |
2543 |
public void test0417() { |
2544 |
String name = "DivideExpression/sun.tools.tree//!"; |
2545 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2546 |
assertEquals("Unexpected regions length", 2, regions.length); |
2547 |
assertEquals("Unexpected matching regions", "Divide[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2548 |
} |
2549 |
public void test0418() { |
2550 |
String name = "BinaryExpression/sun.tools.tree//!"; |
2551 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2552 |
assertEquals("Unexpected regions length", 2, regions.length); |
2553 |
assertEquals("Unexpected matching regions", "Binary[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2554 |
} |
2555 |
public void test0419() { |
2556 |
String name = "BinaryAssignExpression/sun.tools.tree//!"; |
2557 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2558 |
assertEquals("Unexpected regions length", 2, regions.length); |
2559 |
assertEquals("Unexpected matching regions", "BinaryAssign[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2560 |
} |
2561 |
public void test0420() { |
2562 |
String name = "BinaryShiftExpression/sun.tools.tree//!"; |
2563 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2564 |
assertEquals("Unexpected regions length", 2, regions.length); |
2565 |
assertEquals("Unexpected matching regions", "BinaryShift[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2566 |
} |
2567 |
public void test0421() { |
2568 |
String name = "ByteExpression/sun.tools.tree//!"; |
2569 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2570 |
assertEquals("Unexpected regions length", 2, regions.length); |
2571 |
assertEquals("Unexpected matching regions", "Byte[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2572 |
} |
2573 |
public void test0422() { |
2574 |
String name = "BinaryArithmeticExpression/sun.tools.tree//!"; |
2575 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2576 |
assertEquals("Unexpected regions length", 2, regions.length); |
2577 |
assertEquals("Unexpected matching regions", "BinaryArithmetic[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2578 |
} |
2579 |
public void test0423() { |
2580 |
String name = "BitAndExpression/sun.tools.tree//!"; |
2581 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2582 |
assertEquals("Unexpected regions length", 2, regions.length); |
2583 |
assertEquals("Unexpected matching regions", "BitAnd[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2584 |
} |
2585 |
public void test0424() { |
2586 |
String name = "BinaryEqualityExpression/sun.tools.tree//!"; |
2587 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2588 |
assertEquals("Unexpected regions length", 2, regions.length); |
2589 |
assertEquals("Unexpected matching regions", "BinaryEquality[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2590 |
} |
2591 |
public void test0425() { |
2592 |
String name = "BinaryLogicalExpression/sun.tools.tree//?"; |
2593 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2594 |
assertEquals("Unexpected regions length", 2, regions.length); |
2595 |
assertEquals("Unexpected matching regions", "BinaryLogical[Expression]/sun.tools.tree//?", printRegions(name, regions)); |
2596 |
} |
2597 |
public void test0426() { |
2598 |
String name = "BooleanExpression/sun.tools.tree//!"; |
2599 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2600 |
assertEquals("Unexpected regions length", 2, regions.length); |
2601 |
assertEquals("Unexpected matching regions", "Boolean[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2602 |
} |
2603 |
public void test0427() { |
2604 |
String name = "BitXorExpression/sun.tools.tree//!"; |
2605 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2606 |
assertEquals("Unexpected regions length", 2, regions.length); |
2607 |
assertEquals("Unexpected matching regions", "BitXor[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2608 |
} |
2609 |
public void test0428() { |
2610 |
String name = "BitOrExpression/sun.tools.tree//!"; |
2611 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2612 |
assertEquals("Unexpected regions length", 2, regions.length); |
2613 |
assertEquals("Unexpected matching regions", "BitOr[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2614 |
} |
2615 |
public void test0429() { |
2616 |
String name = "BinaryCompareExpression/sun.tools.tree//!"; |
2617 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2618 |
assertEquals("Unexpected regions length", 2, regions.length); |
2619 |
assertEquals("Unexpected matching regions", "BinaryCompare[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2620 |
} |
2621 |
public void test0430() { |
2622 |
String name = "BinaryBitExpression/sun.tools.tree//?"; |
2623 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2624 |
assertEquals("Unexpected regions length", 2, regions.length); |
2625 |
assertEquals("Unexpected matching regions", "BinaryBit[Expression]/sun.tools.tree//?", printRegions(name, regions)); |
2626 |
} |
2627 |
public void test0431() { |
2628 |
String name = "BitNotExpression/sun.tools.tree//!"; |
2629 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2630 |
assertEquals("Unexpected regions length", 2, regions.length); |
2631 |
assertEquals("Unexpected matching regions", "BitNot[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2632 |
} |
2633 |
public void test0432() { |
2634 |
String name = "ShiftRightExpression/sun.tools.tree//!"; |
2635 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2636 |
assertEquals("Unexpected regions length", 2, regions.length); |
2637 |
assertEquals("Unexpected matching regions", "ShiftRight[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2638 |
} |
2639 |
public void test0433() { |
2640 |
String name = "SubtractExpression/sun.tools.tree//!"; |
2641 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2642 |
assertEquals("Unexpected regions length", 2, regions.length); |
2643 |
assertEquals("Unexpected matching regions", "Subtract[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2644 |
} |
2645 |
public void test0434() { |
2646 |
String name = "ShiftLeftExpression/sun.tools.tree//!"; |
2647 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2648 |
assertEquals("Unexpected regions length", 2, regions.length); |
2649 |
assertEquals("Unexpected matching regions", "ShiftLeft[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2650 |
} |
2651 |
public void test0435() { |
2652 |
String name = "ShortExpression/sun.tools.tree//!"; |
2653 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2654 |
assertEquals("Unexpected regions length", 2, regions.length); |
2655 |
assertEquals("Unexpected matching regions", "Short[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2656 |
} |
2657 |
public void test0436() { |
2658 |
String name = "StringExpression/sun.tools.tree//!"; |
2659 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2660 |
assertEquals("Unexpected regions length", 2, regions.length); |
2661 |
assertEquals("Unexpected matching regions", "String[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2662 |
} |
2663 |
public void test0437() { |
2664 |
String name = "SuperExpression/sun.tools.tree//!"; |
2665 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2666 |
assertEquals("Unexpected regions length", 2, regions.length); |
2667 |
assertEquals("Unexpected matching regions", "Super[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2668 |
} |
2669 |
public void test0438() { |
2670 |
String name = "UnaryExpression/sun.tools.tree//!"; |
2671 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2672 |
assertEquals("Unexpected regions length", 2, regions.length); |
2673 |
assertEquals("Unexpected matching regions", "Unary[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2674 |
} |
2675 |
public void test0439() { |
2676 |
String name = "UnsignedShiftRightExpression/sun.tools.tree//!"; |
2677 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2678 |
assertEquals("Unexpected regions length", 2, regions.length); |
2679 |
assertEquals("Unexpected matching regions", "UnsignedShiftRight[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2680 |
} |
2681 |
public void test0440() { |
2682 |
String name = "OrExpression/sun.tools.tree//!"; |
2683 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2684 |
assertEquals("Unexpected regions length", 2, regions.length); |
2685 |
assertEquals("Unexpected matching regions", "Or[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2686 |
} |
2687 |
public void test0441() { |
2688 |
String name = "MethodExpression/sun.tools.tree//!"; |
2689 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2690 |
assertEquals("Unexpected regions length", 2, regions.length); |
2691 |
assertEquals("Unexpected matching regions", "Method[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2692 |
} |
2693 |
public void test0442() { |
2694 |
String name = "MultiplyExpression/sun.tools.tree//!"; |
2695 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2696 |
assertEquals("Unexpected regions length", 2, regions.length); |
2697 |
assertEquals("Unexpected matching regions", "Multiply[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2698 |
} |
2699 |
public void test0443() { |
2700 |
String name = "InlineNewInstanceExpression/sun.tools.tree//!"; |
2701 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2702 |
assertEquals("Unexpected regions length", 2, regions.length); |
2703 |
assertEquals("Unexpected matching regions", "InlineNewInstance[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2704 |
} |
2705 |
public void test0444() { |
2706 |
String name = "InlineMethodExpression/sun.tools.tree//!"; |
2707 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2708 |
assertEquals("Unexpected regions length", 2, regions.length); |
2709 |
assertEquals("Unexpected matching regions", "InlineMethod[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2710 |
} |
2711 |
public void test0445() { |
2712 |
String name = "IncDecExpression/sun.tools.tree//!"; |
2713 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2714 |
assertEquals("Unexpected regions length", 2, regions.length); |
2715 |
assertEquals("Unexpected matching regions", "IncDec[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2716 |
} |
2717 |
public void test0446() { |
2718 |
String name = "IntegerExpression/sun.tools.tree//!"; |
2719 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2720 |
assertEquals("Unexpected regions length", 2, regions.length); |
2721 |
assertEquals("Unexpected matching regions", "Integer[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2722 |
} |
2723 |
public void test0447() { |
2724 |
String name = "IdentifierExpression/sun.tools.tree//!"; |
2725 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2726 |
assertEquals("Unexpected regions length", 2, regions.length); |
2727 |
assertEquals("Unexpected matching regions", "Identifier[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2728 |
} |
2729 |
public void test0448() { |
2730 |
String name = "IntExpression/sun.tools.tree//!"; |
2731 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2732 |
assertEquals("Unexpected regions length", 2, regions.length); |
2733 |
assertEquals("Unexpected matching regions", "Int[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2734 |
} |
2735 |
public void test0449() { |
2736 |
String name = "InstanceOfExpression/sun.tools.tree//!"; |
2737 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2738 |
assertEquals("Unexpected regions length", 2, regions.length); |
2739 |
assertEquals("Unexpected matching regions", "InstanceOf[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2740 |
} |
2741 |
public void test0450() { |
2742 |
String name = "Expression/sun.tools.tree//!"; |
2743 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2744 |
assertEquals("Unexpected regions length", 2, regions.length); |
2745 |
assertEquals("Unexpected matching regions", "[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2746 |
} |
2747 |
public void test0451() { |
2748 |
String name = "ExprExpression/sun.tools.tree//!"; |
2749 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2750 |
assertEquals("Unexpected regions length", 2, regions.length); |
2751 |
assertEquals("Unexpected matching regions", "Expr[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2752 |
} |
2753 |
public void test0452() { |
2754 |
String name = "EqualExpression/sun.tools.tree//!"; |
2755 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2756 |
assertEquals("Unexpected regions length", 2, regions.length); |
2757 |
assertEquals("Unexpected matching regions", "Equal[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2758 |
} |
2759 |
public void test0453() { |
2760 |
String name = "ExpressionStatement/sun.tools.tree//!"; |
2761 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2762 |
assertEquals("Unexpected regions length", 2, regions.length); |
2763 |
assertEquals("Unexpected matching regions", "[Expression]Statement/sun.tools.tree//!", printRegions(name, regions)); |
2764 |
} |
2765 |
public void test0454() { |
2766 |
String name = "GreaterOrEqualExpression/sun.tools.tree//!"; |
2767 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2768 |
assertEquals("Unexpected regions length", 2, regions.length); |
2769 |
assertEquals("Unexpected matching regions", "GreaterOrEqual[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2770 |
} |
2771 |
public void test0455() { |
2772 |
String name = "GreaterExpression/sun.tools.tree//!"; |
2773 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2774 |
assertEquals("Unexpected regions length", 2, regions.length); |
2775 |
assertEquals("Unexpected matching regions", "Greater[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2776 |
} |
2777 |
public void test0456() { |
2778 |
String name = "ConvertExpression/sun.tools.tree//!"; |
2779 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2780 |
assertEquals("Unexpected regions length", 2, regions.length); |
2781 |
assertEquals("Unexpected matching regions", "Convert[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2782 |
} |
2783 |
public void test0457() { |
2784 |
String name = "CharExpression/sun.tools.tree//!"; |
2785 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2786 |
assertEquals("Unexpected regions length", 2, regions.length); |
2787 |
assertEquals("Unexpected matching regions", "Char[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2788 |
} |
2789 |
public void test0458() { |
2790 |
String name = "ConstantExpression/sun.tools.tree// "; |
2791 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2792 |
assertEquals("Unexpected regions length", 2, regions.length); |
2793 |
assertEquals("Unexpected matching regions", "Constant[Expression]/sun.tools.tree// ", printRegions(name, regions)); |
2794 |
} |
2795 |
public void test0459() { |
2796 |
String name = "CommaExpression/sun.tools.tree//!"; |
2797 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2798 |
assertEquals("Unexpected regions length", 2, regions.length); |
2799 |
assertEquals("Unexpected matching regions", "Comma[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2800 |
} |
2801 |
public void test0460() { |
2802 |
String name = "CastExpression/sun.tools.tree//!"; |
2803 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2804 |
assertEquals("Unexpected regions length", 2, regions.length); |
2805 |
assertEquals("Unexpected matching regions", "Cast[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2806 |
} |
2807 |
public void test0461() { |
2808 |
String name = "ConditionalExpression/sun.tools.tree//!"; |
2809 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2810 |
assertEquals("Unexpected regions length", 2, regions.length); |
2811 |
assertEquals("Unexpected matching regions", "Conditional[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2812 |
} |
2813 |
public void test0462() { |
2814 |
String name = "StringExpressionConstantData/sun.tools.asm//0"; |
2815 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2816 |
assertEquals("Unexpected regions length", 2, regions.length); |
2817 |
assertEquals("Unexpected matching regions", "String[Expression]ConstantData/sun.tools.asm//0", printRegions(name, regions)); |
2818 |
} |
2819 |
public void test0463() { |
2820 |
String name = "AssignBitOrExpression/sun.tools.tree//!"; |
2821 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2822 |
assertEquals("Unexpected regions length", 2, regions.length); |
2823 |
assertEquals("Unexpected matching regions", "AssignBitOr[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2824 |
} |
2825 |
public void test0464() { |
2826 |
String name = "ArrayExpression/sun.tools.tree//!"; |
2827 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2828 |
assertEquals("Unexpected regions length", 2, regions.length); |
2829 |
assertEquals("Unexpected matching regions", "Array[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2830 |
} |
2831 |
public void test0465() { |
2832 |
String name = "AssignBitAndExpression/sun.tools.tree//!"; |
2833 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2834 |
assertEquals("Unexpected regions length", 2, regions.length); |
2835 |
assertEquals("Unexpected matching regions", "AssignBitAnd[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2836 |
} |
2837 |
public void test0466() { |
2838 |
String name = "AssignRemainderExpression/sun.tools.tree//!"; |
2839 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2840 |
assertEquals("Unexpected regions length", 2, regions.length); |
2841 |
assertEquals("Unexpected matching regions", "AssignRemainder[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2842 |
} |
2843 |
public void test0467() { |
2844 |
String name = "AndExpression/sun.tools.tree//!"; |
2845 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2846 |
assertEquals("Unexpected regions length", 2, regions.length); |
2847 |
assertEquals("Unexpected matching regions", "And[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2848 |
} |
2849 |
public void test0468() { |
2850 |
String name = "ArrayAccessExpression/sun.tools.tree//!"; |
2851 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2852 |
assertEquals("Unexpected regions length", 2, regions.length); |
2853 |
assertEquals("Unexpected matching regions", "ArrayAccess[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2854 |
} |
2855 |
public void test0469() { |
2856 |
String name = "AddExpression/sun.tools.tree//!"; |
2857 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2858 |
assertEquals("Unexpected regions length", 2, regions.length); |
2859 |
assertEquals("Unexpected matching regions", "Add[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2860 |
} |
2861 |
public void test0470() { |
2862 |
String name = "AssignShiftLeftExpression/sun.tools.tree//!"; |
2863 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2864 |
assertEquals("Unexpected regions length", 2, regions.length); |
2865 |
assertEquals("Unexpected matching regions", "AssignShiftLeft[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2866 |
} |
2867 |
public void test0471() { |
2868 |
String name = "AssignMultiplyExpression/sun.tools.tree//!"; |
2869 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2870 |
assertEquals("Unexpected regions length", 2, regions.length); |
2871 |
assertEquals("Unexpected matching regions", "AssignMultiply[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2872 |
} |
2873 |
public void test0472() { |
2874 |
String name = "AssignDivideExpression/sun.tools.tree//!"; |
2875 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2876 |
assertEquals("Unexpected regions length", 2, regions.length); |
2877 |
assertEquals("Unexpected matching regions", "AssignDivide[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2878 |
} |
2879 |
public void test0473() { |
2880 |
String name = "AssignSubtractExpression/sun.tools.tree//!"; |
2881 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2882 |
assertEquals("Unexpected regions length", 2, regions.length); |
2883 |
assertEquals("Unexpected matching regions", "AssignSubtract[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2884 |
} |
2885 |
public void test0474() { |
2886 |
String name = "AssignOpExpression/sun.tools.tree//?"; |
2887 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2888 |
assertEquals("Unexpected regions length", 2, regions.length); |
2889 |
assertEquals("Unexpected matching regions", "AssignOp[Expression]/sun.tools.tree//?", printRegions(name, regions)); |
2890 |
} |
2891 |
public void test0475() { |
2892 |
String name = "AssignExpression/sun.tools.tree//!"; |
2893 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2894 |
assertEquals("Unexpected regions length", 2, regions.length); |
2895 |
assertEquals("Unexpected matching regions", "Assign[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2896 |
} |
2897 |
public void test0476() { |
2898 |
String name = "AssignUnsignedShiftRightExpression/sun.tools.tree//!"; |
2899 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2900 |
assertEquals("Unexpected regions length", 2, regions.length); |
2901 |
assertEquals("Unexpected matching regions", "AssignUnsignedShiftRight[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2902 |
} |
2903 |
public void test0477() { |
2904 |
String name = "AssignAddExpression/sun.tools.tree//!"; |
2905 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2906 |
assertEquals("Unexpected regions length", 2, regions.length); |
2907 |
assertEquals("Unexpected matching regions", "AssignAdd[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2908 |
} |
2909 |
public void test0478() { |
2910 |
String name = "AssignShiftRightExpression/sun.tools.tree//!"; |
2911 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2912 |
assertEquals("Unexpected regions length", 2, regions.length); |
2913 |
assertEquals("Unexpected matching regions", "AssignShiftRight[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2914 |
} |
2915 |
public void test0479() { |
2916 |
String name = "AssignBitXorExpression/sun.tools.tree//!"; |
2917 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2918 |
assertEquals("Unexpected regions length", 2, regions.length); |
2919 |
assertEquals("Unexpected matching regions", "AssignBitXor[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2920 |
} |
2921 |
public void test0480() { |
2922 |
String name = "RemainderExpression/sun.tools.tree//!"; |
2923 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2924 |
assertEquals("Unexpected regions length", 2, regions.length); |
2925 |
assertEquals("Unexpected matching regions", "Remainder[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2926 |
} |
2927 |
public void test0481() { |
2928 |
String name = "ThisExpression/sun.tools.tree//!"; |
2929 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2930 |
assertEquals("Unexpected regions length", 2, regions.length); |
2931 |
assertEquals("Unexpected matching regions", "This[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2932 |
} |
2933 |
public void test0482() { |
2934 |
String name = "TypeExpression/sun.tools.tree//!"; |
2935 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2936 |
assertEquals("Unexpected regions length", 2, regions.length); |
2937 |
assertEquals("Unexpected matching regions", "Type[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2938 |
} |
2939 |
public void test0483() { |
2940 |
String name = "PreIncExpression/sun.tools.tree//!"; |
2941 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2942 |
assertEquals("Unexpected regions length", 2, regions.length); |
2943 |
assertEquals("Unexpected matching regions", "PreInc[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2944 |
} |
2945 |
public void test0484() { |
2946 |
String name = "PostDecExpression/sun.tools.tree//!"; |
2947 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2948 |
assertEquals("Unexpected regions length", 2, regions.length); |
2949 |
assertEquals("Unexpected matching regions", "PostDec[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2950 |
} |
2951 |
public void test0485() { |
2952 |
String name = "PostIncExpression/sun.tools.tree//!"; |
2953 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2954 |
assertEquals("Unexpected regions length", 2, regions.length); |
2955 |
assertEquals("Unexpected matching regions", "PostInc[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2956 |
} |
2957 |
public void test0486() { |
2958 |
String name = "PositiveExpression/sun.tools.tree//!"; |
2959 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2960 |
assertEquals("Unexpected regions length", 2, regions.length); |
2961 |
assertEquals("Unexpected matching regions", "Positive[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2962 |
} |
2963 |
public void test0487() { |
2964 |
String name = "PreDecExpression/sun.tools.tree//!"; |
2965 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2966 |
assertEquals("Unexpected regions length", 2, regions.length); |
2967 |
assertEquals("Unexpected matching regions", "PreDec[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2968 |
} |
2969 |
public void test0488() { |
2970 |
String name = "LengthExpression/sun.tools.tree//!"; |
2971 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2972 |
assertEquals("Unexpected regions length", 2, regions.length); |
2973 |
assertEquals("Unexpected matching regions", "Length[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2974 |
} |
2975 |
public void test0489() { |
2976 |
String name = "LongExpression/sun.tools.tree//!"; |
2977 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2978 |
assertEquals("Unexpected regions length", 2, regions.length); |
2979 |
assertEquals("Unexpected matching regions", "Long[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2980 |
} |
2981 |
public void test0490() { |
2982 |
String name = "LessExpression/sun.tools.tree//!"; |
2983 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2984 |
assertEquals("Unexpected regions length", 2, regions.length); |
2985 |
assertEquals("Unexpected matching regions", "Less[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2986 |
} |
2987 |
public void test0491() { |
2988 |
String name = "LessOrEqualExpression/sun.tools.tree//!"; |
2989 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2990 |
assertEquals("Unexpected regions length", 2, regions.length); |
2991 |
assertEquals("Unexpected matching regions", "LessOrEqual[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2992 |
} |
2993 |
public void test0492() { |
2994 |
String name = "NotExpression/sun.tools.tree//!"; |
2995 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
2996 |
assertEquals("Unexpected regions length", 2, regions.length); |
2997 |
assertEquals("Unexpected matching regions", "Not[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
2998 |
} |
2999 |
public void test0493() { |
3000 |
String name = "NewInstanceExpression/sun.tools.tree//!"; |
3001 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3002 |
assertEquals("Unexpected regions length", 2, regions.length); |
3003 |
assertEquals("Unexpected matching regions", "NewInstance[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
3004 |
} |
3005 |
public void test0494() { |
3006 |
String name = "NegativeExpression/sun.tools.tree//!"; |
3007 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3008 |
assertEquals("Unexpected regions length", 2, regions.length); |
3009 |
assertEquals("Unexpected matching regions", "Negative[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
3010 |
} |
3011 |
public void test0495() { |
3012 |
String name = "NewArrayExpression/sun.tools.tree//!"; |
3013 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3014 |
assertEquals("Unexpected regions length", 2, regions.length); |
3015 |
assertEquals("Unexpected matching regions", "NewArray[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
3016 |
} |
3017 |
public void test0496() { |
3018 |
String name = "NullExpression/sun.tools.tree//!"; |
3019 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3020 |
assertEquals("Unexpected regions length", 2, regions.length); |
3021 |
assertEquals("Unexpected matching regions", "Null[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
3022 |
} |
3023 |
public void test0497() { |
3024 |
String name = "NaryExpression/sun.tools.tree//!"; |
3025 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3026 |
assertEquals("Unexpected regions length", 2, regions.length); |
3027 |
assertEquals("Unexpected matching regions", "Nary[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
3028 |
} |
3029 |
public void test0498() { |
3030 |
String name = "NotEqualExpression/sun.tools.tree//!"; |
3031 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3032 |
assertEquals("Unexpected regions length", 2, regions.length); |
3033 |
assertEquals("Unexpected matching regions", "NotEqual[Expression]/sun.tools.tree//!", printRegions(name, regions)); |
3034 |
} |
3035 |
public void test0499() { |
3036 |
String name = "ThisExpression"; |
3037 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3038 |
assertEquals("Unexpected regions length", 2, regions.length); |
3039 |
assertEquals("Unexpected matching regions", "This[Expression]", printRegions(name, regions)); |
3040 |
} |
3041 |
public void test0500() { |
3042 |
String name = "TypeExpression"; |
3043 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3044 |
assertEquals("Unexpected regions length", 2, regions.length); |
3045 |
assertEquals("Unexpected matching regions", "Type[Expression]", printRegions(name, regions)); |
3046 |
} |
3047 |
public void test0501() { |
3048 |
String name = "ExpressionStatement"; |
3049 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3050 |
assertEquals("Unexpected regions length", 2, regions.length); |
3051 |
assertEquals("Unexpected matching regions", "[Expression]Statement", printRegions(name, regions)); |
3052 |
} |
3053 |
public void test0502() { |
3054 |
String name = "ExprExpression"; |
3055 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3056 |
assertEquals("Unexpected regions length", 2, regions.length); |
3057 |
assertEquals("Unexpected matching regions", "Expr[Expression]", printRegions(name, regions)); |
3058 |
} |
3059 |
public void test0503() { |
3060 |
String name = "UnsignedShiftRightExpression"; |
3061 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3062 |
assertEquals("Unexpected regions length", 2, regions.length); |
3063 |
assertEquals("Unexpected matching regions", "UnsignedShiftRight[Expression]", printRegions(name, regions)); |
3064 |
} |
3065 |
public void test0504() { |
3066 |
String name = "MultiplyExpression"; |
3067 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3068 |
assertEquals("Unexpected regions length", 2, regions.length); |
3069 |
assertEquals("Unexpected matching regions", "Multiply[Expression]", printRegions(name, regions)); |
3070 |
} |
3071 |
public void test0505() { |
3072 |
String name = "MethodExpression"; |
3073 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3074 |
assertEquals("Unexpected regions length", 2, regions.length); |
3075 |
assertEquals("Unexpected matching regions", "Method[Expression]", printRegions(name, regions)); |
3076 |
} |
3077 |
public void test0506() { |
3078 |
String name = "FieldExpression"; |
3079 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3080 |
assertEquals("Unexpected regions length", 2, regions.length); |
3081 |
assertEquals("Unexpected matching regions", "Field[Expression]", printRegions(name, regions)); |
3082 |
} |
3083 |
public void test0507() { |
3084 |
String name = "FloatExpression"; |
3085 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3086 |
assertEquals("Unexpected regions length", 2, regions.length); |
3087 |
assertEquals("Unexpected matching regions", "Float[Expression]", printRegions(name, regions)); |
3088 |
} |
3089 |
public void test0508() { |
3090 |
String name = "NotExpression"; |
3091 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3092 |
assertEquals("Unexpected regions length", 2, regions.length); |
3093 |
assertEquals("Unexpected matching regions", "Not[Expression]", printRegions(name, regions)); |
3094 |
} |
3095 |
public void test0509() { |
3096 |
String name = "NewInstanceExpression"; |
3097 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3098 |
assertEquals("Unexpected regions length", 2, regions.length); |
3099 |
assertEquals("Unexpected matching regions", "NewInstance[Expression]", printRegions(name, regions)); |
3100 |
} |
3101 |
public void test0510() { |
3102 |
String name = "NegativeExpression"; |
3103 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3104 |
assertEquals("Unexpected regions length", 2, regions.length); |
3105 |
assertEquals("Unexpected matching regions", "Negative[Expression]", printRegions(name, regions)); |
3106 |
} |
3107 |
public void test0511() { |
3108 |
String name = "NewArrayExpression"; |
3109 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3110 |
assertEquals("Unexpected regions length", 2, regions.length); |
3111 |
assertEquals("Unexpected matching regions", "NewArray[Expression]", printRegions(name, regions)); |
3112 |
} |
3113 |
public void test0512() { |
3114 |
String name = "NullExpression"; |
3115 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3116 |
assertEquals("Unexpected regions length", 2, regions.length); |
3117 |
assertEquals("Unexpected matching regions", "Null[Expression]", printRegions(name, regions)); |
3118 |
} |
3119 |
public void test0513() { |
3120 |
String name = "NaryExpression"; |
3121 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3122 |
assertEquals("Unexpected regions length", 2, regions.length); |
3123 |
assertEquals("Unexpected matching regions", "Nary[Expression]", printRegions(name, regions)); |
3124 |
} |
3125 |
public void test0514() { |
3126 |
String name = "NotEqualExpression"; |
3127 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3128 |
assertEquals("Unexpected regions length", 2, regions.length); |
3129 |
assertEquals("Unexpected matching regions", "NotEqual[Expression]", printRegions(name, regions)); |
3130 |
} |
3131 |
public void test0515() { |
3132 |
String name = "StringExpressionConstantData"; |
3133 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3134 |
assertEquals("Unexpected regions length", 2, regions.length); |
3135 |
assertEquals("Unexpected matching regions", "String[Expression]ConstantData", printRegions(name, regions)); |
3136 |
} |
3137 |
public void test0516() { |
3138 |
String name = "OrExpression"; |
3139 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3140 |
assertEquals("Unexpected regions length", 2, regions.length); |
3141 |
assertEquals("Unexpected matching regions", "Or[Expression]", printRegions(name, regions)); |
3142 |
} |
3143 |
public void test0517() { |
3144 |
String name = "GreaterExpression"; |
3145 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3146 |
assertEquals("Unexpected regions length", 2, regions.length); |
3147 |
assertEquals("Unexpected matching regions", "Greater[Expression]", printRegions(name, regions)); |
3148 |
} |
3149 |
public void test0518() { |
3150 |
String name = "GreaterOrEqualExpression"; |
3151 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3152 |
assertEquals("Unexpected regions length", 2, regions.length); |
3153 |
assertEquals("Unexpected matching regions", "GreaterOrEqual[Expression]", printRegions(name, regions)); |
3154 |
} |
3155 |
public void test0519() { |
3156 |
String name = "PreIncExpression"; |
3157 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3158 |
assertEquals("Unexpected regions length", 2, regions.length); |
3159 |
assertEquals("Unexpected matching regions", "PreInc[Expression]", printRegions(name, regions)); |
3160 |
} |
3161 |
public void test0520() { |
3162 |
String name = "PostDecExpression"; |
3163 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3164 |
assertEquals("Unexpected regions length", 2, regions.length); |
3165 |
assertEquals("Unexpected matching regions", "PostDec[Expression]", printRegions(name, regions)); |
3166 |
} |
3167 |
public void test0521() { |
3168 |
String name = "PostIncExpression"; |
3169 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3170 |
assertEquals("Unexpected regions length", 2, regions.length); |
3171 |
assertEquals("Unexpected matching regions", "PostInc[Expression]", printRegions(name, regions)); |
3172 |
} |
3173 |
public void test0522() { |
3174 |
String name = "PositiveExpression"; |
3175 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3176 |
assertEquals("Unexpected regions length", 2, regions.length); |
3177 |
assertEquals("Unexpected matching regions", "Positive[Expression]", printRegions(name, regions)); |
3178 |
} |
3179 |
public void test0523() { |
3180 |
String name = "PreDecExpression"; |
3181 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3182 |
assertEquals("Unexpected regions length", 2, regions.length); |
3183 |
assertEquals("Unexpected matching regions", "PreDec[Expression]", printRegions(name, regions)); |
3184 |
} |
3185 |
public void test0524() { |
3186 |
String name = "IntExpression"; |
3187 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3188 |
assertEquals("Unexpected regions length", 2, regions.length); |
3189 |
assertEquals("Unexpected matching regions", "Int[Expression]", printRegions(name, regions)); |
3190 |
} |
3191 |
public void test0525() { |
3192 |
String name = "ArrayExpression"; |
3193 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3194 |
assertEquals("Unexpected regions length", 2, regions.length); |
3195 |
assertEquals("Unexpected matching regions", "Array[Expression]", printRegions(name, regions)); |
3196 |
} |
3197 |
public void test0526() { |
3198 |
String name = "AssignBitOrExpression"; |
3199 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3200 |
assertEquals("Unexpected regions length", 2, regions.length); |
3201 |
assertEquals("Unexpected matching regions", "AssignBitOr[Expression]", printRegions(name, regions)); |
3202 |
} |
3203 |
public void test0527() { |
3204 |
String name = "IdentifierExpression"; |
3205 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3206 |
assertEquals("Unexpected regions length", 2, regions.length); |
3207 |
assertEquals("Unexpected matching regions", "Identifier[Expression]", printRegions(name, regions)); |
3208 |
} |
3209 |
public void test0528() { |
3210 |
String name = "IntegerExpression"; |
3211 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3212 |
assertEquals("Unexpected regions length", 2, regions.length); |
3213 |
assertEquals("Unexpected matching regions", "Integer[Expression]", printRegions(name, regions)); |
3214 |
} |
3215 |
public void test0529() { |
3216 |
String name = "IncDecExpression"; |
3217 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3218 |
assertEquals("Unexpected regions length", 2, regions.length); |
3219 |
assertEquals("Unexpected matching regions", "IncDec[Expression]", printRegions(name, regions)); |
3220 |
} |
3221 |
public void test0530() { |
3222 |
String name = "InlineMethodExpression"; |
3223 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3224 |
assertEquals("Unexpected regions length", 2, regions.length); |
3225 |
assertEquals("Unexpected matching regions", "InlineMethod[Expression]", printRegions(name, regions)); |
3226 |
} |
3227 |
public void test0531() { |
3228 |
String name = "InlineNewInstanceExpression"; |
3229 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3230 |
assertEquals("Unexpected regions length", 2, regions.length); |
3231 |
assertEquals("Unexpected matching regions", "InlineNewInstance[Expression]", printRegions(name, regions)); |
3232 |
} |
3233 |
public void test0532() { |
3234 |
String name = "AssignMultiplyExpression"; |
3235 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3236 |
assertEquals("Unexpected regions length", 2, regions.length); |
3237 |
assertEquals("Unexpected matching regions", "AssignMultiply[Expression]", printRegions(name, regions)); |
3238 |
} |
3239 |
public void test0533() { |
3240 |
String name = "AssignShiftLeftExpression"; |
3241 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3242 |
assertEquals("Unexpected regions length", 2, regions.length); |
3243 |
assertEquals("Unexpected matching regions", "AssignShiftLeft[Expression]", printRegions(name, regions)); |
3244 |
} |
3245 |
public void test0534() { |
3246 |
String name = "AddExpression"; |
3247 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3248 |
assertEquals("Unexpected regions length", 2, regions.length); |
3249 |
assertEquals("Unexpected matching regions", "Add[Expression]", printRegions(name, regions)); |
3250 |
} |
3251 |
public void test0535() { |
3252 |
String name = "ArrayAccessExpression"; |
3253 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3254 |
assertEquals("Unexpected regions length", 2, regions.length); |
3255 |
assertEquals("Unexpected matching regions", "ArrayAccess[Expression]", printRegions(name, regions)); |
3256 |
} |
3257 |
public void test0536() { |
3258 |
String name = "AndExpression"; |
3259 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3260 |
assertEquals("Unexpected regions length", 2, regions.length); |
3261 |
assertEquals("Unexpected matching regions", "And[Expression]", printRegions(name, regions)); |
3262 |
} |
3263 |
public void test0537() { |
3264 |
String name = "AssignRemainderExpression"; |
3265 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3266 |
assertEquals("Unexpected regions length", 2, regions.length); |
3267 |
assertEquals("Unexpected matching regions", "AssignRemainder[Expression]", printRegions(name, regions)); |
3268 |
} |
3269 |
public void test0538() { |
3270 |
String name = "AssignBitAndExpression"; |
3271 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3272 |
assertEquals("Unexpected regions length", 2, regions.length); |
3273 |
assertEquals("Unexpected matching regions", "AssignBitAnd[Expression]", printRegions(name, regions)); |
3274 |
} |
3275 |
public void test0539() { |
3276 |
String name = "AssignDivideExpression"; |
3277 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3278 |
assertEquals("Unexpected regions length", 2, regions.length); |
3279 |
assertEquals("Unexpected matching regions", "AssignDivide[Expression]", printRegions(name, regions)); |
3280 |
} |
3281 |
public void test0540() { |
3282 |
String name = "AssignSubtractExpression"; |
3283 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3284 |
assertEquals("Unexpected regions length", 2, regions.length); |
3285 |
assertEquals("Unexpected matching regions", "AssignSubtract[Expression]", printRegions(name, regions)); |
3286 |
} |
3287 |
public void test0541() { |
3288 |
String name = "AssignOpExpression"; |
3289 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3290 |
assertEquals("Unexpected regions length", 2, regions.length); |
3291 |
assertEquals("Unexpected matching regions", "AssignOp[Expression]", printRegions(name, regions)); |
3292 |
} |
3293 |
public void test0542() { |
3294 |
String name = "AssignExpression"; |
3295 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3296 |
assertEquals("Unexpected regions length", 2, regions.length); |
3297 |
assertEquals("Unexpected matching regions", "Assign[Expression]", printRegions(name, regions)); |
3298 |
} |
3299 |
public void test0543() { |
3300 |
String name = "AssignUnsignedShiftRightExpression"; |
3301 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3302 |
assertEquals("Unexpected regions length", 2, regions.length); |
3303 |
assertEquals("Unexpected matching regions", "AssignUnsignedShiftRight[Expression]", printRegions(name, regions)); |
3304 |
} |
3305 |
public void test0544() { |
3306 |
String name = "AssignAddExpression"; |
3307 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3308 |
assertEquals("Unexpected regions length", 2, regions.length); |
3309 |
assertEquals("Unexpected matching regions", "AssignAdd[Expression]", printRegions(name, regions)); |
3310 |
} |
3311 |
public void test0545() { |
3312 |
String name = "AssignShiftRightExpression"; |
3313 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3314 |
assertEquals("Unexpected regions length", 2, regions.length); |
3315 |
assertEquals("Unexpected matching regions", "AssignShiftRight[Expression]", printRegions(name, regions)); |
3316 |
} |
3317 |
public void test0546() { |
3318 |
String name = "AssignBitXorExpression"; |
3319 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3320 |
assertEquals("Unexpected regions length", 2, regions.length); |
3321 |
assertEquals("Unexpected matching regions", "AssignBitXor[Expression]", printRegions(name, regions)); |
3322 |
} |
3323 |
public void test0547() { |
3324 |
String name = "RemainderExpression"; |
3325 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3326 |
assertEquals("Unexpected regions length", 2, regions.length); |
3327 |
assertEquals("Unexpected matching regions", "Remainder[Expression]", printRegions(name, regions)); |
3328 |
} |
3329 |
public void test0548() { |
3330 |
String name = "BooleanExpression"; |
3331 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3332 |
assertEquals("Unexpected regions length", 2, regions.length); |
3333 |
assertEquals("Unexpected matching regions", "Boolean[Expression]", printRegions(name, regions)); |
3334 |
} |
3335 |
public void test0549() { |
3336 |
String name = "BinaryLogicalExpression"; |
3337 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3338 |
assertEquals("Unexpected regions length", 2, regions.length); |
3339 |
assertEquals("Unexpected matching regions", "BinaryLogical[Expression]", printRegions(name, regions)); |
3340 |
} |
3341 |
public void test0550() { |
3342 |
String name = "BinaryEqualityExpression"; |
3343 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3344 |
assertEquals("Unexpected regions length", 2, regions.length); |
3345 |
assertEquals("Unexpected matching regions", "BinaryEquality[Expression]", printRegions(name, regions)); |
3346 |
} |
3347 |
public void test0551() { |
3348 |
String name = "BitAndExpression"; |
3349 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3350 |
assertEquals("Unexpected regions length", 2, regions.length); |
3351 |
assertEquals("Unexpected matching regions", "BitAnd[Expression]", printRegions(name, regions)); |
3352 |
} |
3353 |
public void test0552() { |
3354 |
String name = "BinaryArithmeticExpression"; |
3355 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3356 |
assertEquals("Unexpected regions length", 2, regions.length); |
3357 |
assertEquals("Unexpected matching regions", "BinaryArithmetic[Expression]", printRegions(name, regions)); |
3358 |
} |
3359 |
public void test0553() { |
3360 |
String name = "ByteExpression"; |
3361 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3362 |
assertEquals("Unexpected regions length", 2, regions.length); |
3363 |
assertEquals("Unexpected matching regions", "Byte[Expression]", printRegions(name, regions)); |
3364 |
} |
3365 |
public void test0554() { |
3366 |
String name = "BinaryShiftExpression"; |
3367 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3368 |
assertEquals("Unexpected regions length", 2, regions.length); |
3369 |
assertEquals("Unexpected matching regions", "BinaryShift[Expression]", printRegions(name, regions)); |
3370 |
} |
3371 |
public void test0555() { |
3372 |
String name = "BinaryAssignExpression"; |
3373 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3374 |
assertEquals("Unexpected regions length", 2, regions.length); |
3375 |
assertEquals("Unexpected matching regions", "BinaryAssign[Expression]", printRegions(name, regions)); |
3376 |
} |
3377 |
public void test0556() { |
3378 |
String name = "BitXorExpression"; |
3379 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3380 |
assertEquals("Unexpected regions length", 2, regions.length); |
3381 |
assertEquals("Unexpected matching regions", "BitXor[Expression]", printRegions(name, regions)); |
3382 |
} |
3383 |
public void test0557() { |
3384 |
String name = "BitOrExpression"; |
3385 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3386 |
assertEquals("Unexpected regions length", 2, regions.length); |
3387 |
assertEquals("Unexpected matching regions", "BitOr[Expression]", printRegions(name, regions)); |
3388 |
} |
3389 |
public void test0558() { |
3390 |
String name = "BinaryCompareExpression"; |
3391 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3392 |
assertEquals("Unexpected regions length", 2, regions.length); |
3393 |
assertEquals("Unexpected matching regions", "BinaryCompare[Expression]", printRegions(name, regions)); |
3394 |
} |
3395 |
public void test0559() { |
3396 |
String name = "BinaryBitExpression"; |
3397 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3398 |
assertEquals("Unexpected regions length", 2, regions.length); |
3399 |
assertEquals("Unexpected matching regions", "BinaryBit[Expression]", printRegions(name, regions)); |
3400 |
} |
3401 |
public void test0560() { |
3402 |
String name = "BitNotExpression"; |
3403 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3404 |
assertEquals("Unexpected regions length", 2, regions.length); |
3405 |
assertEquals("Unexpected matching regions", "BitNot[Expression]", printRegions(name, regions)); |
3406 |
} |
3407 |
public void test0561() { |
3408 |
String name = "ShiftLeftExpression"; |
3409 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3410 |
assertEquals("Unexpected regions length", 2, regions.length); |
3411 |
assertEquals("Unexpected matching regions", "ShiftLeft[Expression]", printRegions(name, regions)); |
3412 |
} |
3413 |
public void test0562() { |
3414 |
String name = "ShortExpression"; |
3415 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3416 |
assertEquals("Unexpected regions length", 2, regions.length); |
3417 |
assertEquals("Unexpected matching regions", "Short[Expression]", printRegions(name, regions)); |
3418 |
} |
3419 |
public void test0563() { |
3420 |
String name = "StringExpression"; |
3421 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3422 |
assertEquals("Unexpected regions length", 2, regions.length); |
3423 |
assertEquals("Unexpected matching regions", "String[Expression]", printRegions(name, regions)); |
3424 |
} |
3425 |
public void test0564() { |
3426 |
String name = "SuperExpression"; |
3427 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3428 |
assertEquals("Unexpected regions length", 2, regions.length); |
3429 |
assertEquals("Unexpected matching regions", "Super[Expression]", printRegions(name, regions)); |
3430 |
} |
3431 |
public void test0565() { |
3432 |
String name = "CommaExpression"; |
3433 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3434 |
assertEquals("Unexpected regions length", 2, regions.length); |
3435 |
assertEquals("Unexpected matching regions", "Comma[Expression]", printRegions(name, regions)); |
3436 |
} |
3437 |
public void test0566() { |
3438 |
String name = "ConstantExpression"; |
3439 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3440 |
assertEquals("Unexpected regions length", 2, regions.length); |
3441 |
assertEquals("Unexpected matching regions", "Constant[Expression]", printRegions(name, regions)); |
3442 |
} |
3443 |
public void test0567() { |
3444 |
String name = "CharExpression"; |
3445 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3446 |
assertEquals("Unexpected regions length", 2, regions.length); |
3447 |
assertEquals("Unexpected matching regions", "Char[Expression]", printRegions(name, regions)); |
3448 |
} |
3449 |
public void test0568() { |
3450 |
String name = "ConvertExpression"; |
3451 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3452 |
assertEquals("Unexpected regions length", 2, regions.length); |
3453 |
assertEquals("Unexpected matching regions", "Convert[Expression]", printRegions(name, regions)); |
3454 |
} |
3455 |
public void test0569() { |
3456 |
String name = "ShiftRightExpression"; |
3457 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3458 |
assertEquals("Unexpected regions length", 2, regions.length); |
3459 |
assertEquals("Unexpected matching regions", "ShiftRight[Expression]", printRegions(name, regions)); |
3460 |
} |
3461 |
public void test0570() { |
3462 |
String name = "SubtractExpression"; |
3463 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3464 |
assertEquals("Unexpected regions length", 2, regions.length); |
3465 |
assertEquals("Unexpected matching regions", "Subtract[Expression]", printRegions(name, regions)); |
3466 |
} |
3467 |
public void test0571() { |
3468 |
String name = "LengthExpression"; |
3469 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3470 |
assertEquals("Unexpected regions length", 2, regions.length); |
3471 |
assertEquals("Unexpected matching regions", "Length[Expression]", printRegions(name, regions)); |
3472 |
} |
3473 |
public void test0572() { |
3474 |
String name = "LongExpression"; |
3475 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3476 |
assertEquals("Unexpected regions length", 2, regions.length); |
3477 |
assertEquals("Unexpected matching regions", "Long[Expression]", printRegions(name, regions)); |
3478 |
} |
3479 |
public void test0573() { |
3480 |
String name = "DivideExpression"; |
3481 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3482 |
assertEquals("Unexpected regions length", 2, regions.length); |
3483 |
assertEquals("Unexpected matching regions", "Divide[Expression]", printRegions(name, regions)); |
3484 |
} |
3485 |
public void test0574() { |
3486 |
String name = "DivRemExpression"; |
3487 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3488 |
assertEquals("Unexpected regions length", 2, regions.length); |
3489 |
assertEquals("Unexpected matching regions", "DivRem[Expression]", printRegions(name, regions)); |
3490 |
} |
3491 |
public void test0575() { |
3492 |
String name = "DoubleExpression"; |
3493 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3494 |
assertEquals("Unexpected regions length", 2, regions.length); |
3495 |
assertEquals("Unexpected matching regions", "Double[Expression]", printRegions(name, regions)); |
3496 |
} |
3497 |
public void test0576() { |
3498 |
String name = "LessExpression"; |
3499 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3500 |
assertEquals("Unexpected regions length", 2, regions.length); |
3501 |
assertEquals("Unexpected matching regions", "Less[Expression]", printRegions(name, regions)); |
3502 |
} |
3503 |
public void test0577() { |
3504 |
String name = "LessOrEqualExpression"; |
3505 |
int[] regions = SearchPattern.getMatchingRegions("*expression*", name, SearchPattern.R_PATTERN_MATCH); |
3506 |
assertEquals("Unexpected regions length", 2, regions.length); |
3507 |
assertEquals("Unexpected matching regions", "LessOrEqual[Expression]", printRegions(name, regions)); |
3508 |
} |
3509 |
public void test0578() { |
3510 |
String name = "InvocationTargetException"; |
3511 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3512 |
assertEquals("Unexpected regions length", 2, regions.length); |
3513 |
assertEquals("Unexpected matching regions", "InvocationTarget[Exception]", printRegions(name, regions)); |
3514 |
} |
3515 |
public void test0579() { |
3516 |
String name = "IncompleteAnnotationException"; |
3517 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3518 |
assertEquals("Unexpected regions length", 2, regions.length); |
3519 |
assertEquals("Unexpected matching regions", "IncompleteAnnotation[Exception]", printRegions(name, regions)); |
3520 |
} |
3521 |
public void test0580() { |
3522 |
String name = "InvalidAlgorithmParameterException"; |
3523 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3524 |
assertEquals("Unexpected regions length", 2, regions.length); |
3525 |
assertEquals("Unexpected matching regions", "InvalidAlgorithmParameter[Exception]", printRegions(name, regions)); |
3526 |
} |
3527 |
public void test0581() { |
3528 |
String name = "InvalidKeyException"; |
3529 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3530 |
assertEquals("Unexpected regions length", 2, regions.length); |
3531 |
assertEquals("Unexpected matching regions", "InvalidKey[Exception]", printRegions(name, regions)); |
3532 |
} |
3533 |
public void test0582() { |
3534 |
String name = "InvalidParameterException"; |
3535 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3536 |
assertEquals("Unexpected regions length", 2, regions.length); |
3537 |
assertEquals("Unexpected matching regions", "InvalidParameter[Exception]", printRegions(name, regions)); |
3538 |
} |
3539 |
public void test0583() { |
3540 |
String name = "IllegalFormatCodePointException"; |
3541 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3542 |
assertEquals("Unexpected regions length", 2, regions.length); |
3543 |
assertEquals("Unexpected matching regions", "IllegalFormatCodePoint[Exception]", printRegions(name, regions)); |
3544 |
} |
3545 |
public void test0584() { |
3546 |
String name = "IllegalFormatConversionException"; |
3547 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3548 |
assertEquals("Unexpected regions length", 2, regions.length); |
3549 |
assertEquals("Unexpected matching regions", "IllegalFormatConversion[Exception]", printRegions(name, regions)); |
3550 |
} |
3551 |
public void test0585() { |
3552 |
String name = "IllegalFormatException"; |
3553 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3554 |
assertEquals("Unexpected regions length", 2, regions.length); |
3555 |
assertEquals("Unexpected matching regions", "IllegalFormat[Exception]", printRegions(name, regions)); |
3556 |
} |
3557 |
public void test0586() { |
3558 |
String name = "IllegalFormatFlagsException"; |
3559 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3560 |
assertEquals("Unexpected regions length", 2, regions.length); |
3561 |
assertEquals("Unexpected matching regions", "IllegalFormatFlags[Exception]", printRegions(name, regions)); |
3562 |
} |
3563 |
public void test0587() { |
3564 |
String name = "IllegalFormatPrecisionException"; |
3565 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3566 |
assertEquals("Unexpected regions length", 2, regions.length); |
3567 |
assertEquals("Unexpected matching regions", "IllegalFormatPrecision[Exception]", printRegions(name, regions)); |
3568 |
} |
3569 |
public void test0588() { |
3570 |
String name = "IllegalFormatWidthException"; |
3571 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3572 |
assertEquals("Unexpected regions length", 2, regions.length); |
3573 |
assertEquals("Unexpected matching regions", "IllegalFormatWidth[Exception]", printRegions(name, regions)); |
3574 |
} |
3575 |
public void test0589() { |
3576 |
String name = "InputMismatchException"; |
3577 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3578 |
assertEquals("Unexpected regions length", 2, regions.length); |
3579 |
assertEquals("Unexpected matching regions", "InputMismatch[Exception]", printRegions(name, regions)); |
3580 |
} |
3581 |
public void test0590() { |
3582 |
String name = "InvalidPropertiesFormatException"; |
3583 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3584 |
assertEquals("Unexpected regions length", 2, regions.length); |
3585 |
assertEquals("Unexpected matching regions", "InvalidPropertiesFormat[Exception]", printRegions(name, regions)); |
3586 |
} |
3587 |
public void test0591() { |
3588 |
String name = "InvalidMarkException"; |
3589 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3590 |
assertEquals("Unexpected regions length", 2, regions.length); |
3591 |
assertEquals("Unexpected matching regions", "InvalidMark[Exception]", printRegions(name, regions)); |
3592 |
} |
3593 |
public void test0592() { |
3594 |
String name = "IllegalBlockingModeException"; |
3595 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3596 |
assertEquals("Unexpected regions length", 2, regions.length); |
3597 |
assertEquals("Unexpected matching regions", "IllegalBlockingMode[Exception]", printRegions(name, regions)); |
3598 |
} |
3599 |
public void test0593() { |
3600 |
String name = "IllegalSelectorException"; |
3601 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3602 |
assertEquals("Unexpected regions length", 2, regions.length); |
3603 |
assertEquals("Unexpected matching regions", "IllegalSelector[Exception]", printRegions(name, regions)); |
3604 |
} |
3605 |
public void test0594() { |
3606 |
String name = "IllegalCharsetNameException"; |
3607 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3608 |
assertEquals("Unexpected regions length", 2, regions.length); |
3609 |
assertEquals("Unexpected matching regions", "IllegalCharsetName[Exception]", printRegions(name, regions)); |
3610 |
} |
3611 |
public void test0595() { |
3612 |
String name = "IOException"; |
3613 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3614 |
assertEquals("Unexpected regions length", 2, regions.length); |
3615 |
assertEquals("Unexpected matching regions", "IO[Exception]", printRegions(name, regions)); |
3616 |
} |
3617 |
public void test0596() { |
3618 |
String name = "InterruptedIOException"; |
3619 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3620 |
assertEquals("Unexpected regions length", 2, regions.length); |
3621 |
assertEquals("Unexpected matching regions", "InterruptedIO[Exception]", printRegions(name, regions)); |
3622 |
} |
3623 |
public void test0597() { |
3624 |
String name = "InvalidClassException"; |
3625 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3626 |
assertEquals("Unexpected regions length", 2, regions.length); |
3627 |
assertEquals("Unexpected matching regions", "InvalidClass[Exception]", printRegions(name, regions)); |
3628 |
} |
3629 |
public void test0598() { |
3630 |
String name = "InvalidObjectException"; |
3631 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3632 |
assertEquals("Unexpected regions length", 2, regions.length); |
3633 |
assertEquals("Unexpected matching regions", "InvalidObject[Exception]", printRegions(name, regions)); |
3634 |
} |
3635 |
public void test0599() { |
3636 |
String name = "InvalidKeySpecException"; |
3637 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3638 |
assertEquals("Unexpected regions length", 2, regions.length); |
3639 |
assertEquals("Unexpected matching regions", "InvalidKeySpec[Exception]", printRegions(name, regions)); |
3640 |
} |
3641 |
public void test0600() { |
3642 |
String name = "InvalidParameterSpecException"; |
3643 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3644 |
assertEquals("Unexpected regions length", 2, regions.length); |
3645 |
assertEquals("Unexpected matching regions", "InvalidParameterSpec[Exception]", printRegions(name, regions)); |
3646 |
} |
3647 |
public void test0601() { |
3648 |
String name = "IllegalThreadStateException"; |
3649 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3650 |
assertEquals("Unexpected regions length", 2, regions.length); |
3651 |
assertEquals("Unexpected matching regions", "IllegalThreadState[Exception]", printRegions(name, regions)); |
3652 |
} |
3653 |
public void test0602() { |
3654 |
String name = "InstantiationException"; |
3655 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3656 |
assertEquals("Unexpected regions length", 2, regions.length); |
3657 |
assertEquals("Unexpected matching regions", "Instantiation[Exception]", printRegions(name, regions)); |
3658 |
} |
3659 |
public void test0603() { |
3660 |
String name = "IncompatibleClassChangeError"; |
3661 |
int[] regions = SearchPattern.getMatchingRegions("*error*", name, SearchPattern.R_PATTERN_MATCH); |
3662 |
assertEquals("Unexpected regions length", 2, regions.length); |
3663 |
assertEquals("Unexpected matching regions", "IncompatibleClassChange[Error]", printRegions(name, regions)); |
3664 |
} |
3665 |
public void test0604() { |
3666 |
String name = "IndexOutOfBoundsException"; |
3667 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3668 |
assertEquals("Unexpected regions length", 2, regions.length); |
3669 |
assertEquals("Unexpected matching regions", "IndexOutOfBounds[Exception]", printRegions(name, regions)); |
3670 |
} |
3671 |
public void test0605() { |
3672 |
String name = "IllegalStateException"; |
3673 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3674 |
assertEquals("Unexpected regions length", 2, regions.length); |
3675 |
assertEquals("Unexpected matching regions", "IllegalState[Exception]", printRegions(name, regions)); |
3676 |
} |
3677 |
public void test0606() { |
3678 |
String name = "InternalError"; |
3679 |
int[] regions = SearchPattern.getMatchingRegions("*error*", name, SearchPattern.R_PATTERN_MATCH); |
3680 |
assertEquals("Unexpected regions length", 2, regions.length); |
3681 |
assertEquals("Unexpected matching regions", "Internal[Error]", printRegions(name, regions)); |
3682 |
} |
3683 |
public void test0607() { |
3684 |
String name = "IllegalAccessError"; |
3685 |
int[] regions = SearchPattern.getMatchingRegions("*error*", name, SearchPattern.R_PATTERN_MATCH); |
3686 |
assertEquals("Unexpected regions length", 2, regions.length); |
3687 |
assertEquals("Unexpected matching regions", "IllegalAccess[Error]", printRegions(name, regions)); |
3688 |
} |
3689 |
public void test0608() { |
3690 |
String name = "InstantiationError"; |
3691 |
int[] regions = SearchPattern.getMatchingRegions("*error*", name, SearchPattern.R_PATTERN_MATCH); |
3692 |
assertEquals("Unexpected regions length", 2, regions.length); |
3693 |
assertEquals("Unexpected matching regions", "Instantiation[Error]", printRegions(name, regions)); |
3694 |
} |
3695 |
public void test0609() { |
3696 |
String name = "IllegalAccessException"; |
3697 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3698 |
assertEquals("Unexpected regions length", 2, regions.length); |
3699 |
assertEquals("Unexpected matching regions", "IllegalAccess[Exception]", printRegions(name, regions)); |
3700 |
} |
3701 |
public void test0610() { |
3702 |
String name = "IllegalArgumentException"; |
3703 |
int[] regions = SearchPattern.getMatchingRegions("*exception*", name, SearchPattern.R_PATTERN_MATCH); |
3704 |
assertEquals("Unexpected regions length", 2, regions.length); |
3705 |
assertEquals("Unexpected matching regions", "IllegalArgument[Exception]", printRegions(name, regions)); |
3706 |
} |
3707 |
public void test0611() { |
3708 |
String name = "long"; |
3709 |
int[] regions = SearchPattern.getMatchingRegions("long", name, SearchPattern.R_PATTERN_MATCH); |
3710 |
assertEquals("Unexpected regions length", 2, regions.length); |
3711 |
assertEquals("Unexpected matching regions", "[long]", printRegions(name, regions)); |
3712 |
} |
3713 |
public void test0612() { |
3714 |
String name = "double"; |
3715 |
int[] regions = SearchPattern.getMatchingRegions("double", name, SearchPattern.R_PATTERN_MATCH); |
3716 |
assertEquals("Unexpected regions length", 2, regions.length); |
3717 |
assertEquals("Unexpected matching regions", "[double]", printRegions(name, regions)); |
3718 |
} |
3719 |
public void test0613() { |
3720 |
String name = "method2/1"; |
3721 |
int[] regions = SearchPattern.getMatchingRegions("method2/1", name, SearchPattern.R_PATTERN_MATCH); |
3722 |
assertEquals("Unexpected regions length", 2, regions.length); |
3723 |
assertEquals("Unexpected matching regions", "[method2/1]", printRegions(name, regions)); |
3724 |
} |
3725 |
public void test0614() { |
3726 |
String name = "method2"; |
3727 |
int[] regions = SearchPattern.getMatchingRegions("method2", name, SearchPattern.R_PATTERN_MATCH); |
3728 |
assertEquals("Unexpected regions length", 2, regions.length); |
3729 |
assertEquals("Unexpected matching regions", "[method2]", printRegions(name, regions)); |
3730 |
} |
3731 |
public void test0615() { |
3732 |
String name = "k/1"; |
3733 |
int[] regions = SearchPattern.getMatchingRegions("k/1", name, SearchPattern.R_PATTERN_MATCH); |
3734 |
assertEquals("Unexpected regions length", 2, regions.length); |
3735 |
assertEquals("Unexpected matching regions", "[k/1]", printRegions(name, regions)); |
3736 |
} |
3737 |
public void test0616() { |
3738 |
String name = "k"; |
3739 |
int[] regions = SearchPattern.getMatchingRegions("k", name, SearchPattern.R_PATTERN_MATCH); |
3740 |
assertEquals("Unexpected regions length", 2, regions.length); |
3741 |
assertEquals("Unexpected matching regions", "[k]", printRegions(name, regions)); |
3742 |
} |
3743 |
public void test0617() { |
3744 |
String name = "i"; |
3745 |
int[] regions = SearchPattern.getMatchingRegions("i", name, SearchPattern.R_PATTERN_MATCH); |
3746 |
assertEquals("Unexpected regions length", 2, regions.length); |
3747 |
assertEquals("Unexpected matching regions", "[i]", printRegions(name, regions)); |
3748 |
} |
3749 |
public void test0618() { |
3750 |
String name = "int"; |
3751 |
int[] regions = SearchPattern.getMatchingRegions("*int", name, SearchPattern.R_PATTERN_MATCH); |
3752 |
assertEquals("Unexpected regions length", 2, regions.length); |
3753 |
assertEquals("Unexpected matching regions", "[int]", printRegions(name, regions)); |
3754 |
} |
3755 |
} |