From 95753e81b6a8b9cd723c6bfc83a38fa963fef980 Mon Sep 17 00:00:00 2001 From: Scott Leberknight <174812+sleberknight@users.noreply.github.com> Date: Mon, 3 Jul 2023 09:42:56 -0400 Subject: [PATCH] Rename logback.xml to logback-test.xml to make clear it is for tests --- src/test/java/org/kiwiproject/io/KiwiPathsTest.java | 4 ++-- src/test/java/org/kiwiproject/jsch/JSchSlf4jLoggerTest.java | 4 ++-- src/test/resources/{logback.xml => logback-test.xml} | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename src/test/resources/{logback.xml => logback-test.xml} (100%) diff --git a/src/test/java/org/kiwiproject/io/KiwiPathsTest.java b/src/test/java/org/kiwiproject/io/KiwiPathsTest.java index e26a22ae..c7117ea4 100644 --- a/src/test/java/org/kiwiproject/io/KiwiPathsTest.java +++ b/src/test/java/org/kiwiproject/io/KiwiPathsTest.java @@ -13,10 +13,10 @@ class KiwiPathsTest { @Test void testPathFromFileName_WhenValidRelativeFileName() { - var path = KiwiPaths.pathFromResourceName("logback.xml"); + var path = KiwiPaths.pathFromResourceName("logback-test.xml"); assertThat(path.toFile()).exists(); - assertThat(path.toString()).endsWith("/logback.xml"); + assertThat(path.toString()).endsWith("/logback-test.xml"); } @Test diff --git a/src/test/java/org/kiwiproject/jsch/JSchSlf4jLoggerTest.java b/src/test/java/org/kiwiproject/jsch/JSchSlf4jLoggerTest.java index 3b088a9e..9fb87d80 100644 --- a/src/test/java/org/kiwiproject/jsch/JSchSlf4jLoggerTest.java +++ b/src/test/java/org/kiwiproject/jsch/JSchSlf4jLoggerTest.java @@ -23,7 +23,7 @@ /** * IMPORTANT: - * In order to setup SLF4J loggers at the appropriate level, the {@code src/test/resources/logback.xml} contains five + * In order to setup SLF4J loggers at the appropriate level, the {@code src/test/resources/logback-test.xml} contains five * loggers for the five different SLF4J log levels (TRACE, DEBUG, INFO, WARN, ERROR). *
* The name format is: {@code jsch-logger-