aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2014-05-01[java8] Support in delombok for method references.Roel Spilker
2014-05-01some pretty significant changes to the build system, to try and add testing ↵Reinier Zwitserloot
against ecj8 to the lineup, and to force compilation with the bootstrap classpath of JDK6 so that we won't accidentally add deps on things that JVM6es don't have.
2014-05-01[java8] Support in delombok for intersection typecast and lambdasRoel Spilker
2014-05-01[test harness] Java 7+ tests would not be triggered using java 8Roel Spilker
2014-04-03Fixed tests, added test for ecj.Christian Sterzl
2014-04-03Adding onParam to annotation @EqualsAndHashCode to add individual ↵Christian Sterzl
annotations to the parameters of equals and canEqual.
2014-04-02[#655] Added a test for the post compiler. It indeed fails in JDK8 now due ↵Reinier Zwitserloot
to an ASM version that doesn't understand java 8 class files.
2014-03-26[i659] suppression of @ConstructorProperties should use config instead. Also ↵Roel Spilker
modified all onX examples to use two underscores.
2014-03-26[i660] canEqual is now protected instead of public.Roel Spilker
Also fixed the total lack of canEqual in the usage examples.
2014-03-05[configuration] All current kets are now camelCase and stop-bubbling is ↵Roel Spilker
renamed to config.stopBubbling
2014-03-04[configuration] Merge branch 'master' as we work on configuration.Reinier Zwitserloot
* Conflict due to adding topic() feature to logger in master, and 'field name' feature in config branch. * master has since updated to shiny new eclipse dep versions and the 'ant eclipseForDebugging' feature, but this branch added deps. Addressed that. * Renamed 'loggerCategory' to 'loggerTopic'. I know, that wasn't exactly right to do in a merge, but, there you have it. * Test infrastructure changed in configuration branch, and tests had been added in master branch. Conflicts: build.xml buildScripts/ivy.xml src/core/lombok/eclipse/handlers/HandleLog.java src/core/lombok/extern/apachecommons/CommonsLog.java src/core/lombok/extern/java/Log.java src/core/lombok/extern/log4j/Log4j.java src/core/lombok/extern/log4j/Log4j2.java src/core/lombok/javac/handlers/HandleLog.java test/transform/resource/after-ecj/ValInTryWithResources.java
2014-02-20Issue 641: @Delegate is incorrectly allowed on static members in javac. Also ↵Roel Spilker
added tests, Reinier.
2014-02-10[deps] Updated eclipse deps to 3.9 tree. This also enables testing java7 ↵Reinier Zwitserloot
features on ecj. [Log] updated naming for @Log (topic= instead of mchmulder's 'value').
2014-02-08Handler and testcases for @XSlf4jMaarten Mulders
2014-02-08Handler and testcases for @Log4j2Maarten Mulders
2014-02-08Handler and testcases for @Log4jMaarten Mulders
2014-02-08Handler and testcases for @LogMaarten Mulders
2014-02-08Handlers and testcases for @CommonsLogMaarten Mulders
2014-02-08Handlers and testcases for @Slf4jMaarten Mulders
2014-02-06[configuration] Added the configuration keys lombok.ToString.doNotUseGetters ↵Roel Spilker
and lombok.ToString.includeFieldNames
2014-02-06[configuration] Have the ConfigurationApp print platform-specific newLine ↵Roel Spilker
characters, and print clear for empty lists.
2014-01-31[configuration] Added first automated test for the configuration framework. ↵Roel Spilker
For now, it fails.
2014-01-20[test] Missing after-X files used to be an implicit 'just ignore the ↵Reinier Zwitserloot
content' signal; now you need an explicit directive to allow this behaviour. [configuration] added tests for @Accessors configuration key implementations.
2014-01-19Issue 625: use (even) better primes for hashcodesRoel Spilker
2014-01-19[trivial] added test for logger config keys.Reinier Zwitserloot
2014-01-19[configuration] added facilities to override conf file resolution for test ↵Reinier Zwitserloot
cases, and added first tests to test implementations of configuration-based stuff (FlagUsages, specifically). Error reporter has been refactored.
2014-01-18[test-directives] another update to the 'test directives' system; test files ↵Reinier Zwitserloot
now can start with directives (configuration keys, 'ignore', and java language version limits), and the test directory runner now has a framework to handle these. All existing tests pass at this point.
2014-01-18[configuration] updates to the tests to streamline parsing 'directives', ↵Reinier Zwitserloot
which have become more important as input files now may need to set up some lombok configuration stuff.
2014-01-14[trivial] fixed typos in test files.Reinier Zwitserloot
2014-01-09[#625] Instead of '31' as a prime number for hashCode(), use something else. ↵Reinier Zwitserloot
31, probably owing to its inclusion in Effective Java, is overused, as proven by Maaartinus in issue 625. Switching to 277 instead. Also, 1231/1237 pair used for booleans has been replaced by 2591/2609.
2013-12-11semi-fix for issue 602, but not complete as adding annotations to generated ↵Reinier Zwitserloot
fields leads to crazy issues (see issue 217): generated LOG field now has @SuppressWarnings on it.
2013-12-11[pretty] Make the tests work with the new delombok formatting options.Roel Spilker
2013-10-27[issue 598] JDK8 update broke assignment-with-operator in delombok.Reinier Zwitserloot
2013-10-10Fix for issues when mixing @NonNull on params with @SneakyThrows or ↵Reinier Zwitserloot
@Synchronized [Issue #588]
2013-09-24Fixed slight typo issues with the tests due to merging and icelandic on the ↵Reinier Zwitserloot
fly bug fixing.
2013-09-24Merge branch 'master' into jdk8checkReinier Zwitserloot
Conflicts: src/core/lombok/core/Version.java src/core/lombok/javac/handlers/HandleConstructor.java test/transform/resource/messages-delombok/EqualsAndHashCodeWithSomeExistingMethods.java.messages test/transform/resource/messages-ecj/EqualsAndHashCodeWithSomeExistingMethods.java.messages
2013-09-20Issue 559: NullPointerException when @NonNull is used in abstract methodSander Koning
- Prevent NPE in javac and give a proper warning in both eclipse and javac - Add test cases
2013-09-09Updated unit tests to reflect new double-underscore default for onX. ↵Roel Spilker
(Because single underscore generates warnings in javac8).
2013-09-09[jdk8support] We now handle doc comments internally, alleviating the need to ↵Roel Spilker
try and keep up with the complete rewrites of the doc comment parser from java6 to java7 to java8. Still doesn't actually work in jdk8, but only because of a last-mile issue. (we communicate the doc comment via compilationUnit.docComments but that changed types in jdk8, we just need to make a wrapper to make that work).
2013-08-19Removed blanksRoel Spilker
2013-08-19Only look at the line number for errors and warnings.Roel Spilker
2013-08-14* Fixed 553: @XArgsConstructor (and @Builder on a class) did not look at ↵Reinier Zwitserloot
@Accessors to handle field accessors. * various operations on names in javac were really slow; they are faster now.
2013-08-12replaced double underscore as new standard way of writing the dummy ↵Reinier Zwitserloot
annotation for onX instead of single underscore, which emits warnings on javac8+. Also made dollars and Xes legal in addition to underscores, in case double underscore disappears later too.
2013-08-11Oops: didn't realise the text appeared in multiple places.Jan Ouwens
2013-07-16* Fixed issues with @FieldDefaults and @Value (you can NOT overrideReinier Zwitserloot
@Value's final-by-default and private-by-default with it; now appropriate warnings are emitted) * Builder now errors out on presence of most lombok annotations on an explicit builder class. * Builder now takes @FieldDefaults/@Value into account. * Builder on type now generates the constructor as package private instead of private to avoid synthetic accessor constructors. * added a bunch of test cases. * added a test case feature: If the expected file is omitted entirely but there are expected messages, the differences in the output itself are ignored. * streamlined checking for boolean-ness (removed some duplicate code) * added 'fluent' and 'chain' to @Builder.
2013-07-08Fixed value's snippet integration (it hadn't been updated yet now that Value ↵Reinier Zwitserloot
has moved from experimental into core).
2013-07-08gave up on adding support for moving javadoc to getter/setter in eclipse. ↵Reinier Zwitserloot
Eclipse breaks the javadoc out of the raw source and we can't modify that without breaking a billion things. To solve this issue we'd have to write some very complicated patches to intercept this process and somehow propagate the node that the javadoc is attached to AND translate from the ast model to dom or whatever is being used there. Not gonna happen for this low priority feature.
2013-07-08added tests for new javadoc behaviour, javac implementation of copying ↵Reinier Zwitserloot
javadoc for getters/setters, and fixed pretty printer to no longer inject an extra newline at the top of javadoc.
2013-07-07eclipse support for the new @Getter(lazy=true) desugaring.Reinier Zwitserloot
2013-07-07@Getter(lazy=true) now uses a different, more efficient desugaring. ↵Reinier Zwitserloot
Implementing in javac, ecj still has to be done.