summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracolyer <acolyer>2003-02-26 22:07:51 +0000
committeracolyer <acolyer>2003-02-26 22:07:51 +0000
commitc9d750f2f4e8302e58c9319619be4879a9e05d18 (patch)
treeddfdc994ec8b2856ede7c2930f643c93a3959c28
parent2eb753a83ebccdf88026e6003ecff1f73e022700 (diff)
downloadaspectj-c9d750f2f4e8302e58c9319619be4879a9e05d18.tar.gz
aspectj-c9d750f2f4e8302e58c9319619be4879a9e05d18.zip
Flipped debug options tests around to reflect fact that
batch build now generates debug info by default
-rw-r--r--ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java16
1 files 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,