Browse Source

@testcase type not imported in aspect

(similar scenario to prior, but different stack trace)
tags/v1_1_0_RC1
wisberg 21 years ago
parent
commit
4b06619498
2 changed files with 14 additions and 0 deletions
  1. 7
    0
      tests/ajcTestsFailing.xml
  2. 7
    0
      tests/errors/TypeInAspectNotImportedCE.java

+ 7
- 0
tests/ajcTestsFailing.xml View File

@@ -56,4 +56,11 @@
</compile>
</ajc-test>

<ajc-test dir="errors"
title="type not imported in aspect">
<compile files="TypeInAspectNotImportedCE.java">
<message kind="error" line="6"/>
</compile>
</ajc-test>

</suite>

+ 7
- 0
tests/errors/TypeInAspectNotImportedCE.java View File

@@ -0,0 +1,7 @@

class C { void m() { } }

/** @testcase type not imported in aspect */
aspect A {
Rectangle C.bounds = null; // CE 6
}

Loading…
Cancel
Save