From: acolyer Date: Wed, 26 Feb 2003 22:07:51 +0000 (+0000) Subject: Flipped debug options tests around to reflect fact that X-Git-Tag: V_1_1_b5~21 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c9d750f2f4e8302e58c9319619be4879a9e05d18;p=aspectj.git Flipped debug options tests around to reflect fact that batch build now generates debug info by default --- diff --git a/ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java b/ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java index 0f50444dd..4c00ebf2a 100644 --- a/ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java +++ b/ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java @@ -254,15 +254,15 @@ public class BuildConfigurationTests extends AjdeTestCase { assertOptionEquals( "debug source", options, CompilerOptions.OPTION_SourceFileAttribute, - CompilerOptions.DO_NOT_GENERATE); + CompilerOptions.GENERATE); assertOptionEquals( "debug lines", options, CompilerOptions.OPTION_LineNumberAttribute, - CompilerOptions.DO_NOT_GENERATE); + CompilerOptions.GENERATE); assertOptionEquals( "debug vars", options, CompilerOptions.OPTION_LocalVariableAttribute, - CompilerOptions.DO_NOT_GENERATE); + CompilerOptions.GENERATE); } public void testEmptyDebugOptions() { @@ -270,19 +270,19 @@ public class BuildConfigurationTests extends AjdeTestCase { buildConfig = compilerAdapter.genBuildConfig( configFile ); Map options = buildConfig.getJavaOptions(); - // this should leave us with the debug off + // this should leave us with the debug on assertOptionEquals( "debug source", options, CompilerOptions.OPTION_SourceFileAttribute, - CompilerOptions.DO_NOT_GENERATE); + CompilerOptions.GENERATE); assertOptionEquals( "debug lines", options, CompilerOptions.OPTION_LineNumberAttribute, - CompilerOptions.DO_NOT_GENERATE); + CompilerOptions.GENERATE); assertOptionEquals( "debug vars", options, CompilerOptions.OPTION_LocalVariableAttribute, - CompilerOptions.DO_NOT_GENERATE); + CompilerOptions.GENERATE); } public void testDebugAll() { @@ -324,7 +324,7 @@ public class BuildConfigurationTests extends AjdeTestCase { assertOptionEquals( "debug lines", options, CompilerOptions.OPTION_LineNumberAttribute, - CompilerOptions.DO_NOT_GENERATE); + CompilerOptions.GENERATE); assertOptionEquals( "debug vars", options, CompilerOptions.OPTION_LocalVariableAttribute,