From: Kai Moritz Date: Sat, 15 Jun 2024 12:46:47 +0000 (+0200) Subject: WIP:popular: 1.0.0 - Renamed packages and classes -- MOVE X-Git-Tag: popular-on-query~4 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=fcbc143df1e292b72cda3d3a6c26ee67ccdbcd76;p=demos%2Fkafka%2Fwordcount WIP:popular: 1.0.0 - Renamed packages and classes -- MOVE --- diff --git a/src/test/java/de/juplo/kafka/wordcount/counter/TestWord.java b/src/test/java/de/juplo/kafka/wordcount/counter/TestWord.java new file mode 100644 index 0000000..cc63c34 --- /dev/null +++ b/src/test/java/de/juplo/kafka/wordcount/counter/TestWord.java @@ -0,0 +1,14 @@ +package de.juplo.kafka.wordcount.top10; + +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; + + +@AllArgsConstructor(staticName = "of") +@NoArgsConstructor +@Data +public class TestUser +{ + String user; +} diff --git a/src/test/java/de/juplo/kafka/wordcount/top10/TestRanking.java b/src/test/java/de/juplo/kafka/wordcount/top10/TestRanking.java deleted file mode 100644 index 2b49590..0000000 --- a/src/test/java/de/juplo/kafka/wordcount/top10/TestRanking.java +++ /dev/null @@ -1,20 +0,0 @@ -package de.juplo.kafka.wordcount.top10; - -import lombok.AccessLevel; -import lombok.AllArgsConstructor; -import lombok.Data; -import lombok.NoArgsConstructor; - - -@AllArgsConstructor(access = AccessLevel.PRIVATE) -@NoArgsConstructor -@Data -public class TestRanking -{ - private TestEntry[] entries; - - public static TestRanking of(TestEntry... entries) - { - return new TestRanking(entries); - } -} diff --git a/src/test/java/de/juplo/kafka/wordcount/top10/TestUser.java b/src/test/java/de/juplo/kafka/wordcount/top10/TestUser.java deleted file mode 100644 index cc63c34..0000000 --- a/src/test/java/de/juplo/kafka/wordcount/top10/TestUser.java +++ /dev/null @@ -1,14 +0,0 @@ -package de.juplo.kafka.wordcount.top10; - -import lombok.AllArgsConstructor; -import lombok.Data; -import lombok.NoArgsConstructor; - - -@AllArgsConstructor(staticName = "of") -@NoArgsConstructor -@Data -public class TestUser -{ - String user; -} diff --git a/src/test/java/de/juplo/kafka/wordcount/users/TestUserData.java b/src/test/java/de/juplo/kafka/wordcount/users/TestUserData.java deleted file mode 100644 index 03bf041..0000000 --- a/src/test/java/de/juplo/kafka/wordcount/users/TestUserData.java +++ /dev/null @@ -1,19 +0,0 @@ -package de.juplo.kafka.wordcount.users; - -import lombok.AllArgsConstructor; -import lombok.Data; -import lombok.NoArgsConstructor; - - -@AllArgsConstructor(staticName = "of") -@NoArgsConstructor -@Data -public class TestUserData -{ - public enum Sex { FEMALE, MALE, OTHER } - - String username; - String firstName; - String lastName; - Sex sex; -}