aboutsummaryrefslogtreecommitdiffstats
path: root/ajde/testsrc
diff options
context:
space:
mode:
Diffstat (limited to 'ajde/testsrc')
-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);