Lines 2370-2373
Link Here
|
2370 |
<!-- End of generics tests --> |
2370 |
<!-- End of generics tests --> |
2371 |
<!-- ============================================================== --> |
2371 |
<!-- ============================================================== --> |
2372 |
|
2372 |
|
|
|
2373 |
<ajc-test dir="bugs150/pr98901" title="public ITD method with no annotation that has declare @method annotation on it"> |
2374 |
<compile files="Case1.aj" options="-1.5 -Xlint:warning"> |
2375 |
<message kind="warning" line="14" text="advice defined in B1 has not been applied [Xlint:adviceDidNotMatch]"/> |
2376 |
</compile> |
2377 |
<run class="B1"> |
2378 |
<stdout> |
2379 |
<line text="@anInterface()"/> |
2380 |
</stdout> |
2381 |
</run> |
2382 |
</ajc-test> |
2383 |
|
2384 |
<ajc-test dir="bugs150/pr98901" title="public ITD field with annotation on it"> |
2385 |
<compile files="Case2.aj" options="-1.5 -Xlint:error"> |
2386 |
</compile> |
2387 |
<run class="B2"> |
2388 |
<stdout> |
2389 |
<line text="@anInterface()"/> |
2390 |
<line text="========"/> |
2391 |
<line text="@anInterface()"/> |
2392 |
<line text="========"/> |
2393 |
</stdout> |
2394 |
</run> |
2395 |
</ajc-test> |
2396 |
|
2397 |
<ajc-test dir="bugs150/pr98901" title="public ITD field with no annotation that has declare @field annotation on it"> |
2398 |
<compile files="Case3.aj" options="-1.5 -Xlint:error"> |
2399 |
</compile> |
2400 |
<run class="B3"> |
2401 |
<stdout> |
2402 |
<line text="@anInterface()"/> |
2403 |
</stdout> |
2404 |
</run> |
2405 |
</ajc-test> |
2406 |
|
2407 |
<ajc-test dir="bugs150/pr98901" title="public ITD method with annotation on it which is made onto an interface"> |
2408 |
<compile files="Case4.aj" options="-1.5 -Xlint:error"> |
2409 |
</compile> |
2410 |
<run class="B4"> |
2411 |
<stdout> |
2412 |
<line text="@anInterface()"/> |
2413 |
</stdout> |
2414 |
</run> |
2415 |
</ajc-test> |
2416 |
|
2417 |
<ajc-test dir="bugs150/pr98901" title="public abstract ITD method with annotations on it"> |
2418 |
<compile files="Case5.aj" options="-1.5 -Xlint:error"> |
2419 |
</compile> |
2420 |
<run class="B5"> |
2421 |
<stdout> |
2422 |
<line text="@anInterface()"/> |
2423 |
</stdout> |
2424 |
</run> |
2425 |
</ajc-test> |
2426 |
|
2373 |
</suite> |
2427 |
</suite> |