mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 10:18:46 +00:00
test: Add Jackson 3 test cases and version ambiguity warnings
Add JacksonizedAccessorsJackson3 test case verifying that @Jacksonized with jacksonVersion=3 emits the correct annotations. Add expected warning messages for tests that have both Jackson 2 and 3 on the classpath without explicit version configuration, and fix JacksonizedSuperBuilderWithJsonDeserialize message expectations.
This commit is contained in:
1 parent
45e72e241a
commit
e6567b6621
8 files changed
+192
No files matched your search
@@ -0,0 +1,10 @@
|
||||
//version 8: Jackson deps are at least Java7+.
|
||||
//CONF: lombok.jacksonized.jacksonVersion += 3
|
||||
@lombok.Data
|
||||
@lombok.experimental.Accessors(fluent = true)
|
||||
@lombok.extern.jackson.Jacksonized
|
||||
class JacksonizedAccessorsJackson3 {
|
||||
private String name;
|
||||
private int age;
|
||||
private transient String password;
|
||||
}
|
||||
Reference in new issue
Block a user