diff options
author | hsestupin <stupin.sergey@gmail.com> | 2014-07-01 12:13:30 +0400 |
---|---|---|
committer | hsestupin <stupin.sergey@gmail.com> | 2014-08-01 20:25:23 +0300 |
commit | 9f791a0f70cbc4833b5f48937598334860ea407a (patch) | |
tree | 3eb4a6673d200e98aaf199376340f955cb936856 /testing | |
parent | a7f617d3d69822f6383d9ab18561b22b69436000 (diff) | |
download | aspectj-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.java | 4 |
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()); + } + } |