From b718e4303f0191b59391e7599c5092aa515643fe Mon Sep 17 00:00:00 2001 From: Thomas Ruhroth Date: Wed, 16 Oct 2024 08:05:20 +0200 Subject: [PATCH] #314 Some Unit-Test, because jacoco for IT test seems to be ignored --- .../HtmlSanityCheckMojoTest.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/htmlSanityCheck-maven-plugin/src/test/java/org/aim42/htmlSanityCheck/htmlsanitycheckmavenplugin/HtmlSanityCheckMojoTest.java b/htmlSanityCheck-maven-plugin/src/test/java/org/aim42/htmlSanityCheck/htmlsanitycheckmavenplugin/HtmlSanityCheckMojoTest.java index 8329a261..5c8eab1e 100644 --- a/htmlSanityCheck-maven-plugin/src/test/java/org/aim42/htmlSanityCheck/htmlsanitycheckmavenplugin/HtmlSanityCheckMojoTest.java +++ b/htmlSanityCheck-maven-plugin/src/test/java/org/aim42/htmlSanityCheck/htmlsanitycheckmavenplugin/HtmlSanityCheckMojoTest.java @@ -1,12 +1,19 @@ package org.aim42.htmlSanityCheck.htmlsanitycheckmavenplugin; import org.junit.jupiter.api.Test; +import org.aim42.htmlsanitycheck.Configuration; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; class HtmlSanityCheckMojoTest { @Test void setupConfiguration() { - return; + HtmlSanityCheckMojo mojo = new HtmlSanityCheckMojo(); + Configuration config = mojo.setupConfiguration(); + assertTrue(config != null); + } } \ No newline at end of file