From fcbc143df1e292b72cda3d3a6c26ee67ccdbcd76 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 15 Jun 2024 14:46:47 +0200 Subject: [PATCH] WIP:popular: 1.0.0 - Renamed packages and classes -- MOVE --- .../TestUser.java => counter/TestWord.java} | 0 .../kafka/wordcount/top10/TestRanking.java | 20 ------------------- .../kafka/wordcount/users/TestUserData.java | 19 ------------------ 3 files changed, 39 deletions(-) rename src/test/java/de/juplo/kafka/wordcount/{top10/TestUser.java => counter/TestWord.java} (100%) delete mode 100644 src/test/java/de/juplo/kafka/wordcount/top10/TestRanking.java delete mode 100644 src/test/java/de/juplo/kafka/wordcount/users/TestUserData.java diff --git a/src/test/java/de/juplo/kafka/wordcount/top10/TestUser.java b/src/test/java/de/juplo/kafka/wordcount/counter/TestWord.java similarity index 100% rename from src/test/java/de/juplo/kafka/wordcount/top10/TestUser.java rename to src/test/java/de/juplo/kafka/wordcount/counter/TestWord.java 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/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; -} -- 2.20.1