diff options
author | avasseur <avasseur> | 2005-04-28 09:05:44 +0000 |
---|---|---|
committer | avasseur <avasseur> | 2005-04-28 09:05:44 +0000 |
commit | fd380fe072d2444995109658c38b1ecae390f900 (patch) | |
tree | 6dbb0ccec776447df8913b4f57ef8ef6523c1d9e /testing | |
parent | d8bfe7324600e51511051a9db49a2ad7e4e9d7a7 (diff) | |
download | aspectj-fd380fe072d2444995109658c38b1ecae390f900.tar.gz aspectj-fd380fe072d2444995109658c38b1ecae390f900.zip |
inlining of around for @AJ works unless non public member accessed from within the advice
splitted ajc150 xml test file
Diffstat (limited to 'testing')
-rw-r--r-- | testing/newsrc/org/aspectj/testing/AutowiredXMLBasedAjcTestCase.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/newsrc/org/aspectj/testing/AutowiredXMLBasedAjcTestCase.java b/testing/newsrc/org/aspectj/testing/AutowiredXMLBasedAjcTestCase.java index f77e289d7..02adcd515 100644 --- a/testing/newsrc/org/aspectj/testing/AutowiredXMLBasedAjcTestCase.java +++ b/testing/newsrc/org/aspectj/testing/AutowiredXMLBasedAjcTestCase.java @@ -135,5 +135,20 @@ public abstract class AutowiredXMLBasedAjcTestCase extends XMLBasedAjcTestCase { super.setUp(); } + /** + * This helper method runs the test with the given title in the + * suite spec file. All tests steps in given ajc-test execute + * in the same sandbox. + */ + protected void runTest(String title) { + AjcTest currentTest = (AjcTest) testMap.get(title); + if (currentTest == null) { + fail("No test '" + title + "' in suite."); + } + ajc.setShouldEmptySandbox(true); + currentTest.runTest(this); + } + + } |