fixing fhir-test-cases dependency (#6186)

* fixing fhir-test-cases dependency

* accidental added characters to the file

* bumping base pom version

* Disabling test case due to errors in xml files extracted from org.hl7.fhir.testcases.fhir-test-cases.1.5.15

---------

Co-authored-by: peartree <etienne.poirier@smilecdr.com>
This commit is contained in:
Mark Iantorno 2024-08-03 17:06:42 -04:00 committed by GitHub
parent fd5cff3d23
commit 801b8b494b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 2 deletions

View File

@ -6,6 +6,7 @@ import ca.uhn.fhir.util.ClasspathUtil;
import ca.uhn.fhir.util.XmlUtil;
import jakarta.annotation.Nonnull;
import org.hl7.fhir.instance.model.api.IBaseResource;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
import org.slf4j.Logger;
@ -24,6 +25,7 @@ import java.util.List;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.fail;
@Disabled
public class FhirPatchCoreTest extends BaseTest {
private static final Logger ourLog = LoggerFactory.getLogger(FhirPatchCoreTest.class);
@ -50,9 +52,12 @@ public class FhirPatchCoreTest extends BaseTest {
public static List<Object[]> parameters() throws TransformerException, SAXException, IOException {
String testSpecR4 = "/org/hl7/fhir/testcases/r4/patch/fhir-path-tests.xml";
// the above file is missing an <output></output> section on line 1413 due to a processing error during file generation
// as per the error statement found in the file.
Collection<Object[]> retValR4 = loadTestSpec(FhirContext.forR4Cached(), testSpecR4);
String testSpecR5 = "/org/hl7/fhir/testcases/r5/patch/fhir-path-tests.xml";
// The above file his missing xml closing tag '/>' on line 241 and 245
Collection<Object[]> retValR5 = loadTestSpec(FhirContext.forR5Cached(), testSpecR5);
ArrayList<Object[]> retVal = new ArrayList<>();

View File

@ -312,7 +312,6 @@
<dependency>
<groupId>org.hl7.fhir.testcases</groupId>
<artifactId>fhir-test-cases</artifactId>
<version>1.5.5-SNAPSHOT</version>
<scope>test</scope>
</dependency>

View File

@ -1306,7 +1306,7 @@
<dependency>
<groupId>org.hl7.fhir.testcases</groupId>
<artifactId>fhir-test-cases</artifactId>
<version>1.1.14</version>
<version>1.5.15</version>
</dependency>
<dependency>
<groupId>org.jdom</groupId>