diff options
author | aclement <aclement> | 2008-07-17 20:07:59 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-07-17 20:07:59 +0000 |
commit | eeb2e60d0777af6cbcbc92efe467acaa1c12f123 (patch) | |
tree | 5dbb40a5f1cceb17afa95681b32b20e1fe6d9148 /org.aspectj.ajdt.core/testsrc | |
parent | 349acc6542f0c2e586ce0e6ac9cfb906844d08d6 (diff) | |
download | aspectj-eeb2e60d0777af6cbcbc92efe467acaa1c12f123.tar.gz aspectj-eeb2e60d0777af6cbcbc92efe467acaa1c12f123.zip |
240360 - test and fix for -proceedOnError and weaving in the face of broken source
Diffstat (limited to 'org.aspectj.ajdt.core/testsrc')
-rw-r--r-- | org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/ProceedOnErrorTestCase.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/ProceedOnErrorTestCase.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/ProceedOnErrorTestCase.java index 4caa987bd..5e353cc3c 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/ProceedOnErrorTestCase.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/ProceedOnErrorTestCase.java @@ -31,8 +31,8 @@ public class ProceedOnErrorTestCase extends CommandTestCase { * C2.java. */ public void testNoProceedOnError() throws IOException { - try { - AjBuildManager.continueWhenErrors=false; +// try { +// AjBuildManager.continueWhenErrors=false; checkCompile("src1/C1.java", NO_ERRORS); File f =new File(getSandboxName(),"C.class"); long oldmodtime = f.lastModified(); @@ -44,9 +44,9 @@ public class ProceedOnErrorTestCase extends CommandTestCase { assertTrue("The .class file should not have been modified as '-proceedOnError' was not supplied (old="+ new Date(oldmodtime).toString()+")(new="+new Date(newmodtime).toString()+")", oldmodtime==newmodtime); - } finally { - AjBuildManager.continueWhenErrors=true; - } +// } finally { +// AjBuildManager.continueWhenErrors=true; +// } } public void testProceedOnError() throws IOException { |