Force the user of AstAccessControl to write at least one test violating restriction, implement such tests for existing tests

This is needed because the slightest change in the test setup can make the check useless without the client knowing
The solution is ugly but gives at least some protection against this
This commit is contained in:
Pavel V. Talanov
2014-04-22 17:58:54 +04:00
parent 071553c66b
commit b3898cfb0d
7 changed files with 100 additions and 17 deletions

View File

@@ -1,4 +1,3 @@
// ALLOW_AST_ACCESS
package test
public class ClassWithConstVal() : java.lang.Object() {