aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/messages-delombok
AgeCommit message (Collapse)Author
2016-03-07@Helper is now legal in just about every place method local classes are ↵Reinier Zwitserloot
legal. Also now no longer messes up syntax highlighting in eclipse. Still need to investigate how to improve autocomplete presence of helper methods.
2015-11-17add the capability to the testing framework to verify that delombok actually ↵Roel Spilker
also handles the changed flag correctly
2015-10-05[Fixes #807] The NonNull annotation can now be used documentary style on ↵Reinier Zwitserloot
params of abstract methods. The warning has been eliminated.
2015-08-13Added new feature: @Helper including both annotations and tests.Reinier Zwitserloot
2015-03-30A capital/lowercase letter messup in a test file means people on case ↵Reinier Zwitserloot
sensitive file systems had problems running tests. Fixed it by renaming the whole file, as I know renames on case INsensitive file systems to fix capitalization usually doesn’t work well either.
2015-02-04@UtilityClass handlers now more intelligent about inner types of implicitly ↵Reinier Zwitserloot
static contexts (enums, interfaces, and annotation declarations). Also added tests to test for these.
2015-02-02added impl for @UtilityClass.Reinier Zwitserloot
2015-01-30* Added config key ‘lombok.addGeneratedAnnotation’.Reinier Zwitserloot
* Added ‘format’ directive for tests. * Updates tests to salt in some more format and config keys.
2015-01-20added the lombok.singular.auto config option.Reinier Zwitserloot
2014-05-27Changed the lombok.nonNull.exceptionType configkey to be an enum, partly to ↵Reinier Zwitserloot
enforce only sensible exceptions and partly to make it possible to have the message be ‘x is null’ when throwing IAEs.
2014-05-23Added confkey to make @NonNull generate a different exception because of the ↵Reinier Zwitserloot
IllegalArgumentException vs. NullPointerException that we really don’t want to get into.
2014-05-21added a test and handler for correctly handling confkey: ↵Reinier Zwitserloot
lombok.delegate.flagUsage.
2014-05-21Added an error if @Delegate is used recursively.Reinier Zwitserloot
2014-05-06added support for different error messages, where either one will mean the ↵Reinier Zwitserloot
tests pass (new versions of javac, ecj, etc sometimes totally change the message).
2014-03-26[i660] canEqual is now protected instead of public.Roel Spilker
Also fixed the total lack of canEqual in the usage examples.
2014-03-04[configuration] Merge branch 'master' as we work on configuration.Reinier Zwitserloot
* Conflict due to adding topic() feature to logger in master, and 'field name' feature in config branch. * master has since updated to shiny new eclipse dep versions and the 'ant eclipseForDebugging' feature, but this branch added deps. Addressed that. * Renamed 'loggerCategory' to 'loggerTopic'. I know, that wasn't exactly right to do in a merge, but, there you have it. * Test infrastructure changed in configuration branch, and tests had been added in master branch. Conflicts: build.xml buildScripts/ivy.xml src/core/lombok/eclipse/handlers/HandleLog.java src/core/lombok/extern/apachecommons/CommonsLog.java src/core/lombok/extern/java/Log.java src/core/lombok/extern/log4j/Log4j.java src/core/lombok/extern/log4j/Log4j2.java src/core/lombok/javac/handlers/HandleLog.java test/transform/resource/after-ecj/ValInTryWithResources.java
2014-02-20Issue 641: @Delegate is incorrectly allowed on static members in javac. Also ↵Roel Spilker
added tests, Reinier.
2014-01-20[test] Missing after-X files used to be an implicit 'just ignore the ↵Reinier Zwitserloot
content' signal; now you need an explicit directive to allow this behaviour. [configuration] added tests for @Accessors configuration key implementations.
2014-01-19[configuration] added facilities to override conf file resolution for test ↵Reinier Zwitserloot
cases, and added first tests to test implementations of configuration-based stuff (FlagUsages, specifically). Error reporter has been refactored.
2013-09-24Fixed slight typo issues with the tests due to merging and icelandic on the ↵Reinier Zwitserloot
fly bug fixing.
2013-09-24Merge branch 'master' into jdk8checkReinier Zwitserloot
Conflicts: src/core/lombok/core/Version.java src/core/lombok/javac/handlers/HandleConstructor.java test/transform/resource/messages-delombok/EqualsAndHashCodeWithSomeExistingMethods.java.messages test/transform/resource/messages-ecj/EqualsAndHashCodeWithSomeExistingMethods.java.messages
2013-09-20Issue 559: NullPointerException when @NonNull is used in abstract methodSander Koning
- Prevent NPE in javac and give a proper warning in both eclipse and javac - Add test cases
2013-09-09Updated unit tests to reflect new double-underscore default for onX. ↵Roel Spilker
(Because single underscore generates warnings in javac8).
2013-08-19Only look at the line number for errors and warnings.Roel Spilker
2013-08-12replaced double underscore as new standard way of writing the dummy ↵Reinier Zwitserloot
annotation for onX instead of single underscore, which emits warnings on javac8+. Also made dollars and Xes legal in addition to underscores, in case double underscore disappears later too.
2013-08-11Oops: didn't realise the text appeared in multiple places.Jan Ouwens
2013-07-16* Fixed issues with @FieldDefaults and @Value (you can NOT overrideReinier Zwitserloot
@Value's final-by-default and private-by-default with it; now appropriate warnings are emitted) * Builder now errors out on presence of most lombok annotations on an explicit builder class. * Builder now takes @FieldDefaults/@Value into account. * Builder on type now generates the constructor as package private instead of private to avoid synthetic accessor constructors. * added a bunch of test cases. * added a test case feature: If the expected file is omitted entirely but there are expected messages, the differences in the output itself are ignored. * streamlined checking for boolean-ness (removed some duplicate code) * added 'fluent' and 'chain' to @Builder.
2013-05-31Added @NonNull on parameters feature (issue 514),Reinier Zwitserloot
including docs and changelog.
2013-05-06Fixed issue 513: If equals is present but hashCode isn't, @Data now ↵Reinier Zwitserloot
generates a warning to explain this strange situation.
2013-02-11BIG commit:Reinier Zwitserloot
* re-introduction of onMethod/onConstructor/onParam * tests checking error/warnings rewritten to be more heuristic, in order to accomodate difference in messaging between java6 and java 7 * Ability to eliminate java's own output of erroneous error messages (heh); i.e. those messages that are invalidated by lombok's actions. This mechanism is used for onMethod/onConstructor/onParam * First steps to unifying a billion setGeneratedBy calls into a single visitor traversal for eclipse' HandleGetter/Setter/Constructor/Wither * To simplify 'zooming in' the tests on just a few files, added an 'accept' mechanism. * Updated copyright headers of website to 2013.
2012-10-25The testrunner now uses a different mechanism to verify correctness of ↵Reinier Zwitserloot
produced errors and warnings (i.e. we intentionally compile code with errors in them to verify that the appropriate error or warning message is emitted when lombok is active during a compilation run of either javac or ecj) - instead of string comparisons, it's a little more complex. This to enable testing of both javac6 and javac7, even if they produce (slightly) different error output. Updated all message files in the 'expected output' directories to represent this change.
2012-08-10Added tests for @FieldDefaults and @Value.Reinier Zwitserloot
2012-08-06Merge branch 'master' into witherReinier Zwitserloot
Conflicts: src/core/lombok/javac/handlers/JavacHandlerUtil.java
2012-07-16fixed issue 391: Using 'staticConstructor' on @Data whilst an ↵Reinier Zwitserloot
@XxxArgsConstructor is present means it gets ignored, but until now lombok didn't warn you about this.
2012-07-16Added setting position of generated nodes in javac's @Synchronized as a ↵Reinier Zwitserloot
'pilot' to see if we cause any problems with this approach. It does generate nicer error messages! Example: Using @Synchronized with named lock on a static method, naming a non-existent or instance lock. That used to error on line -1.
2012-07-16Updated tests to reflect changes to delombok (delombok now kills super(), ↵Reinier Zwitserloot
because attrib adds them even in places where that's wrong). Also split up the SynchronizedName test into separate cases for each expected failure mode.
2012-07-12Wither support + tests (javac only; ecj tests are currently set to ignore).Reinier Zwitserloot
2012-03-26Added full test suite for @Accessors, as well as the new rules for whether ↵Reinier Zwitserloot
or not a method is already there so lombok shouldn't generate it (now number of parameters matters), and added generics testing to RequiredArgsConstructor's static constructor feature.
2012-03-26Finished work on @AccessorsReinier Zwitserloot
2012-02-15Couple more tests for valReinier Zwitserloot
2011-12-19Now the type resolver also finds top-level types in a compilation unit that ↵Reinier Zwitserloot
name-shadow. Added tests for the type resolver.
2011-08-15Removed support for onMethod, onParam and onConstructor due to javac7 type ↵Roel Spilker
incapabilities. Issue #251
2011-07-18Now either all or none of equals/hashCode/canEqual is generated. Fixes issue ↵Roel Spilker
240.
2011-02-14Added a number of test for AllArgsConstuctor, RequiredArgsConstructor, ↵grootjans
NoArgsConstructor annotations and added a test for issue: 172
2011-02-07Testcases updated with new behaviour of @Getter/@Setter on booleans.Reinier Zwitserloot
2010-11-29lombok.val import now gets removed. Only adding lombok.val flags the ↵Roel Spilker
compilation unit as changed.
2010-11-11@Getter(lazy=true) now also works in EclipseRoel Spilker
2010-11-11Merge branch 'master' into lazyinitRoel Spilker
Conflicts: src/core/lombok/javac/handlers/HandleGetter.java
2010-11-11@Getter(lazy=true) support for javacRoel Spilker
2010-11-10Merge branch 'fixDelombok'Reinier Zwitserloot