aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/org/aspectj/systemtest/ajc165/Ajc165Tests.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/org/aspectj/systemtest/ajc165/Ajc165Tests.java')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc165/Ajc165Tests.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc165/Ajc165Tests.java b/tests/src/org/aspectj/systemtest/ajc165/Ajc165Tests.java
index 441e0b4e6..196e07ca1 100644
--- a/tests/src/org/aspectj/systemtest/ajc165/Ajc165Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc165/Ajc165Tests.java
@@ -13,11 +13,12 @@ package org.aspectj.systemtest.ajc165;
import java.io.File;
import java.util.List;
-import junit.framework.Test;
-
+import org.aspectj.bridge.IMessage;
import org.aspectj.testing.XMLBasedAjcTestCase;
import org.aspectj.weaver.LintMessage;
+import junit.framework.Test;
+
public class Ajc165Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
// fix is too disruptive for 1.6.5
@@ -82,7 +83,7 @@ public class Ajc165Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
public void testAnnotationStyle_pr265356() {
runTest("annotation style message positions");
- List ms = ajc.getLastCompilationResult().getWarningMessages();
+ List<IMessage> ms = ajc.getLastCompilationResult().getWarningMessages();
boolean checked = true;
// Look for the message relating to 'List' and check the offsets
for (int i = 0; i < ms.size(); i++) {
@@ -115,6 +116,7 @@ public class Ajc165Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
return XMLBasedAjcTestCase.loadSuite(Ajc165Tests.class);
}
+ @Override
protected File getSpecFile() {
return getClassResource("ajc165.xml");
}