aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new
Commit message (Collapse)AuthorAgeFilesLines
* Add Java23 supportAndrew Clement2025-03-0728-102/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The huge change with adopting Java23 is that 1.1 > 1.7 Java are now considered unsupported by Eclipse JDT, so the many thousands of tests we have that were specifying java versions lower than 1.8 were all failing with an unsupported version error. All those tests have had their versions bumped to 1.8.

That is why this commit includes so many changes. For example where we were specifying 1.5 - which was the case for many many generics/annotations tests, that is now 1.8. Also, some tests have been deleted because they make no sense now (verifying expected errors on Java 1.4 for example, errors that just can’t happen with minimum Java level 1.8). The biggest impact to tests was when bumping above 1.4 compliance suddenly there were 100s of adviceDidNotMatch messages. Some of these messages were actual indications of bad expectations in the test but many of them were just to-be-expected and were fixed either via an -Xlint:ignore option in the test spec or a SuppressAjWarnings in the test source.

One or two tests actually revealed real bugs that just didn’t surface with lower level java versions specified. A bare minimum of real Java 23 tests have been added just to get this sanity tested and committed. More would ideally be added. Other notable changes due to Eclipse JDT changes: org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/*.java Changes in here because there are now more validations on the code generator methods we were calling. Now you can’t start manipulating variables without having declared them as proper local variables, so those extra calls to define them have been added.
 org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom With needing to bump up the java versions, these classes had to be brought up to date with AST.JLS20 rather than only supporting versions 2/3. This was mostly copying patterns for the Eclipse classes.


* Remove some old files relating to AspectJ Debugger ajdbAlexander Kriegisch2024-02-012-298/+0
| | | | | | | | If ajdb ever existed and was part of the product, it must have been 20+ years ago. There are still some references to it in old release notes and unused Ant and text files, but that is OK for now. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Remove old '.cvsignore' filesAlexander Kriegisch2023-09-271-1/+0
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Upgrade license from CPLv1/EPLv1 to EPLv2Alexander Kriegisch2021-06-041-37/+37
| | | | | | | This was required by the Eclipse team as one precondition for the next release. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* update license to EPLacolyer2006-06-011-2/+2
|
* workaround for jrockit potential bug (see pr1054290acolyer2005-12-061-0/+1
|
* tests and fix for pr103157acolyer2005-11-233-3/+5
|
* tests for pr62606 - itdcs don't run field initialisers in target type. ↵acolyer2005-11-033-3/+3
| | | | Largely updates to existing tests to cope with new Lint warning.
* serialized form of ITD field mungers changed (includes aliases) - jars rebuiltaclement2005-10-203-0/+0
|
* change to itd ctor serialization - quick rebuild of jars.aclement2005-10-183-0/+0
|
* Updates for generic ITDs - see pr112105 for a description of all changes.aclement2005-10-143-0/+0
|
* change to resolvedmember serialization (to support varargs ITDs) is quite ↵aclement2005-10-073-0/+0
| | | | serious - major version number of attribute rev'd to 4 in this case.
* rebuilt post fix for pr110906: varargs ITDaclement2005-10-043-0/+0
|
* rebuilt due to attribute modifications.aclement2005-09-133-0/+0
|
* rebuilt jars because of resolvedmember serialization change to remember type ↵aclement2005-07-273-0/+0
| | | | variables.
* changed the serialized form of a WildTypePattern to remember generic info... ↵acolyer2005-07-223-0/+0
| | | | standby for mass updates of binary comparison tests.
* update to binary format as part of generics work, plus remove needless ↵acolyer2005-06-093-0/+0
| | | | duplication of tests in RunTheseBeforeYouCommitTests
* fixes for annotation type pattern bugs uncovered in 150 testsacolyer2005-03-103-0/+0
|
* All jars rebuilt with rev'd weaver version number 2.0 that we will use for ↵aclement2005-01-073-0/+0
| | | | AspectJ5 (AJ1.2.1 had version 1.0)
* updated binary formacolyer2004-12-093-0/+0
|
* updated binary formacolyer2004-12-083-0/+0
|
* Rebuilt due to type munger attribute changeaclement2004-12-073-0/+0
|
* work in progress.... annotation pointcuts, parsing, and patternsacolyer2004-12-063-0/+0
|
* BcWeaverJarMaker updates - now line numbers have changed.aclement2004-08-193-0/+0
|
* fix for Bugzilla Bug 37020acolyer2004-08-195-4/+4
| | | | wrong line for method execution join point
* Spring cleaning in the test suite. Docs for AjcTestCase and XMLBasedAjcTestCaseacolyer2004-08-041-25/+0
| | | | added in docs dir.
* fix for Bugzilla Bug 48990acolyer2004-07-282-0/+74
| | | | Special case if(false) to not require a dynamic test
* regression test - provokes VerifyError in 1.1.1 but not in cvs headwisberg2004-03-071-0/+21
|
* Fix for Bugzilla Bug 42668 ehilsdal2004-01-291-3/+4
| | | | effect of an after returning type incompatible with a join point return type
* fix for Bugzilla Bug 49295 jhugunin2004-01-287-18/+54
| | | | duplicate warning or second join point for constructor-execution
* Fix to stop leaving 'foo' files around in the top of tests after running the ↵jhugunin2004-01-231-3/+3
| | | | suite.
* Fix for Bugzilla Bug 44587 jhugunin2004-01-141-1/+5
| | | | | | | | | | | Erroneous exception conversion and Bugzilla Bug 34206 before():execution(new(..)) does not throw NoAspectBoundException All exceptions that occur during the static intialization of a persingleton aspect will be swallowed. When using that aspect (via aspectOf()) a NoAspectBoundException will be thrown with the original exception from the staitc initializer as the cause.
* move to Eclipse 3.0 M6 JDT core (v_396). Also makes 1.4 the acolyer2004-01-138-14/+101
| | | | default mode (inherited behaviour from JDT).
* disambiguating expected messages in test casewisberg2004-01-091-2/+2
|
* fix for Bugzilla Bug 41952 jhugunin2004-01-073-3/+7
| | | | | | | XLint warning for call PCD's using subtype of defining type also added extraSourceLocations to IMessage+ for message with multiple source lines
* Work on Bugzilla 42668: effect of an after returning type incompatible with ↵ehilsdal2003-11-181-0/+72
| | | | | | | a join point return type * fix to semantics document to describe correct semantics * checkin of failing coverage test case for correct semantics
* fix for Bugzilla Bug 41175 jhugunin2003-08-084-0/+0
| | | | | | | | | | binary aspect-declared methods conflict, lost their exception clauses larger fix to address more issues with aspect-declared methods in bytecode form also addressed declared exception issue more generally this fix should be more stable than a smaller hack that just fixed this specific bug report would have been. added a few tests to match increased scope.
* BCException - not isolated, so no bug writtenwisberg2003-08-072-0/+390
|
* passing tests for interface libraries. The behavior might be wrong (i.e., ↵wisberg2003-08-068-0/+104
| | | | some should fail) -- confirming on the list.
* changed jars produced by BcWeaverJarMaker to increase coverage of testsjhugunin2003-05-193-0/+0
|
* test data upgrades for adding new command-line error testswisberg2003-05-146-18/+34
|
* updated tests for [method|execution] binary join point detection. wisberg2003-05-018-2/+50
| | | | added narrower knownLimitation test
* Added easy to understand test for issue of Class.forName differences jhugunin2003-05-013-2/+71
| | | | | | | between IBM and SUN's JDKs Moved a nit-picking part of SourceLocationWithExpr to its own test that is listed as a known limitation.
* test cases for binary warnings (bugs 37020, 37021, 37023)wisberg2003-04-285-0/+154
|
* expanded tests and fix for jhugunin2003-04-242-4/+37
| | | | | Bugzilla Bug 36778 ClassFormatError due to empty interface supertype
* @testcase try/finally in around advice (same as ...messy arounds?) wisberg2003-04-231-0/+39
| | | | Works in current tree, but not in 1.1rc1
* @testcase PR#36778 advise join points in subclass of empty interfacewisberg2003-04-221-0/+33
|
* fix for Bugzilla Bug 36736 jhugunin2003-04-221-1/+8
| | | | | | | | | | compiler error expected for implemented abstract pointcuts and for fix for Bugzilla Bug 36673 VerifyError in privileged aspect minimally extended coverage for this bug
* @testcase PR#36736 implemented abstract pointcutwisberg2003-04-221-0/+22
|
* @testcase PR#36673 privileged aspect main verify errorwisberg2003-04-191-0/+19
|