aboutsummaryrefslogtreecommitdiff
path: root/test/transform
AgeCommit message (Collapse)Author
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
2011-11-01Fixed unit tests to take into account work on issue 289 and 287.Roel Spilker
2011-10-07[Issue 281] added testpeichhorn
2011-09-05fixed Issue 271: @NotNull annotations should introduce a null checkpeichhorn
2011-08-15Removed support for onMethod, onParam and onConstructor due to javac7 type ↵Roel Spilker
incapabilities. Issue #251
2011-08-02Added some forgotten copyright headersReinier Zwitserloot
2011-07-18There's now 1 test suite that runs all tests, and 'ant eclipse' will make a ↵Roel Spilker
launch config that adds the appropriate -javaagent VM param to ensure the runWithEclipse tests work.
2011-07-18Now either all or none of equals/hashCode/canEqual is generated. Fixes issue ↵Roel Spilker
240.
2011-06-05Allow "before" to be used as a source-package for eclipse tests (see ↵Philipp Eichhorn
LoggerSlf4jWithPackage).
2011-06-01Added a test infrastructure that simulates eclipse with diet-parse, ↵peichhorn
type-binding and so forth. Similar to eclipse, the test needs to be executed with lombok as vm-agent. @Delegate runs with this setup, sadly val does not, at least for now. And as expected the tests shows that @Synchronized and @SneakyThrows are currently broken for eclipse but not for ecj.
2011-05-30HandleDelegate did not remove the annotation @Delegate from javac's AST, so ↵peichhorn
HandleDelegate was called multiple times for the same field resulting in an error saying the delegate method was already defined. Also added a test for @Delegate that uncovered this issue.
2011-03-18Rewritten @Cleanup's new null analysis prevention to not useReinier Zwitserloot
Lombok.preventNullAnalysis but go with Collections.singletonList(expr).get(0) instead; while this does create a pointless object, it doesn't cause a clash when eclipse has lombok 0.10 installed but the project uses 0.9, which doesn't have preventNullAnalysis. Eventually, once 0.9 is long forgotten, this can be reverted.
2011-02-14Added a number of test for AllArgsConstuctor, RequiredArgsConstructor, ↵grootjans
NoArgsConstructor annotations and added a test for issue: 172