aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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-05-28delombok would put copyright headers in between the 'package' keyword and ↵Philipp Eichhorn
the actual package. See discussion at https://groups.google.com/d/topic/project-lombok/64zuUlLnVMc/discussion
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
2011-02-07Added test to confirm behaviour of @RequiredArgsConstructor, @ToString, and ↵Reinier Zwitserloot
@Getter on enums.
2011-02-07Testcases updated with new behaviour of @Getter/@Setter on booleans.Reinier Zwitserloot
2011-01-17Some of the tests weren't succeeding (and haven't for a while now) since ↵Reinier Zwitserloot
fixing the bug where lombok will call equals(SomeSpecificType) instead of equals(Object) from data. This commit rectifies this by updating the tests.
2010-11-29lombok.val import now gets removed. Only adding lombok.val flags the ↵Roel Spilker
compilation unit as changed.
2010-11-22- Renamed the diverse @Log annotations to give them distinct namesRoel Spilker
- Removed the option to specify a different class to log on - Updated tests and documentation
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-10Tests were failing due to a bug in the compare error output part of the test ↵Reinier Zwitserloot
runner.
2010-11-10Merge branch 'fixDelombok'Reinier Zwitserloot
2010-11-10All tests pass! - The test framework has been updated a bit to fit with the ↵Reinier Zwitserloot
new way delombok works.
2010-11-10Merge branch 'master' into annoGetSetRoel Spilker
Conflicts: src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
2010-11-10From now on it is possible to specify annotations to be placed on the methodRoel Spilker
or the parameter of the generated getter/setter methods.
2010-11-09Added lombok.Lombok.preventNullAnalysis to the null test in @Cleanup to suppressRoel Spilker
warnings about variables that cannot be null
2010-11-08Added support for canEqual in ecjRoel Spilker
2010-11-08Added support for canEquals in javacRoel Spilker
2010-11-07Solved issue 155: "Eclipse constructor generation not in class body" ↵Roel Spilker
http://code.google.com/p/projectlombok/issues/detail?id=155 Now all lombok generated methods are located before any other method.
2010-11-07Use the actual annotation value to process the @Log annotations instead of ↵Roel Spilker
their String representations.
2010-11-06Updated documentation on @Log and moved them all to lombok.extern.*Roel Spilker
2010-11-06Have j.u.l. be invoked with TargetType.class.getName() instead of "TargetType"Roel Spilker
2010-11-06Create Clinit if you create a static field and it doesn't yet existRoel Spilker
2010-11-06Add support for multiple logging frameworks in EclipseRoel Spilker
2010-11-06Added support for Log4J, Commons and JUL in the javac handlerRoel Spilker
2010-11-06Fixed typo in unit testRoel Spilker
2010-11-03Intial support for @Log, for now only slf4jRoel Spilker
2010-11-03Merge branch 'master' of github.com:rzwitserloot/lombokReinier Zwitserloot
2010-11-03val in java, including tests and javac resolution utilities.Reinier Zwitserloot
2010-11-03big changes to delombok to prep for resolution, when sourcepath and ↵Reinier Zwitserloot
classpath are relevant, and the flow needs to be parse all, then enter all, then transform all, instead of parse->enter->transform sequentially for each file in isolation.
2010-11-02Issue 154: Add null-check to @CleanupRoel Spilker
2010-11-02Removed trailing tabRoel Spilker
2010-10-31Added after-delombok test files for Loggergrootjans
2010-08-15Documented the ClassFileMetaData utility.Reinier Zwitserloot
2010-08-15Update to force reading of test sources as UTF-8, which they are.Reinier Zwitserloot
2010-08-15Updated buildscript to include tests and eclipse .project generation for the ↵Roel Spilker
new bytecode tests in test/bytecode/src
2010-08-07Fixed some bugs in reading the constant pool and added testsRoel Spilker
2010-08-05Created utility class to casually inspect class files on the usage of ↵Roel Spilker
classes, fields and methods
2010-07-28Added test case for issue #136: @Getter or @Setter on a static field fails ↵Reinier Zwitserloot
to compile.
2010-07-25Issue 133: @ToString on an inner class should print Outer.Inner instead of InnerRoel Spilker
2010-07-25Do not generate @ConstructorProperties for method-local classesRoel Spilker
2010-07-22toString(), equals(), and hashCode() now use getX() instead of x if either ↵Reinier Zwitserloot
it exists OR it will be generated by some other lombok annotation, addressing issue #110. code deduplication by removing HandleData's scanning for fields, which is now no longer done; the sub-parts of Data (Getter, Setter, RequiredArgsConstructor, etc) take care of it now. fix for class-level @Getter/@Setter, which used to go for every field. Now they skip the usual fields (static, for setters final, and $ prefixed fields). Bugfix for @Data not recognizing that it should let field-level @Getter/@Setter take care of generating the getter/setter for multi field declarations (@Getter int x, y);
2010-07-22Updated copyright statements and version release name.Reinier Zwitserloot
2010-07-22Added more tests, one of which tests usage of .getX() in toString, equals, ↵Reinier Zwitserloot
and hashCode, which isn't fully working yet, so this test still fails.
2010-07-22Added tests for ecj, fixed a few minor bugs that came out of that.Reinier Zwitserloot
2010-07-21refactored the tests to prepare running ecj as well as delombok.Reinier Zwitserloot
2010-07-20Added checks for warnings in test casesRoel Spilker