aboutsummaryrefslogtreecommitdiff
path: root/test/transform
AgeCommit message (Collapse)Author
2015-01-12added singleton builder support for javac: guava maps.Reinier Zwitserloot
2015-01-12added singleton builder support for javac: guava lists and sets.Reinier Zwitserloot
2015-01-12added singleton builder support for javac: java.util listsReinier Zwitserloot
2015-01-11Set @Singularize code for javac improved, Map @Singularize added.Reinier Zwitserloot
2015-01-05@Singleton for j.u.Sets works in javac.Reinier Zwitserloot
2014-05-31Implement Tolerate.Maaartin Grajcar
2014-05-27Changed the lombok.nonNull.exceptionType configkey to be an enum, partly to ↵Reinier Zwitserloot
enforce only sensible exceptions and partly to make it possible to have the message be ‘x is null’ when throwing IAEs.
2014-05-23Added confkey to make @NonNull generate a different exception because of the ↵Reinier Zwitserloot
IllegalArgumentException vs. NullPointerException that we really don’t want to get into.
2014-05-21added a test and handler for correctly handling confkey: ↵Reinier Zwitserloot
lombok.delegate.flagUsage.
2014-05-21Added an error if @Delegate is used recursively.Reinier Zwitserloot
2014-05-08Added test for issue 361. It is currently ignored.Roel Spilker
2014-05-08[java8] Added tests for using java language features in transformations.Roel Spilker
2014-05-08All tests now succeed on all platforms again;Reinier Zwitserloot
'optional' expected messages added. expanded some tests. Added a check if the bootclasspath supports a certain version, i.e. don't try to run a JDK7-only test if AutoClosable isn't available.
2014-05-06LoggerSlf4jOnNonType test just cares about error messages, so now the actual ↵Reinier Zwitserloot
source output is just ignored as irrelevant.
2014-05-06added support for different error messages, where either one will mean the ↵Reinier Zwitserloot
tests pass (new versions of javac, ecj, etc sometimes totally change the message).
2014-05-04thoroughly updated the launch targets for testing lombok in eclipse;Reinier Zwitserloot
they should now be able to handle running JDK8 etc tests. CAREFUL: You MUST name your JDK8 'JavaSE-1.8' or it won't work. Also added a basic test for JDK8 features.
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-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-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-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-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.