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

@@ -0,0 +1,14 @@
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

@@ -21,6 +21,10 @@ import org.aspectj.testing.XMLBasedAjcTestCase;
*/
public class Ajc170Tests extends org.aspectj.testing.XMLBasedAjcTestCase {

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

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

@@ -2,6 +2,11 @@

<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">
<compile files="Example.java" options="-1.5"/>
<run class="Example">

Loading…
Cancel
Save