Commit Graph
139 Commits
Author SHA1 Message Date
Roel Spilker 8e24e2e123 Added tests for this() call in SneakyThrows (issue 381) 2012-06-25 22:37:05 +02:00
Philipp Eichhorn 8fb4f79757 [Issue 381] @SneakyThrows respects constructor calls 2012-06-24 20:38:00 +02:00
Roel Spilker 37cbe2d3f9 Fix for issue 376 for Eclipse 2012-06-18 23:38:02 +02:00
Roel Spilker 0a53be1d3e Updated test files for getter-lazy on boolean fields. 2012-06-18 23:38:01 +02:00
Roel Spilker 6355ca8e5e Created testcase for i376 2012-06-18 23:38:00 +02:00
Roel Spilker 68ca159867 Added tests for delegating recursively: issue 305 2012-04-30 00:23:33 +02:00
Roel Spilker 25def866b5 Issue 366: don't call the getter twice, fixed for Eclipse. 2012-04-29 23:57:48 +02:00
Roel Spilker 5a13db5dc9 Issue 366: don't call the getter twice, fixed for javac. 2012-04-29 23:57:47 +02:00
peichhorn 3f408782de fixed: @val didn't work with rawtypes in enhanced for loops 2012-04-19 02:41:31 +02:00
Roel Spilker b041b355d6 Added tests for issue 358 2012-04-02 20:47:33 +02:00
Reinier Zwitserloot e98d226cfb Added full test suite for @Accessors, as well as the new rules for whether 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-26 23:49:39 +02:00
Reinier Zwitserloot 7ddafc0fe5 delombok now prints a space in between method type args and return type. 2012-03-26 23:48:46 +02:00
Reinier Zwitserloot 7569969e25 In delombok mode, @Accessors is now eliminated from your source files. 2012-03-26 23:48:00 +02:00
Reinier Zwitserloot eb3250a2fa Finished work on @Accessors 2012-03-26 21:57:24 +02:00
Roel Spilker 8bc82cad05 Fix for issue 342: @Deprecated annotation not propagated to generated getter/setter 2012-03-19 23:18:37 +01:00
Robbert Jan Grootjans d39623693b Merge branch 'master' of github.com:rzwitserloot/lombok
Conflicts:
	doc/changelog.markdown
2012-03-05 21:12:39 +01:00
Robbert Jan Grootjans f1e679471d PrettyCommentsPrinter now prints default clause of annotation methods. Fixes Issue #350 2012-03-05 21:11:19 +01:00
Roel Spilker 6c5ca79942 Issue 349: Test failed in some environments 2012-03-05 20:22:27 +01:00
Roel Spilker 82d939844f Merge branch 'issue349-test-failed' of https://github.com/buzztaiki/lombok into buzztaiki-issue349-test-failed 2012-03-05 20:20:25 +01:00
Roel Spilker 4c8cc228e8 Issue 348: @Delegate should also generate @Deprecated when the interface methods javadoc contains@deprecated 2012-03-05 20:18:10 +01:00
Taiki Sugawara b01f5aba87 Use english locale on test via delombok for using english message catalog. 2012-02-25 01:30:20 +09:00
Taiki Sugawara 821370e01b Add deprecated comment support for eclipse. 2012-02-24 23:55:02 +09:00
Taiki Sugawara c63d036e78 Remove spaces in after files. 2012-02-24 22:56:42 +09:00
Roel Spilker 102e7eafb0 Make the unittests for ecj work on windows 2012-02-23 23:26:30 +01:00
Taiki Sugawara c809047b78 support delegate with deprecated comment. 2012-02-22 05:01:35 +09:00
Reinier Zwitserloot 0f86101098 Couple more tests for val 2012-02-15 04:45:28 +01:00
Reinier Zwitserloot 9a50da2d09 ecj tests and eclipse tests are now effectively doing the same thing, except the ecj tests are written in a slightly more close-to-reality way, and do work for 'val'. eclipse test aspect removed. 2012-02-14 17:11:15 +01:00
Reinier Zwitserloot 06581537f2 More test files, test files updated to be valid java, and ecj test now goes through the complete compile process. This means val and @Delegate testing is now enabled.
TODO: Update -eclipse tests.
2012-02-14 16:39:48 +01:00
Reinier Zwitserloot f259af306f 'val' now works for member types whose outers have generics. (issue #343) 2012-02-14 16:31:48 +01:00
Roel Spilker bf8b93701a Added test for @Getter(AccessLevel.NONE) 2012-01-24 03:07:14 +01:00
Roel Spilker 2242de2bf9 Fix for issue 328: @Delegate on a field for which we also generate a getter will use the getter for delegation 2012-01-24 02:52:13 +01:00
Roel Spilker b7ebd3a674 Fixed bug in reading long and double values 2012-01-23 21:15:13 +01:00
peichhornandReinier Zwitserloot 87cca2d322 [Issue 275] Allow @Delegate on no-argument methods 2012-01-19 00:44:47 +01:00
Reinier Zwitserloot 9abb6432e9 Added a test to make sure we never break ecj again. 2012-01-09 19:49:56 +01:00
Reinier Zwitserloot ae87a26456 Now the type resolver also finds top-level types in a compilation unit that name-shadow. Added tests for the type resolver. 2011-12-19 20:09:40 +01:00
Reinier Zwitserloot 3b921ad7f6 Fix for issue 299: labels would break 'val' in javac. 2011-11-20 19:04:31 +01:00
peichhorn 0d75d56fce Eclipse/JavacHandlerUtil.injectField(...) inserts the new fields after the enum constants.
Also the new fields are ordered in the same way the method injectField() gets invoked.
2011-11-13 09:06:57 +01:00
Roel Spilker 45f9e9def1 Changed copyright notices 2011-11-07 22:04:40 +01:00
Robbert Jan Grootjans 88a83e08a9 Fixed eclipse and ecj unit test broken by 99e36bf51c 2011-11-07 21:51:12 +01:00
Roel Spilker 2fcfc4c3dc Fixed unit tests to take into account work on issue 289 and 287. 2011-11-01 00:53:21 +01:00
peichhorn 2d39470469 [Issue 281] added test 2011-10-07 21:40:33 +02:00
peichhorn 236c88fc5c fixed Issue 271: @NotNull annotations should introduce a null check 2011-09-05 21:53:58 +02:00
Roel Spilker a284600987 Removed support for onMethod, onParam and onConstructor due to javac7 type incapabilities. Issue #251 2011-08-15 21:21:51 +02:00
Reinier Zwitserloot 4ff39e5770 Added some forgotten copyright headers 2011-08-02 03:57:53 +02:00
Reinier Zwitserloot 403f515aa2 Delombok with a relative path and in 'output to directory' mode would NPE. Fixes issue #241. 2011-07-25 20:06:20 +02:00
Roel Spilker 4dfa3b7004 There's now 1 test suite that runs all tests, and 'ant eclipse' will make a launch config that adds the appropriate -javaagent VM param to ensure the runWithEclipse tests work. 2011-07-18 21:11:37 +02:00
Roel Spilker 83e2fb5e00 Now either all or none of equals/hashCode/canEqual is generated. Fixes issue 240. 2011-07-18 21:05:00 +02:00
peichhorn 68b079d312 fixed Issue 233:
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-07-14 10:42:42 +02:00
Philipp Eichhorn 476b198f16 Allow "before" to be used as a source-package for eclipse tests (see LoggerSlf4jWithPackage). 2011-06-05 22:14:50 +02:00
peichhorn 850c3eaf07 Added a test infrastructure that simulates eclipse with diet-parse, 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-06-01 02:44:53 +02:00