aboutsummaryrefslogtreecommitdiff
path: root/test/core/src
AgeCommit message (Collapse)Author
2018-04-05[fieldNameConstants] code review, docs, tests, fixup.Reinier Zwitserloot
2017-12-11‘fixed’ ecj testing on JDK9 by requiring that you download the Oracle8 ↵Reinier Zwitserloot
rt.jar. Fortunately, we already had an optional ant task to fetch this. I’ve simply made it less optional.
2017-09-18Merge pull request #1311 from askoning/testsOnLinuxRoel Spilker
Several minor fixes to make 'ant test' work more reliably on other systems
2017-07-04Fixed some exotic singular cases that were being autosingularized incorrectly.Reinier Zwitserloot
2017-07-03Added some broken autosingulars.Reinier Zwitserloot
2017-03-07fixded the version mess in the test framework.Reinier Zwitserloot
2017-03-06Added support for restricting tests to certain platforms (ecj, javac)Reinier Zwitserloot
2017-02-22Make tests run if no (eclipse-generated?) bin/ folder existsSander Koning
2017-02-16Fixed versionmatching for our test framework.Reinier Zwitserloot
2016-11-22`var` can now also be configured to emit a warning when used.Roel Spilker
2016-05-11Integrate JBossLog codeRoel Spilker
- fix jboss-logging.jar name - add copyright notice to new source files - add cross-references from other @Log annotations - update feature page
2016-05-06Added support for JBoss Logging v3.3.0-Final via @JBossLog [Issue #1103]Thomas Darimont
2015-11-17handle ignored tests correctlyRoel Spilker
2015-11-17add the capability to the testing framework to verify that delombok actually ↵Roel Spilker
also handles the changed flag correctly
2015-09-23Remove lombok annotation from sourceRoel Spilker
2015-02-02[i702] findbugs suppress warnings now available via config key.Reinier Zwitserloot
2015-02-01Fixed issues with val in inner classes, and re-enabled a test that caught it ↵Reinier Zwitserloot
that we ignored earlier.
2015-01-30* Added config key ‘lombok.addGeneratedAnnotation’.Reinier Zwitserloot
* Added ‘format’ directive for tests. * Updates tests to salt in some more format and config keys.
2015-01-21* Fixed running ecj tests within eclipseReinier Zwitserloot
2015-01-20Merge the @Singular feature and the fix for ecj and the shadowloader.Reinier Zwitserloot
2015-01-19builder @Singleton now works fully in eclipse as well! feature done!Reinier Zwitserloot
2015-01-15ecj @Builder @Singular support for j.u. sets and maps.Reinier Zwitserloot
2015-01-03[wip] @Singular support.Reinier Zwitserloot
2014-12-10[issue #759] delombok now plays nicely with exotic characters, encodings, ↵Roel Spilker
and backslash U escapes.
2014-05-22[trivial] removed possible warning in eclipse.Reinier Zwitserloot
2014-05-21Suppressed warning about 'ignoreAllErrors()' that was added to ↵Roel Spilker
IErrorHandlingPolicy in a more recent ecj editions
2014-05-21Added an error if @Delegate is used recursively.Reinier Zwitserloot
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-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-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[test harness] Java 7+ tests would not be triggered using java 8Roel Spilker
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-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-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-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.
2013-08-19Only look at the line number for errors and warnings.Roel Spilker
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-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-05-24Fixed more issues related to java7's try-with-resources,Reinier Zwitserloot
and updated ECJ version detection.
2013-05-23Added methods to obtain JLS support-level version information from ↵Reinier Zwitserloot
AST/LombokNode. Tests updates to honour these with //version X at the top of any test file (now also in eclipse, which until now always said it was v6)
2013-05-23Added a method to obtain latest java language spec supported by hostReinier Zwitserloot
platform and implemented it for javac BUT NOT FOR ECJ!
2013-03-26We used to add the platform line ending when comparing test files. This ↵Roel Spilker
obviously doesn't work on windows; we force unix line ending now.
2013-03-18Added a //version option to test files to restrict them to specific versions.Reinier Zwitserloot
2013-03-11changed the pattern for writing dependencies to the various lib/ directoriesReinier Zwitserloot
to be organization-name.jar instead of just name.jar, in order to account for the ever lovely and wonderful apache's crazy decision to call the entirely separate log4j v2.0 also 'log4j'. This does mean you'll have to 'ant clean'.
2013-02-11BIG commit:Reinier Zwitserloot
* re-introduction of onMethod/onConstructor/onParam * tests checking error/warnings rewritten to be more heuristic, in order to accomodate difference in messaging between java6 and java 7 * Ability to eliminate java's own output of erroneous error messages (heh); i.e. those messages that are invalidated by lombok's actions. This mechanism is used for onMethod/onConstructor/onParam * First steps to unifying a billion setGeneratedBy calls into a single visitor traversal for eclipse' HandleGetter/Setter/Constructor/Wither * To simplify 'zooming in' the tests on just a few files, added an 'accept' mechanism. * Updated copyright headers of website to 2013.
2012-10-30Added annotation for the slf4j extended loggergrootjans