aboutsummaryrefslogtreecommitdiffstats
path: root/tests/harness
diff options
context:
space:
mode:
authorwisberg <wisberg>2004-03-08 19:13:55 +0000
committerwisberg <wisberg>2004-03-08 19:13:55 +0000
commit5d0a49d51e5a469ca09c61bef75b824415fe83d5 (patch)
treee031b1cbd141e92dcb2f54bba817685c166902d4 /tests/harness
parent92d0049be5785ab552e40ffc6a07fa5568fc18b4 (diff)
downloadaspectj-5d0a49d51e5a469ca09c61bef75b824415fe83d5.tar.gz
aspectj-5d0a49d51e5a469ca09c61bef75b824415fe83d5.zip
-xlintfile option support in the harness, and tests
Diffstat (limited to 'tests/harness')
-rw-r--r--tests/harness/xlintfile/TypeNotExposed.java8
-rw-r--r--tests/harness/xlintfile/tneError.properties7
-rw-r--r--tests/harness/xlintfile/tneIgnore.properties7
3 files changed, 22 insertions, 0 deletions
diff --git a/tests/harness/xlintfile/TypeNotExposed.java b/tests/harness/xlintfile/TypeNotExposed.java
new file mode 100644
index 000000000..318c19281
--- /dev/null
+++ b/tests/harness/xlintfile/TypeNotExposed.java
@@ -0,0 +1,8 @@
+
+
+public aspect TypeNotExposed {
+ public void Object.doRun() { // 4 typeNotExposedToWeaver
+ }
+}
+
+
diff --git a/tests/harness/xlintfile/tneError.properties b/tests/harness/xlintfile/tneError.properties
new file mode 100644
index 000000000..682f2ade9
--- /dev/null
+++ b/tests/harness/xlintfile/tneError.properties
@@ -0,0 +1,7 @@
+invalidAbsoluteTypeName = ignore
+invalidWildcardTypeName = ignore
+unresolvableMember = ignore
+typeNotExposedToWeaver = error
+shadowNotInStructure = ignore
+unmatchedSuperTypeInCall = ignore
+canNotImplementLazyTjp = ignore \ No newline at end of file
diff --git a/tests/harness/xlintfile/tneIgnore.properties b/tests/harness/xlintfile/tneIgnore.properties
new file mode 100644
index 000000000..ebb03b016
--- /dev/null
+++ b/tests/harness/xlintfile/tneIgnore.properties
@@ -0,0 +1,7 @@
+invalidAbsoluteTypeName = ignore
+invalidWildcardTypeName = ignore
+unresolvableMember = ignore
+typeNotExposedToWeaver = ignore
+shadowNotInStructure = ignore
+unmatchedSuperTypeInCall = ignore
+canNotImplementLazyTjp = ignore \ No newline at end of file