aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2021-06-04Merge pull request #2816 from Rawi01/val-switch-expressionReinier Zwitserloot
Resolve variables in switch expressions
2021-04-23Change owner lombok GitHub repositoryRoel Spilker
2021-04-22[fixes #2624] Resolve variables in switch expressionsRawi01
2021-04-18[records] [@NonNull] slight refactor to ensure any generated canonical ↵Reinier Zwitserloot
constructor is visible to downstream APs We used to remove the canonical constructor on a record that javac generates, and replace it with our own, as we put null checks in it. However, the type mirrors and such Annotation Processors use already have the implicit canonical constructor available. Instead of trying to remove those, let's just take the existing implicit constructor and add to that (and mark it explicit, of course).
2021-04-18Merge branch 'enter-types-methods-fields' of git://github.com/Rawi01/lombok ↵Reinier Zwitserloot
into Rawi01-enter-types-methods-fields
2021-04-16[pr 2702] finishing the `@StandardException` feature.Reinier Zwitserloot
* rewritten how it works a bit: Now compatible with parent exceptions that don't have the Throwable variants. * rewritten how it works a bit: You can now provide the full constructor only; the rest will forward to it. * fixing up style. * rewrite the docs.
2021-04-16Merge branch 'standard-exception' of git://github.com/ttzn/lombok into ↵Reinier Zwitserloot
ttzn-standard-exception
2021-04-01[record] Print compact constructor after class nameRawi01
2021-04-01[fixes #2787] Handle right hand side of assignment firstRawi01
2021-03-24@StandardException feature working draftttzn
* move feature under experimental * replace ProviderFor with Provides * add doc material (to be completed) * add author
2021-03-24@StandardException feature working draftttzn
* annotation with javac and Eclipse handlers * single test file
2021-03-24Merge pull request #2687 from janrieke/superBuilderConfigBuilderClassNameReinier Zwitserloot
SuperBuilder: consider lombok.builder.className for builder extends clause
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-22[deps] pushing ASM to 9.1, and ASM opcode compat levels to ASM9, as we need ↵Reinier Zwitserloot
the support for records
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-21[testing] fixed an error (I probably introduced this in the typofix earlier) ↵Reinier Zwitserloot
in a test file.
2021-03-21Merge pull request #2725 from md-5/masterReinier Zwitserloot
[fixes #2724] Increase priority of Builder annotation removal
2021-03-21[trivial] [typofix]Reinier Zwitserloot
2021-03-21Merge pull request #2772 from janrieke/superBuilderNPEwithSingularReinier Zwitserloot
[fixes #2701] fix NPE on customized SuperBuilder with Singular
2021-03-21Merge pull request #2770 from janrieke/superBuilderNPEinConstructorExistsReinier Zwitserloot
[fixes #2704] SuperBuilder: avoid NPE on existing constructors
2021-03-20[jdk16] Add lombok opens in single locationmd_5
Fixes awhitford/lombok.maven#47
2021-03-20[fixes #2724] Increase priority of Builder annotation removalmd_5
Otherwise they may run after `HandleDelegate`. This is problematic as `HandleDelegate` parses the compulation unit and `@Builder` may contain imports (eg `AccessLevel`) that were already removed by other processors, eg `@Getter`.
2021-03-19fix test stub dependencies for ecjRoel Spilker
2021-03-19[jdk16] Suddenly, Stream has a default method toList :-)Roel Spilker
2021-03-19[jdk16] fix delombok (and the test suite, which depends on it) for jdk16.Reinier Zwitserloot
2021-03-19[testing] unbroke 'ant test.javac8'.Reinier Zwitserloot
2021-03-18[testing] fixing a typo in a test fileReinier 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[superbuilder] toBuilder + singular + javac6 was brokenReinier Zwitserloot
superbuilder generated the node `x.pluralName(plural == null ? Collections.emptyList() : plural)`. java6 is not smart enough to infer the appropriate generics for the emptyList() call. Fixed by always specifying the needed type explicitly: Collections.<String>emptyList();
2021-03-13[trivial] just fixing line endings - no other changesReinier Zwitserloot
2021-03-13[testing] marking down all jackson related tests as j8+ onlyReinier Zwitserloot
The jackson dep we need for testing is too new a class file to run on j6, stubbing it out too much effort. Odds we find a bug specifically because this stuff fails on java6/7 are low, and I'm okay with supporting 6/7 a little less well.
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-13[test] work in progress: Make test.javac6 pass all tests.Reinier Zwitserloot
The `test.javac6` job causes a ton of errors because many tests use java8+ features. Marking them off as java8+ targeted only.
2021-03-12[fixes #2701] fix NPE on customized SuperBuilder with SingularJan Rieke
2021-03-12[fixes #2704] SuperBuilder: avoid NPE on existing constructorsJan Rieke
2021-03-05[tests] fix tests on java6/7Reinier Zwitserloot
2021-03-04Merge pull request #2754 from Rawi01/npe-nonStaticAccessReinier Zwitserloot
Save problem handler state for postponed error handling
2021-02-17[fixes #2752] Save problem handler state for postponed error handlingRawi01
2021-02-07[fixes #2741] Handle inner method invocations firstRawi01
2021-02-04Merge pull request #2719 from Rawi01/superbuilder-initializer-npeReinier Zwitserloot
SuperBuilder now skips initializers while gathering types
2021-02-04Merge pull request #2733 from Rawi01/checker-superbuilderReinier Zwitserloot
Add missing checker annotations in SuperBuilder
2021-02-04Merge pull request #2734 from Rawi01/data-equals-warningReinier Zwitserloot
Only show super()-warning if lombok generates a method
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-31[fixes #1064] Only show super()-warning if lombok generates a methodRawi01