aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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
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