-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
if a (sub)values have same property names with should be put into the mdc, we get an exception. also properties without the full path would be added, but this means we have no posibility to say we needs the from a give value.
- Loading branch information
1 parent
92d0a76
commit 3e13d84
Showing
2 changed files
with
27 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,16 +137,22 @@ void should_write_values_to_mdc_with_othername() { | |
"username", | ||
"user.int", | ||
"int", | ||
"unser.long", | ||
"user.long", | ||
"long", | ||
"unser.double", | ||
"user.double", | ||
"double", | ||
"unser.b1", | ||
"user.b1", | ||
"true", | ||
"unser.b2", | ||
"user.b2", | ||
"false", | ||
"test", | ||
"other_value" | ||
"user.test", | ||
"other_value", | ||
"user.friend.user_id", | ||
"username_of_friend", | ||
"bigi", | ||
"bigi", | ||
"bigd", | ||
"tina" | ||
) | ||
) | ||
.withValue( | ||
|
@@ -164,7 +170,11 @@ public <T extends Media<T>> T printOn(final T media) { | |
.withValue("b2", false) | ||
.withValue("col", List.of()) | ||
.withValue("bigi", BigInteger.ONE) | ||
.withValue("bigd", BigDecimal.TEN); | ||
.withValue("bigd", BigDecimal.TEN) | ||
.withValue( | ||
"friend", | ||
new TestPrintable(Map.of("name", "Maura", "user_id", "[email protected]")) | ||
); | ||
} | ||
} | ||
) | ||
|
@@ -189,7 +199,9 @@ public <T extends Media<T>> T printOn(final T media) { | |
"true", | ||
"true", | ||
"false", | ||
"false" | ||
"false", | ||
"username_of_friend", | ||
"[email protected]" | ||
) | ||
) | ||
) | ||
|