Browse Source

1.7 sanity test

tags/V1_7_0RC1
aclement 12 years ago
parent
commit
40fcaa1e19

+ 14
- 0
tests/bugs170/sanity/DeclareAtType.java View File

package foo;

@interface MyAnnotation {
}

public aspect DeclareAtType {

declare @type : C : @MyAnnotation;
}

class C {
}

+ 4
- 0
tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java View File

*/ */
public class Ajc170Tests extends org.aspectj.testing.XMLBasedAjcTestCase { public class Ajc170Tests extends org.aspectj.testing.XMLBasedAjcTestCase {


public void testSanity1() {
runTest("sanity 1");
}
public void testMissingImpl_363979() { public void testMissingImpl_363979() {
runTest("missing impl"); runTest("missing impl");
} }

+ 5
- 0
tests/src/org/aspectj/systemtest/ajc170/ajc170.xml View File



<suite> <suite>


<ajc-test dir="bugs170/sanity" title="sanity 1">
<compile files="DeclareAtType.java" options="-1.5">
</compile>
</ajc-test>
<ajc-test dir="bugs170/pr363979" title="missing impl"> <ajc-test dir="bugs170/pr363979" title="missing impl">
<compile files="Example.java" options="-1.5"/> <compile files="Example.java" options="-1.5"/>
<run class="Example"> <run class="Example">

Loading…
Cancel
Save