projects
/
demos
/
kafka
/
wordcount
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
splitter: 1.2.0 - Introduced `TestWord.of(..)`
[demos/kafka/wordcount]
/
src
/
test
/
java
/
de
/
juplo
/
kafka
/
wordcount
/
splitter
/
TestData.java
diff --git
a/src/test/java/de/juplo/kafka/wordcount/splitter/TestData.java
b/src/test/java/de/juplo/kafka/wordcount/splitter/TestData.java
index
00ea4c4
..
89cebaa
100644
(file)
--- a/
src/test/java/de/juplo/kafka/wordcount/splitter/TestData.java
+++ b/
src/test/java/de/juplo/kafka/wordcount/splitter/TestData.java
@@
-48,38
+48,38
@@
public class TestData
static Stream<KeyValue<String, TestWord>> expectedMessages = Stream.of(
KeyValue.pair(
"peter",
static Stream<KeyValue<String, TestWord>> expectedMessages = Stream.of(
KeyValue.pair(
"peter",
-
new TestWord
("peter", "Hallo")),
+
TestWord.of
("peter", "Hallo")),
KeyValue.pair(
"peter",
KeyValue.pair(
"peter",
-
new TestWord
("peter", "Welt")),
+
TestWord.of
("peter", "Welt")),
KeyValue.pair(
"klaus",
KeyValue.pair(
"klaus",
-
new TestWord
("klaus", "Müsch")),
+
TestWord.of
("klaus", "Müsch")),
KeyValue.pair(
"klaus",
KeyValue.pair(
"klaus",
-
new TestWord
("klaus", "gäb")),
+
TestWord.of
("klaus", "gäb")),
KeyValue.pair(
"klaus",
KeyValue.pair(
"klaus",
-
new TestWord
("klaus", "s")),
+
TestWord.of
("klaus", "s")),
KeyValue.pair(
"klaus",
KeyValue.pair(
"klaus",
-
new TestWord
("klaus", "auch")),
+
TestWord.of
("klaus", "auch")),
KeyValue.pair(
"peter",
KeyValue.pair(
"peter",
-
new TestWord
("peter", "Boäh")),
+
TestWord.of
("peter", "Boäh")),
KeyValue.pair(
"peter",
KeyValue.pair(
"peter",
-
new TestWord
("peter", "echt")),
+
TestWord.of
("peter", "echt")),
KeyValue.pair(
"peter",
KeyValue.pair(
"peter",
-
new TestWord
("peter", "ß")),
+
TestWord.of
("peter", "ß")),
KeyValue.pair(
"peter",
KeyValue.pair(
"peter",
-
new TestWord
("peter", "mal")),
+
TestWord.of
("peter", "mal")),
KeyValue.pair(
"peter",
KeyValue.pair(
"peter",
-
new TestWord
("peter", "nä")),
+
TestWord.of
("peter", "nä")),
KeyValue.pair(
"peter",
KeyValue.pair(
"peter",
-
new TestWord
("peter", "Nümmäh")));
+
TestWord.of
("peter", "Nümmäh")));
}
}