aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorhsestupin <stupin.sergey@gmail.com>2014-07-01 12:13:30 +0400
committerhsestupin <stupin.sergey@gmail.com>2014-08-01 20:25:23 +0300
commit9f791a0f70cbc4833b5f48937598334860ea407a (patch)
tree3eb4a6673d200e98aaf199376340f955cb936856 /testing
parenta7f617d3d69822f6383d9ab18561b22b69436000 (diff)
downloadaspectj-9f791a0f70cbc4833b5f48937598334860ea407a.tar.gz
aspectj-9f791a0f70cbc4833b5f48937598334860ea407a.zip
add apt tests
Signed-off-by: hsestupin <stupin.sergey@gmail.com>
Diffstat (limited to 'testing')
-rw-r--r--testing/newsrc/org/aspectj/testing/XMLBasedAjcTestCase.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/newsrc/org/aspectj/testing/XMLBasedAjcTestCase.java b/testing/newsrc/org/aspectj/testing/XMLBasedAjcTestCase.java
index 30e6dd55f..652839a5b 100644
--- a/testing/newsrc/org/aspectj/testing/XMLBasedAjcTestCase.java
+++ b/testing/newsrc/org/aspectj/testing/XMLBasedAjcTestCase.java
@@ -429,5 +429,9 @@ public abstract class XMLBasedAjcTestCase extends AjcTestCase {
return null;
}
+ protected File getClassResource(String resourceName) {
+ return new File(getClass().getResource(resourceName).getFile());
+ }
+
}