Skip to content

Commit

Permalink
renaming Static tests to Core, updating root phpunit xml config
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone committed Apr 30, 2024
1 parent 2518150 commit 5ad9787
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 75 deletions.
123 changes: 58 additions & 65 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,67 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
bootstrap="./vendor/autoload.php"
colors="true" stopOnFailure="true">
<coverage includeUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
</coverage>
<php>
<ini name="memory_limit" value="2048M"/>
</php>
<testsuites>
<testsuite name="DSTU1-Static">
<file>./output/HL7/FHIR/DSTU1/PHPFHIRTests/PHPFHIRConstantsTest.php</file>
<file>./output/HL7/FHIR/DSTU1/PHPFHIRTests/PHPFHIRTypeMapTest.php</file>
</testsuite>
<testsuite name="DSTU1-Unit">
<directory>./output/HL7/FHIR/DSTU1/PHPFHIRTests/Unit</directory>
</testsuite>

<testsuite name="DSTU2-Static">
<file>./output/HL7/FHIR/DSTU2/PHPFHIRTests/PHPFHIRConstantsTest.php</file>
<file>./output/HL7/FHIR/DSTU2/PHPFHIRTests/PHPFHIRTypeMapTest.php</file>
</testsuite>
<testsuite name="DSTU2-Unit">
<directory>./output/HL7/FHIR/DSTU2/PHPFHIRTests/Unit</directory>
</testsuite>
<testsuite name="DSTU2-Integration">
<directory>./output/HL7/FHIR/DSTU2/PHPFHIRTests/Integration</directory>
</testsuite>

<testsuite name="STU3-Static">
<file>./output/HL7/FHIR/STU3/PHPFHIRTests/PHPFHIRConstantsTest.php</file>
<file>./output/HL7/FHIR/STU3/PHPFHIRTests/PHPFHIRTypeMapTest.php</file>
</testsuite>
<testsuite name="STU3-Unit">
<directory>./output/HL7/FHIR/STU3/PHPFHIRTests/Unit</directory>
</testsuite>
<testsuite name="STU3-Integration">
<directory>./output/HL7/FHIR/STU3/PHPFHIRTests/Integration</directory>
</testsuite>

<testsuite name="R4-Static">
<file>./output/HL7/FHIR/R4/PHPFHIRTests/PHPFHIRConstantsTest.php</file>
<file>./output/HL7/FHIR/R4/PHPFHIRTests/PHPFHIRTypeMapTest.php</file>
</testsuite>
<testsuite name="R4-Unit">
<directory>./output/HL7/FHIR/R4/PHPFHIRTests/Unit</directory>
</testsuite>
<testsuite name="R4-Integration">
<directory>./output/HL7/FHIR/R4/PHPFHIRTests/Integration</directory>
</testsuite>

<testsuite name="R5-Static">
<file>./output/HL7/FHIR/R5/PHPFHIRTests/PHPFHIRConstantsTest.php</file>
<file>./output/HL7/FHIR/R5/PHPFHIRTests/PHPFHIRTypeMapTest.php</file>
</testsuite>
<testsuite name="R5-Unit">
<directory>./output/HL7/FHIR/R5/PHPFHIRTests/Unit</directory>
</testsuite>
<testsuite name="R5-Integration">
<directory>./output/HL7/FHIR/R5/PHPFHIRTests/Integration</directory>
</testsuite>
</testsuites>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="./vendor/autoload.php" colors="true" stopOnFailure="false">
<php>
<ini name="memory_limit" value="2048M"/>
</php>
<testsuites>
<testsuite name="DSTU1-Core">
<file>./output/HL7/FHIR/DSTU1/PHPFHIRTests/PHPFHIRConstantsTest.php</file>
<file>./output/HL7/FHIR/DSTU1/PHPFHIRTests/PHPFHIRTypeMapTest.php</file>
</testsuite>
<testsuite name="DSTU1-Unit">
<directory>./output/HL7/FHIR/DSTU1/PHPFHIRTests/Unit</directory>
</testsuite>
<testsuite name="DSTU2-Core">
<file>./output/HL7/FHIR/DSTU2/PHPFHIRTests/PHPFHIRConstantsTest.php</file>
<file>./output/HL7/FHIR/DSTU2/PHPFHIRTests/PHPFHIRTypeMapTest.php</file>
</testsuite>
<testsuite name="DSTU2-Unit">
<directory>./output/HL7/FHIR/DSTU2/PHPFHIRTests/Unit</directory>
</testsuite>
<testsuite name="DSTU2-Integration">
<directory>./output/HL7/FHIR/DSTU2/PHPFHIRTests/Integration</directory>
</testsuite>
<testsuite name="STU3-Core">
<file>./output/HL7/FHIR/STU3/PHPFHIRTests/PHPFHIRConstantsTest.php</file>
<file>./output/HL7/FHIR/STU3/PHPFHIRTests/PHPFHIRTypeMapTest.php</file>
</testsuite>
<testsuite name="STU3-Unit">
<directory>./output/HL7/FHIR/STU3/PHPFHIRTests/Unit</directory>
</testsuite>
<testsuite name="STU3-Integration">
<directory>./output/HL7/FHIR/STU3/PHPFHIRTests/Integration</directory>
</testsuite>
<testsuite name="R4-Core">
<file>./output/HL7/FHIR/R4/PHPFHIRTests/PHPFHIRConstantsTest.php</file>
<file>./output/HL7/FHIR/R4/PHPFHIRTests/PHPFHIRTypeMapTest.php</file>
</testsuite>
<testsuite name="R4-Unit">
<directory>./output/HL7/FHIR/R4/PHPFHIRTests/Unit</directory>
</testsuite>
<testsuite name="R4-Integration">
<directory>./output/HL7/FHIR/R4/PHPFHIRTests/Integration</directory>
</testsuite>
<testsuite name="R5-Core">
<file>./output/HL7/FHIR/R5/PHPFHIRTests/PHPFHIRConstantsTest.php</file>
<file>./output/HL7/FHIR/R5/PHPFHIRTests/PHPFHIRTypeMapTest.php</file>
</testsuite>
<testsuite name="R5-Unit">
<directory>./output/HL7/FHIR/R5/PHPFHIRTests/Unit</directory>
</testsuite>
<testsuite name="R5-Integration">
<directory>./output/HL7/FHIR/R5/PHPFHIRTests/Integration</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>
4 changes: 2 additions & 2 deletions phpunit/DSTU1.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="../vendor/autoload.php" colors="true" stopOnFailure="true">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="../vendor/autoload.php" colors="true" stopOnFailure="false">
<php>
<ini name="memory_limit" value="2048M"/>
</php>
<testsuites>
<testsuite name="DSTU1-Static">
<testsuite name="DSTU1-Core">
<file>../output/HL7/FHIR/DSTU1/PHPFHIRTests/PHPFHIRConstantsTest.php</file>
<file>../output/HL7/FHIR/DSTU1/PHPFHIRTests/PHPFHIRTypeMapTest.php</file>
</testsuite>
Expand Down
4 changes: 2 additions & 2 deletions phpunit/DSTU2.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="../vendor/autoload.php" colors="true" stopOnFailure="true">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="../vendor/autoload.php" colors="true" stopOnFailure="false">
<php>
<ini name="memory_limit" value="2048M"/>
</php>
<testsuites>
<testsuite name="DSTU2-Static">
<testsuite name="DSTU2-Core">
<file>../output/HL7/FHIR/DSTU2/PHPFHIRTests/PHPFHIRConstantsTest.php</file>
<file>../output/HL7/FHIR/DSTU2/PHPFHIRTests/PHPFHIRTypeMapTest.php</file>
</testsuite>
Expand Down
4 changes: 2 additions & 2 deletions phpunit/R4.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="../vendor/autoload.php" colors="true" stopOnFailure="true">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="../vendor/autoload.php" colors="true" stopOnFailure="false">
<php>
<ini name="memory_limit" value="2048M"/>
</php>
<testsuites>
<testsuite name="R4-Static">
<testsuite name="R4-Core">
<file>../output/HL7/FHIR/R4/PHPFHIRTests/PHPFHIRConstantsTest.php</file>
<file>../output/HL7/FHIR/R4/PHPFHIRTests/PHPFHIRTypeMapTest.php</file>
</testsuite>
Expand Down
4 changes: 2 additions & 2 deletions phpunit/R5.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="../vendor/autoload.php" colors="true" stopOnFailure="true">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="../vendor/autoload.php" colors="true" stopOnFailure="false">
<php>
<ini name="memory_limit" value="2048M"/>
</php>
<testsuites>
<testsuite name="R5-Static">
<testsuite name="R5-Core">
<file>../output/HL7/FHIR/R5/PHPFHIRTests/PHPFHIRConstantsTest.php</file>
<file>../output/HL7/FHIR/R5/PHPFHIRTests/PHPFHIRTypeMapTest.php</file>
</testsuite>
Expand Down
4 changes: 2 additions & 2 deletions phpunit/STU3.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="../vendor/autoload.php" colors="true" stopOnFailure="true">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="../vendor/autoload.php" colors="true" stopOnFailure="false">
<php>
<ini name="memory_limit" value="2048M"/>
</php>
<testsuites>
<testsuite name="STU3-Static">
<testsuite name="STU3-Core">
<file>../output/HL7/FHIR/STU3/PHPFHIRTests/PHPFHIRConstantsTest.php</file>
<file>../output/HL7/FHIR/STU3/PHPFHIRTests/PHPFHIRTypeMapTest.php</file>
</testsuite>
Expand Down

0 comments on commit 5ad9787

Please sign in to comment.