aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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.
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-25Delombok with a relative path and in 'output to directory' mode would NPE. ↵Reinier Zwitserloot
Fixes issue #241.
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-07-14fixed Issue 233:peichhorn
Javac parser handles ";" (empty statements) as empty blocks with an invalid position. Thats why delomok replaces ";" with "{}". This gets an issue when you use this in an interface, since interfaces are not allowed to have initializer blocks.
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-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