diff --git a/src/test/java/jez04/structure/test/ClassStructureTest.java b/src/test/java/jez04/structure/test/ClassStructureTest.java index 0e3694da1b1a4f39938e3b737cee19924c81b2dc..8454102cb8357446a849c1ae19848317a6dff24c 100644 --- a/src/test/java/jez04/structure/test/ClassStructureTest.java +++ b/src/test/java/jez04/structure/test/ClassStructureTest.java @@ -30,7 +30,7 @@ class ClassStructureTest { private static String className = "Score"; @BeforeAll - void printClassNames() { + static void printClassNames() { for (String className : helper.getNameOfAllClasses()) { System.out.println(className); } @@ -66,6 +66,7 @@ class ClassStructureTest { .size() > 1); } + @Test void loadScoresFromStreamExceptionTest() throws Exception, IllegalAccessException, InvocationTargetException, NoSuchMethodException, SecurityException { App app = new App(); @@ -155,6 +156,7 @@ class ClassStructureTest { } } + @Test void saveScoresTest() throws IOException, NoSuchMethodException, SecurityException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException { App app = new App(); @@ -169,6 +171,7 @@ class ClassStructureTest { return (Score) constructor.newInstance(name, points); } + @Test void saveScoresDirsTest() throws IOException, NoSuchMethodException, SecurityException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException { App app = new App();