wisberg [Sun, 25 May 2003 19:27:45 +0000 (19:27 +0000)]
Fix for failure building with useEclipseCompiles testing-drivers initially (or any module that only indirectly depended on jdt.core, which has no sources)
- better logging
- checking zip results - returns false positive for empty zips
- compile(..) API change for adopting classes
Also, copyright clearly wrong - file created last fall.
wisberg [Sun, 25 May 2003 19:26:55 +0000 (19:26 +0000)]
Fix for failure building with useEclipseCompiles testing-drivers initially (or any module that only indirectly depended on jdt.core, which has no sources)
- better logging
- checking zip results - returns false positive for empty zips
- compile(..) API change for adopting classes
wisberg [Sun, 25 May 2003 19:23:41 +0000 (19:23 +0000)]
fixing 2 bugs disclosed by running ajcTests.xml with -ajctaskCompiler: (1) compliance set incorrectly (-1.3 instead of 1.4) and (2) warn:... form was ignored.
These would break only when running from a Javac compiler adapter and using <compilerarg>
wisberg [Sun, 25 May 2003 13:42:08 +0000 (13:42 +0000)]
fixing 2 bugs disclosed by running ajcTests.xml with -ajctaskCompiler: (1) compliance set incorrectly (-1.3 instead of 1.4) and (2) warn:... form was ignored.
These would break only when running from a Javac compiler adapter and using <compilerarg>
wisberg [Sun, 25 May 2003 00:43:14 +0000 (00:43 +0000)]
adding harness feature to select tests based on their title (description), reading from a comma-delimited list or a file containing PASS|FAIL lines (from -traceTestsMin), optionally restricted to FAIL.
wisberg [Sat, 24 May 2003 11:12:42 +0000 (11:12 +0000)]
To support the new testing ICommand wrapper for AjcTask, permit ant.jar in a testing module (ant is omitted from non-testing modules because it is normally deployed separately in ant/lib/ant.jar).
This does not affect regular module or product builds.
wisberg [Sat, 24 May 2003 09:21:32 +0000 (09:21 +0000)]
updated implementation for -ajdeCompiler.
replaced reference to null ide properties adapter (defined only in testsrc)
and created logging proxy to verify API's used.
Unfortunately also formatted code, so it looks like there are more changes than there are.
wisberg [Sat, 24 May 2003 09:16:42 +0000 (09:16 +0000)]
updates mainly to support maven but also to support new ICommand wrapper for AjcTask:
- findToolsJar now accepts versioned jars
- supporting a forkclasspath to permit user to explicitly set
- upgrades for testing
- so multiple iterations work,
- not altering cmd in execute()
- only fixing up outjar once
- reset() complete
- so incremental compile tests work,
- passing quit through to main
- when forking on windows, use javaw rather than java
if possible to avoid popping up a console window
wisberg [Wed, 14 May 2003 05:35:38 +0000 (05:35 +0000)]
defensively supplying ISourceLocation.NO_FILE when there is no file in the result.
This is needed for file-based message matching to not fail when no file is specified,
and might provide a more sensible error message if the file is used.
This only replaces a NPE or invalid (empty) filename strings.
wisberg [Wed, 14 May 2003 05:17:49 +0000 (05:17 +0000)]
- now supports both eclipse bin dirs (default)
and ant-built test jars
- added incomplete test-all-at-once
(currently runs each from its module directory)
wisberg [Wed, 14 May 2003 05:08:45 +0000 (05:08 +0000)]
- new data (IMessageHolder rather than lists), same algorithms
- using medium-strenght message comparison that includes soft
comparison of file and text
- unexpected info messages not marked as error
- expected FAIL+ messages suppressed to avoid false negative
wisberg [Wed, 14 May 2003 05:06:47 +0000 (05:06 +0000)]
- enforcing -incremental => staging
- permitting bad input using badInput="true"
(though still checking during staging)
- permitting -XserializableAspects
- supporting new AjcMessageHandler interfaces
- supporting parent badInput in XML
wisberg [Wed, 14 May 2003 03:13:28 +0000 (03:13 +0000)]
No functionality change.
This just makes explicit that the browser reads user preferences
rather than relying on the default value supplied by the default constructor.
wisberg [Fri, 9 May 2003 22:52:28 +0000 (22:52 +0000)]
Another strange incremental test, taken from ajcHarnessTests
and comparable with a known limitation case for injars,
this sometimes doesn't fail for me. hmm.
(requires pending changes to sources)
jhugunin [Fri, 9 May 2003 17:31:49 +0000 (17:31 +0000)]
fix to use cache for isPackage method (as indicated by previous !!! comment)
this fixes the two failing incremental test cases just added by Wes and now
moved to ajcTests as passing
wisberg [Fri, 9 May 2003 07:24:29 +0000 (07:24 +0000)]
Backing out the change I made to add the output directory to the classpath.
This is wrong because we should resolve types wrt the cached classes in the weaver.
But if this change were left in, the test cases just added to ajcTestsFailing.xml pass.
wisberg [Fri, 9 May 2003 07:14:19 +0000 (07:14 +0000)]
Fixing Harness bug of adding the output directory to the classpath, which conceals a bug in the incremental compilation.
This change should have no effect on other tests, but I noticed two other failures during normal compiles caused by inability to resolve type names.