Add changelog and credit for #867
This commit is contained in:
parent
6da4ec1156
commit
98d997c620
|
@ -1,26 +1,31 @@
|
|||
package org.hl7.fhir.dstu3.model;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
public class HumanNameDstu3Test {
|
||||
@Ignore("Issue #865")
|
||||
/**
|
||||
* See #865
|
||||
*/
|
||||
@Test
|
||||
public void hasGivenFindsParameter() {
|
||||
HumanName humanName = new HumanName().addGiven("test");
|
||||
assertTrue(humanName.hasGiven("test"));
|
||||
}
|
||||
|
||||
@Ignore("Issue #865")
|
||||
/**
|
||||
* See #865
|
||||
*/
|
||||
@Test
|
||||
public void hasPrefixFindsParameter() {
|
||||
HumanName humanName = new HumanName().addPrefix("test");
|
||||
assertTrue(humanName.hasPrefix("test"));
|
||||
}
|
||||
|
||||
@Ignore("Issue #865")
|
||||
/**
|
||||
* See #865
|
||||
*/
|
||||
@Test
|
||||
public void hasSuffixFindsParameter() {
|
||||
HumanName humanName = new HumanName().addSuffix("test");
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
package org.hl7.fhir.r4.model;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
public class HumanNameR4Test {
|
||||
/**
|
||||
* See #865
|
||||
*/
|
||||
@Test
|
||||
public void hasGivenFindsParameter() {
|
||||
HumanName humanName = new HumanName().addGiven("test");
|
||||
assertTrue(humanName.hasGiven("test"));
|
||||
}
|
||||
|
||||
/**
|
||||
* See #865
|
||||
*/
|
||||
@Test
|
||||
public void hasPrefixFindsParameter() {
|
||||
HumanName humanName = new HumanName().addPrefix("test");
|
||||
assertTrue(humanName.hasPrefix("test"));
|
||||
}
|
||||
|
||||
/**
|
||||
* See #865
|
||||
*/
|
||||
@Test
|
||||
public void hasSuffixFindsParameter() {
|
||||
HumanName humanName = new HumanName().addSuffix("test");
|
||||
assertTrue(humanName.hasSuffix("test"));
|
||||
}
|
||||
}
|
4
pom.xml
4
pom.xml
|
@ -444,6 +444,10 @@
|
|||
<name>Gaetano Gallo</name>
|
||||
<organization>InterComponentWare AG</organization>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>jasonaown</id>
|
||||
<name>Jason Owen</name>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<licenses>
|
||||
|
|
|
@ -211,6 +211,12 @@
|
|||
the parameter validation was improved to only change state after validating
|
||||
that parameters were valid. Thanks to Gaetano Gallo for the pull request!
|
||||
</action>
|
||||
<action type="fix" issue="867">
|
||||
The HumanName DSTU3+ datatype had convenience methods for testing
|
||||
whether the name has a specific given name or not, but these methods
|
||||
did not work. Thanks to Jason Owen for reporting and providing a test
|
||||
case!
|
||||
</action>
|
||||
</release>
|
||||
<release version="3.3.0" date="2018-03-29">
|
||||
<action type="add">
|
||||
|
|
Loading…
Reference in New Issue