aboutsummaryrefslogtreecommitdiff
path: root/test/transform
AgeCommit message (Collapse)Author
2013-03-11Added @Log4j2 support.Reinier Zwitserloot
2013-02-18Changed @Value to no longer imply @Wither. Usually you want onlyReinier Zwitserloot
a few or no withers at all, and adding them is a lot simpler than removing them. This is a breaking change, but then that's why @Value was in experimental in the first place.
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-30Added annotation for the slf4j extended loggergrootjans
2012-10-29added tests for lub and val (lub = finding the common supertype, for example ↵Reinier Zwitserloot
in a ternary expression).
2012-10-29//ignore in files now counts even if the 'ignore' comment is followed by ↵Reinier Zwitserloot
more text (such as the explanation for why it is being ignored).
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-13test for using 'val' on an expression that involved lombok-generated code.Reinier Zwitserloot
2012-08-10Added tests for @FieldDefaults and @Value.Reinier Zwitserloot
2012-08-06fully tested the HandleWither impl for eclipse.Reinier Zwitserloot
2012-08-06Merge branch 'master' into witherReinier Zwitserloot
Conflicts: src/core/lombok/javac/handlers/JavacHandlerUtil.java
2012-07-17Fix for issue 396: Static constructors generated for classes with type ↵Reinier Zwitserloot
parameters did not work in javac.
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-16fixed tests since Robbert Jan's fix for issue 377.Reinier Zwitserloot
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-16Added tests for @ExtensionMethodReinier Zwitserloot
2012-07-12Wither support + tests (javac only; ecj tests are currently set to ignore).Reinier Zwitserloot
2012-07-02Added tests to make sure issue 385 is not caused by a simple bug regarding enumsRoel Spilker
2012-06-25Added tests for this() call in SneakyThrows (issue 381)Roel Spilker
2012-06-24[Issue 381] @SneakyThrows respects constructor callsPhilipp Eichhorn
2012-06-18Fix for issue 376 for EclipseRoel Spilker
2012-06-18Updated test files for getter-lazy on boolean fields.Roel Spilker
2012-06-18Created testcase for i376Roel Spilker
2012-04-30Added tests for delegating recursively: issue 305Roel Spilker
2012-04-29Issue 366: don't call the getter twice, fixed for Eclipse.Roel Spilker
2012-04-29Issue 366: don't call the getter twice, fixed for javac.Roel Spilker
2012-04-19fixed: @val didn't work with rawtypes in enhanced for loopspeichhorn
2012-04-02Added tests for issue 358Roel Spilker
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-26delombok now prints a space in between method type args and return type.Reinier Zwitserloot
2012-03-26In delombok mode, @Accessors is now eliminated from your source files.Reinier Zwitserloot
2012-03-26Finished work on @AccessorsReinier Zwitserloot
2012-03-19Fix for issue 342: @Deprecated annotation not propagated to generated ↵Roel Spilker
getter/setter
2012-03-05Merge branch 'master' of github.com:rzwitserloot/lombokRobbert Jan Grootjans
Conflicts: doc/changelog.markdown
2012-03-05PrettyCommentsPrinter now prints default clause of annotation methods. Fixes ↵Robbert Jan Grootjans
Issue #350
2012-02-24Add deprecated comment support for eclipse.Taiki Sugawara
2012-02-24Remove spaces in after files.Taiki Sugawara
2012-02-22support delegate with deprecated comment.Taiki Sugawara
2012-02-15Couple more tests for valReinier Zwitserloot
2012-02-14ecj tests and eclipse tests are now effectively doing the same thing, except ↵Reinier Zwitserloot
the ecj tests are written in a slightly more close-to-reality way, and do work for 'val'. eclipse test aspect removed.
2012-02-14More test files, test files updated to be valid java, and ecj test now goes ↵Reinier Zwitserloot
through the complete compile process. This means val and @Delegate testing is now enabled. TODO: Update -eclipse tests.
2012-01-24Added test for @Getter(AccessLevel.NONE)Roel Spilker
2012-01-24Fix for issue 328: @Delegate on a field for which we also generate a getter ↵Roel Spilker
will use the getter for delegation
2012-01-19[Issue 275] Allow @Delegate on no-argument methodspeichhorn
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-11-20Fix for issue 299: labels would break 'val' in javac.Reinier Zwitserloot
2011-11-13Eclipse/JavacHandlerUtil.injectField(...) inserts the new fields after the ↵peichhorn
enum constants. Also the new fields are ordered in the same way the method injectField() gets invoked.
2011-11-07Changed copyright noticesRoel Spilker
2011-11-07Fixed eclipse and ecj unit test broken by ↵Robbert Jan Grootjans
99e36bf51c26152c53c8acefa90cce80af6da434