aboutsummaryrefslogtreecommitdiff
path: root/test/core
AgeCommit message (Collapse)Author
2022-01-14Fixing situations where all eclipse tests would fail.Reinier Zwitserloot
This is another one of those: Wait.. this does not work and never has? bug. Fixed, at any rate. If _every_ eclipse test throws NPE, this fix is for you.
2021-10-26[fixes #3014] Detecting whether inner classes are static wouldn't work if ↵Reinier Zwitserloot
placed inside an enum or interface.
2021-10-26[issue #3014] test-case that reproduces this problem.Reinier Zwitserloot
2021-10-22[fixes #2985] Resolve var/val only once in eclipseRawi01
2021-08-17[fixes #2907] Keep record compact constructor parametersRawi01
2021-04-23Change owner lombok GitHub repositoryRoel Spilker
2021-04-18Merge branch 'enter-types-methods-fields' of git://github.com/Rawi01/lombok ↵Reinier Zwitserloot
into Rawi01-enter-types-methods-fields
2021-03-24[records] [`@NonNull`] eclipse impl onfthe `@NonNull` on record components ↵Reinier Zwitserloot
feature. All tests passing.
2021-03-23[testing] wahey, ecj testing works again, and now we can test JDK16 features ↵Reinier Zwitserloot
in it!
2021-03-23[records] [javac] Putting `@NonNull` on a 'field' of a record now affects ↵Reinier Zwitserloot
the compact constructors, generating one if need be.
2021-03-22Merge branch 'records'Reinier Zwitserloot
# Conflicts: # src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java # src/core/lombok/eclipse/handlers/HandleBuilder.java # src/core/lombok/eclipse/handlers/HandleData.java # src/core/lombok/eclipse/handlers/HandleNonNull.java # src/core/lombok/eclipse/handlers/HandleSuperBuilder.java # src/core/lombok/javac/handlers/HandleBuilder.java # src/core/lombok/javac/handlers/HandleNonNull.java # src/core/lombok/javac/handlers/HandleSuperBuilder.java # test/core/src/lombok/RunTestsViaEcj.java
2021-03-20[jdk16] Add lombok opens in single locationmd_5
Fixes awhitford/lombok.maven#47
2021-03-19fix test stub dependencies for ecjRoel Spilker
2021-03-19[jdk16] fix delombok (and the test suite, which depends on it) for jdk16.Reinier Zwitserloot
2021-03-14[testing] `ant test.javac6` now passes. yay.Reinier Zwitserloot
2021-03-13[testing] improve information given when position validator tests failReinier Zwitserloot
2021-03-13[testing] also ignore unset positions for the pretty print tester.Reinier Zwitserloot
2021-03-13[testing] now easier to identify what failed, by name of test caseReinier Zwitserloot
test case names now include idempotent/javac/ecj/prettyprint as a prefix to the test case filename.
2021-03-13[testing] javac6 fails some of the idempotency tests because certain nodes ↵Reinier Zwitserloot
aren't initialized with a position. The odds that the 'check if positions of every node is set to something useful' check is not going to find any actual bugs in the idempotency phase, so, just turn it off entirely there.
2021-03-05[tests] fix tests on java6/7Reinier Zwitserloot
2021-02-17[fixes #2752] Save problem handler state for postponed error handlingRawi01
2021-02-04[issue #2730] Javadoc generated by lombok in javac now gets its position set.Reinier Zwitserloot
This may fix 'IllegalArgumentException' errors when using google errorprone.
2021-02-02Validate that every AST node has a symbolRawi01
2021-01-28Validate positions during testsRawi01
2020-12-22Run tests if no exclusions matchRoel Spilker
2020-10-03Untangling patches to classes that only exist in eclipse, not ecjReinier Zwitserloot
Specifically, Rawi01's patches to make javadoc behaviour in eclipse better, which cannot be applied to ecj as you get load errors (javadoc not a thing there). As part of this commit, tests can be limited to ecj or eclipse, and I made cut-down versions of a few tests (to run on ecj, as the main one cannot be, due to javadoc issues). The tests now marked as eclipse only don't fail on ecj, but they don't generate the same result. Alternatively, we could go with a separated out after-ecj and after-eclipse dir instead, but that's perhaps going overboard.
2020-09-18Merge branch 'eclipse-javadoc' of git://github.com/Rawi01/lombok into ↵Reinier Zwitserloot
Rawi01-eclipse-javadoc # Conflicts: # src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
2020-09-18[tests] ant-based compiling of test infra was failing.Reinier Zwitserloot
I committed some code to debug classpath issues; this code is no longer needed and was using java8+ features that aren't available at compile time in the first place; a simple matter of removing that code is all that was needed.
2020-09-18[tests] fixed a test that fails due to, of all things, a javac bug.Reinier Zwitserloot
2020-09-10Add record supportRawi01
2020-08-31Merge branch 'master' into eclipse-javadocRawi01
Conflicts: src/core/lombok/javac/handlers/JavacHandlerUtil.java test/core/src/lombok/RunTestsViaEcj.java
2020-08-29[testing] [eclipse] [#2413] Eclipse tests now more expansiveReinier Zwitserloot
We now test generating a level2-DOM from our level1-AST (eclipse has 3 levels of ASTs, more or less), only if that is possible, i.e. only if the full eclipse is available. This requires using a test target named `eclipse-X`, and not one of the `ecjX` ones. This is the change that requires the massive update to the build system. About 6 tests, including a newly added one about @Delegate, now fail. These failures would usually not cause instant failure in eclipse, but can cause errors during save actions and will likely mess with other things in weird ways, such as messing up syntax highlighting. Yes, this commit now makes a bunch of cases fail the unit tests, but that is representative of actual errors in lombok, so I'm checking it in as is (without this commit, the problem is still there, the tests are just incapable of detecting it).
2020-08-27[test] [bugfix] Compare full line instead of ignoring the last characterRawi01
2020-07-29Support javadoc copying in eclipseRawi01
2020-07-23[tests] [trivial] stop printing the javac versionReinier Zwitserloot
... when running javac tests
2020-07-10[test] more flexible options for limiting your tests.Reinier Zwitserloot
2020-07-03[test] [bugfix] far too few tests were being selected for the 'javac' target.Reinier Zwitserloot
2020-07-03[build] propagate chosen bootclasspath into eclipse test targetsReinier Zwitserloot
2020-06-23[build] rewriting the build systemReinier Zwitserloot
2020-01-28[singular][issue #2221] the plural builder method now nullchecks its ↵Reinier Zwitserloot
argument with configurable results.
2020-01-20Config import: change bubble iterationRoel Spilker
2020-01-20Config import: move responsibilitiesRoel Spilker
2020-01-20Rename Context to ConfigurationFile, move reading contents and metadata to it.Roel Spilker
2020-01-20Config import: Allow imports in lombok.configRoel Spilker
2020-01-07[fixes #2327] mostly trivial: Added this. for field access and unified code ↵Reinier Zwitserloot
gen of build() methods for `@Builder`.
2019-08-22[checkerframework]Reinier Zwitserloot
A bit of a shadow feature because the checker framework folks need to do some work on their side. this update makes lombok generate a few checker framework annotations (if configured to do so) which let the checker framework add warnings and errors for example if you misuse builders, or ignore the return values of withers, etc.
2019-04-24[trivial] making a part of the test framework code not warn on default ↵Reinier Zwitserloot
JDK11+ linter settings.
2019-01-29[test] Made it easier to run the tests on just one of the resource files.Reinier Zwitserloot
2018-10-15[build] Fixing running tests via `ant test`, setting up the build, and a few ↵Reinier Zwitserloot
other build-related issues.
2018-10-02[buildscript] addition of a test task that runs faster; don’t use it ↵Reinier Zwitserloot
unless you know what you’re doing as it skips a few important steps.