From c9d750f2f4e8302e58c9319619be4879a9e05d18 Mon Sep 17 00:00:00 2001 From: acolyer Date: Wed, 26 Feb 2003 22:07:51 +0000 Subject: [PATCH] Flipped debug options tests around to reflect fact that batch build now generates debug info by default --- .../aspectj/ajde/BuildConfigurationTests.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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, -- 2.39.5