]> source.dussan.org Git - aspectj.git/commitdiff
Flipped debug options tests around to reflect fact that
authoracolyer <acolyer>
Wed, 26 Feb 2003 22:07:51 +0000 (22:07 +0000)
committeracolyer <acolyer>
Wed, 26 Feb 2003 22:07:51 +0000 (22:07 +0000)
batch build now generates debug info by default

ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java

index 0f50444ddb17ef2febb0689465f9f85c73f80e99..4c00ebf2a74c794409b5801f293a58cc88ef1102 100644 (file)
@@ -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,