aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix test on J14Andy Clement2020-08-152-18/+28
| |
* | Weaken Collection declarationsLars Grefer2020-08-153-8/+9
| | | | | | | | | | | | Reports on declarations of Collection variables made by using the collection class as the type, rather than an appropriate interface. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | Redundant Collection.addAll() callLars Grefer2020-08-151-2/+1
| | | | | | | | | | | | Reports Collection.addAll() and Map.putAll() calls after instantiation of a collection using a constructor call without arguments. Such constructs can be replaced with a single call to a parametrized constructor which simplifies code. Also for some collections the replacement might be more performant. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | Collections.sort() can be replaced with List.sort()Lars Grefer2020-08-151-2/+2
|/ | | | | | Reports calls to Collections.sort(list, comparator) which could be replaced with list.sort(comparator). Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* lets have maven fail if those tests fail...Andy Clement2020-08-1413-13/+0
|
* Merge branch 'master' of github.com:eclipse/org.aspectj into ↵Lars Grefer2020-08-144-16/+23
|\ | | | | | | remove-old-version-checks
| * Fix up tests and reduce verbosity on J11Andy Clement2020-08-142-14/+12
| |
| * Making tests behave on 11Andy Clement2020-08-133-4/+13
| |
* | Simplify checks for Java 8 to trueLars Grefer2020-08-141-5/+1
| | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | Remove checks for old Java VersionsLars Grefer2020-08-135-42/+11
|/ | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* Use the diamond operator where possibleLars Grefer2020-08-139-42/+42
| | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* Unnecessary unboxingLars Grefer2020-08-081-1/+1
| | | | | | Reports "unboxing", e.g. explicit unwrapping of wrapped primitive values. Unboxing is unnecessary under Java 5 and newer, and can be safely removed. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* Unnecessary boxingLars Grefer2020-08-081-1/+1
| | | | | | Reports explicit boxing, i.e. wrapping of primitive values in objects. Explicit manual boxing is unnecessary under Java 5 and newer, and can be safely removed. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* 'String.indexOf()' expression is replaceable with 'contains()'Lars Grefer2020-08-0813-40/+39
| | | | | | Reports any String.indexOf() expressions which can be replaced with a call to the String.contains() method available in Java 5 and newer. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* 'for' loop replaceable with enhanced 'for' loopLars Grefer2020-08-0823-133/+95
| | | | | | Reports for loops which iterate over collections or arrays, and can be replaced with an enhanced for loop (i.e. the foreach iteration syntax). Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* polish and new test for 550705Andy Clement2020-05-016-11/+59
|
* Include JDTCore for Java14Andy Clement2020-04-2020-515/+836
|
* polishAndy Clement2019-11-28117-372/+214
|
* polishAndy Clement2019-11-282-4/+4
|
* organize importsAndy Clement2019-11-281-5/+3
|
* Fix 550494Andy Clement2019-11-272-0/+38
|
* first textblock test for Java13Andy Clement2019-11-252-0/+35
|
* Java 13 supportAndy Clement2019-11-255-11/+171
|
* Moved tests around for avoiding weaving switch infrastructure methodAndy Clement2019-09-112-0/+61
|
* polishAndy Clement2019-07-021-29/+27
|
* Fix 547808: npe regression for multi @AroundAndy Clement2019-06-034-9/+88
|
* Updated with Java12 supportAndy Clement2019-04-039-59/+94
|
* fixes for tests on windowsAndy Clement2019-03-041-1/+1
|
* windows compatibility in testsAndy Clement2019-03-032-6/+6
|
* 333274: more tests and fixes: nested @Around advice with proceedAndy Clement2019-02-195-16/+56
|
* polish - fix some warningsmaven_buildAndy Clement2019-02-119-18/+0
|
* Fix getSpecFile() to work with URLs and adjust installer unpackerAndy Clement2019-02-08124-553/+572
|
* refixed name and changed surefire exclusions in parent pomAndy Clement2019-02-011-0/+1
|
* Add module tests back in - but streamlinedAndy Clement2019-01-311-0/+0
|
* mavenizing tests - doneAndy Clement2019-01-31152-42622/+6812
|
* mavenizing tests - wipAndy Clement2019-01-30420-0/+35767
|
* overweaving decp/decm testsAndy Clement2019-01-232-0/+181
|
* 389678: Better support for overweavingAndy Clement2019-01-212-1/+185
| | | | | | | | | | | | More testcases for overweaving and better handling of WeaverStateInfo to avoid the dreaded problems deserialized the 'special key' used to store diffs. With these changes once a class is woven via overweaving we switch the diff we store in the weaverstateinfo to 0 byte array (indicating overweaving happened for later weavers that see it). We also stop writing the special 'key' into the attribute and avoid looking-for and attempting to replace it at the end of weaving.
* Dig deeper to find WildTypePattern in DeclareParentsAndy Clement2019-01-172-7/+31
| | | | | | | The existing check crudely only checked the top level, failing to find nested WildTypePatterns. Resolves #542682
* Fix 541325 - Support is(AbstractType)Andy Clement2018-11-192-0/+27
|
* 513528: Fix use of lambda in ITDAndy Clement2018-10-103-1/+12
|
* Reverse default - behave like 1.5 (support annotations) by defaultAndy Clement2018-10-1024-1044/+1019
|
* More fixes for 1.9.2V1_9_2_RC2Andy Clement2018-10-012-0/+43
| | | | | | - update to more recent JDT to pickup Nestmates fix - bcel updated for NestMembers/NestHost attributes - testcases for nestmates
* 1.9.2.RC1 changesV1_9_2_RC1Andy Clement2018-09-2913-9/+277
|
* 537825: Remove FINAL for cflow related class elements for Java 9+Andy Clement2018-08-243-4/+53
|
* testcode for 535086Andy Clement2018-05-253-0/+150
|
* Initial cut at bug 535086 - pertypewithin and non vis typesAndy Clement2018-05-251-0/+2
| | | | | | | In this version unless you specify an aspect is privileged then the pertypewithin clause will not match types not visible from the aspect (private types or default vis types in another package) Debating whether to change this to not require privileged.
* Working towards 1.9.1V1_9_1Andy Clement2018-04-205-1/+172
|
* Support Java10Andy Clement2018-04-188-17/+144
|
* Bug#531694: generate more optional thisJoinPoint construction codeAndy Clement2018-03-094-5/+313
| | | | | | | This commit introduces some new methods into the runtime Factory class and modifies code generation to use them (and to use the form of the LDC bytecode that loads class constants).