aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/src/test
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade license from CPLv1/EPLv1 to EPLv2Alexander Kriegisch2021-06-04105-1185/+1185
| | | | | | | This was required by the Eclipse team as one precondition for the next release. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Make sure to clean up temp-dirs in 'weaver' moduleAlexander Kriegisch2021-04-091-2/+5
| | | | | | | | | Maven Clean now deletes '' directories if it finds any. Furthermore, AsynchronousFileCacheBackingTestSupport now not just deletes directory contents but also removes the empty corresponding directories afterwards. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Fix some deprecated Java and JUnit warnings by using newer API callsAlexander Kriegisch2021-03-212-2/+2
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Add Java 15 class vile version to BCEL constants, adjust test tools etc.Alexander Kriegisch2021-03-161-7/+7
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Fix 'ajdoc' tests for Java 15 buildAlexander Kriegisch2021-03-142-28/+28
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Make MoveInstructionsWeaveTestCase.testFancyHello pass when run twiceAlexander Kriegisch2021-03-131-9/+14
| | | | | | | | | | | Reset counter, just in case this test runs multiple times in one JVM. This can happen e.g. due to "run all tests" in IntelliJ IDEA, which directly runs this test class and als WeaverModuleTests, both of which implement junit.framework.TestCase. In that case, during the second run the counter would start at a higher base count, making the 2nd test run fail. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Remove unnecessary interface modifiersLars Grefer2020-08-171-36/+36
| | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* polishAndy Clement2020-08-163-38/+38
|
* Merge branch 'master' into feature/collection-performanceAndy Clement2020-08-158-11/+0
|\
| * Cleanup unused importsLars Grefer2020-08-168-11/+0
| | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | Weaken Collection declarationsLars Grefer2020-08-151-18/+18
| | | | | | | | | | | | 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-153-10/+5
|/ | | | | | 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>
* Remove checks for old Java VersionsLars Grefer2020-08-137-118/+91
| | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* Merge pull request #3 from larsgrefer/feature/github-actionsAndy Clement2020-08-131-6/+8
|\ | | | | Create a simple CI Job using GitHub Actions
| * Fix TestcaseLars Grefer2020-08-131-6/+8
| | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | Use the diamond operator where possibleLars Grefer2020-08-1312-35/+35
|/ | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* 'String.indexOf()' expression is replaceable with 'contains()'Lars Grefer2020-08-084-7/+7
| | | | | | 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-0811-83/+79
| | | | | | 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>
* PolishAndy Clement2020-04-222-16/+15
|
* polishAndy Clement2019-11-2937-81/+136
|
* Moved tests around for avoiding weaving switch infrastructure methodAndy Clement2019-09-111-11/+11
|
* - dont't weave synthetic enum helper method for switchSemyon Danilov2019-09-101-1/+1
| | | | | | - add test for switch on enum with around all advice Signed-off-by: Semyon Danilov <samvimes@yandex.ru>
* Final bits of AspectJ 1.9.4Andy Clement2019-05-102-1/+215
|
* Updated with Java12 supportAndy Clement2019-04-031-3/+13
|
* fixing test failures running under eclipseAndy Clement2019-02-111-1/+1
|
* Fix getSpecFile() to work with URLs and adjust installer unpackerAndy Clement2019-02-081-3/+13
|
* Add module tests back in - but streamlinedAndy Clement2019-02-015-127/+124
|
* mavenizing weaver - wipAndy Clement2019-01-25109-0/+12159