diff options
author | aclement <aclement> | 2005-10-25 12:40:39 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-10-25 12:40:39 +0000 |
commit | cc6862f2b54c3333d645a0efb28f5366b0a2bcc3 (patch) | |
tree | da88e96ffb3711ebc35f96c65bdf4448f245a034 /ajde | |
parent | e638a272e0d7e886bdcac33d7ca9fafa69c1b278 (diff) | |
download | aspectj-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.java | 7 |
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); |