summaryrefslogtreecommitdiffstats
path: root/ajde
diff options
context:
space:
mode:
authoraclement <aclement>2005-10-25 12:40:39 +0000
committeraclement <aclement>2005-10-25 12:40:39 +0000
commitcc6862f2b54c3333d645a0efb28f5366b0a2bcc3 (patch)
treeda88e96ffb3711ebc35f96c65bdf4448f245a034 /ajde
parente638a272e0d7e886bdcac33d7ca9fafa69c1b278 (diff)
downloadaspectj-cc6862f2b54c3333d645a0efb28f5366b0a2bcc3.tar.gz
aspectj-cc6862f2b54c3333d645a0efb28f5366b0a2bcc3.zip
test and fix for 112615 (-XhasMember not working if passed through AJDT). Patch from Helen Hawkins.
Diffstat (limited to 'ajde')
-rw-r--r--ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java b/ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java
index 0b8c176f1..2b2abb179 100644
--- a/ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java
+++ b/ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java
@@ -487,6 +487,13 @@ public class BuildConfigurationTests extends AjdeTestCase {
assertNotNull("output jar", buildConfig.getOutputJar());
assertEquals( "out jar", outJar, buildConfig.getOutputJar().toString() );
}
+
+ public void testXHasMember() {
+ buildOptions.setNonStandardOptions("-XhasMember");
+ buildConfig = compilerAdapter.genBuildConfig( configFile );
+ assertTrue(configFile + " failed", null != buildConfig);
+ assertTrue( "XhasMember", buildConfig.isXHasMemberEnabled() );
+ }
protected void setUp() throws Exception {
preferencesAdapter = new UserPreferencesStore(false);