From 2c00fd2f0a3d09c03f3333ebfe07c1f5006b924c Mon Sep 17 00:00:00 2001 From: midttuna Date: Mon, 25 Mar 2024 11:22:13 +0200 Subject: [PATCH] SDCCC-1211 Fix linting --- .../InvariantBicepsNormativeAnnexTest.java | 15 +++++++-------- .../InvariantParticipantModelHandleTest.java | 1 - 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/sdccc/src/main/java/com/draeger/medical/sdccc/tests/biceps/invariant/InvariantBicepsNormativeAnnexTest.java b/sdccc/src/main/java/com/draeger/medical/sdccc/tests/biceps/invariant/InvariantBicepsNormativeAnnexTest.java index f5490ac4..b2399e09 100644 --- a/sdccc/src/main/java/com/draeger/medical/sdccc/tests/biceps/invariant/InvariantBicepsNormativeAnnexTest.java +++ b/sdccc/src/main/java/com/draeger/medical/sdccc/tests/biceps/invariant/InvariantBicepsNormativeAnnexTest.java @@ -7,6 +7,10 @@ package com.draeger.medical.sdccc.tests.biceps.invariant; +import static com.draeger.medical.sdccc.util.Constants.REF_ELEMENT_QUERY; +import static org.junit.jupiter.api.Assertions.assertTrue; +import static org.junit.jupiter.api.Assertions.fail; + import com.draeger.medical.sdccc.configuration.EnabledTestConfig; import com.draeger.medical.sdccc.manipulation.precondition.impl.ManipulationPreconditions; import com.draeger.medical.sdccc.messages.MessageStorage; @@ -17,19 +21,14 @@ import com.draeger.medical.sdccc.tests.annotations.TestIdentifier; import com.draeger.medical.sdccc.util.XPathExtractor; import com.google.inject.Injector; +import java.util.concurrent.atomic.AtomicInteger; +import java.util.stream.Collectors; +import javax.xml.xpath.XPathExpressionException; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import javax.xml.xpath.XPathExpressionException; -import java.util.concurrent.atomic.AtomicInteger; -import java.util.stream.Collectors; - -import static com.draeger.medical.sdccc.util.Constants.REF_ELEMENT_QUERY; -import static org.junit.jupiter.api.Assertions.assertTrue; -import static org.junit.jupiter.api.Assertions.fail; - /** * Test for the normative Annex of BICEPS. */ diff --git a/sdccc/src/main/java/com/draeger/medical/sdccc/tests/biceps/invariant/InvariantParticipantModelHandleTest.java b/sdccc/src/main/java/com/draeger/medical/sdccc/tests/biceps/invariant/InvariantParticipantModelHandleTest.java index 4157fd77..d3a5ae55 100644 --- a/sdccc/src/main/java/com/draeger/medical/sdccc/tests/biceps/invariant/InvariantParticipantModelHandleTest.java +++ b/sdccc/src/main/java/com/draeger/medical/sdccc/tests/biceps/invariant/InvariantParticipantModelHandleTest.java @@ -85,7 +85,6 @@ void setUp() { + " all contained handles are unique.") @RequirePrecondition( manipulationPreconditions = {ManipulationPreconditions.RemoveAndReinsertDescriptorManipulation.class}) - void testRequirementR0007() throws NoTestData, IOException { // NOTE: MdibHistorian checks the uniqueness of Handles in all MdibVersions. // However, its checks are missing duplicate handles introduced by ContextReports.