aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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-10-22Ever since we do a lot more than just calling 'parse' when running delombok ↵Reinier Zwitserloot
in our tests, the tests are in the unfortunate scenario where we always compile against a given javac (lib/build/javac6.jar), and always run the tests against a given javac, but that javac tries to use the bootclasspath of the host JRE, and if that is JRE7, you get all sorts of errors. I fixed it by still compiling against a given javac (we can only ship one lombok.jar after all), but having the test task run with a given bootclasspath and a given javac.jar. There are 2 tasks that download both rt.jar and javac.jar for either OpenJDK6 or OpenJDK7, and it writes a properties file with those locations. The test task will use this property file, and explain what you need to do if it is not there. Incidentally, this brought to light issue 422: Delombok in java7 produces VerifyErrors.
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-16Added feature to test suite to dump actual result of running ecj / delombok ↵Reinier Zwitserloot
on things to a directory (use -Dlombok.tests.dump_actual_files=/path/to/dir). Useful if you KNOW lombok is working but something changed in output, i.e. order of generated methods.
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-03-05Issue 349: Test failed in some environmentsRoel Spilker
2012-03-05Merge branch 'issue349-test-failed' of https://github.com/buzztaiki/lombok ↵Roel Spilker
into buzztaiki-issue349-test-failed
2012-03-05Issue 348: @Delegate should also generate @Deprecated when the interface ↵Roel Spilker
methods javadoc contains@deprecated
2012-02-25Use english locale on test via delombok for using english message catalog.Taiki Sugawara
2012-02-24Add deprecated comment support for eclipse.Taiki Sugawara
2012-02-24Remove spaces in after files.Taiki Sugawara
2012-02-23Make the unittests for ecj work on windowsRoel Spilker
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-02-14'val' now works for member types whose outers have generics. (issue #343)Reinier Zwitserloot
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-23Fixed bug in reading long and double valuesRoel Spilker
2012-01-19[Issue 275] Allow @Delegate on no-argument methodspeichhorn
2012-01-09Added a test to make sure we never break ecj again.Reinier 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.