fix failing tests
This commit is contained in:
parent
cf1b53bba0
commit
d8e2e020af
|
@ -48,6 +48,7 @@ public class ValueSetProcessBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void seeValueSet(ValueSet vs) {
|
public void seeValueSet(ValueSet vs) {
|
||||||
|
if (vs != null) {
|
||||||
for (Extension ext : vs.getCompose().getExtension()) {
|
for (Extension ext : vs.getCompose().getExtension()) {
|
||||||
if ("http://hl7.org/fhir/tools/StructureDefinion/valueset-expansion-param".equals(ext.getUrl())) {
|
if ("http://hl7.org/fhir/tools/StructureDefinion/valueset-expansion-param".equals(ext.getUrl())) {
|
||||||
String name = ext.getExtensionString("name");
|
String name = ext.getExtensionString("name");
|
||||||
|
@ -58,6 +59,7 @@ public class ValueSetProcessBase {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public boolean passes(List<Extension> extensions) {
|
public boolean passes(List<Extension> extensions) {
|
||||||
if (all) {
|
if (all) {
|
||||||
|
|
|
@ -22,7 +22,7 @@ public class UnicodeUtilitiesTests {
|
||||||
Assertions.assertNull(UnicodeUtilities.checkUnicodeWellFormed(UnicodeUtilities.RLI + " "+ UnicodeUtilities.LRI + "a b c "+
|
Assertions.assertNull(UnicodeUtilities.checkUnicodeWellFormed(UnicodeUtilities.RLI + " "+ UnicodeUtilities.LRI + "a b c "+
|
||||||
UnicodeUtilities.PDI+" "+UnicodeUtilities.LRI+" d e f "+UnicodeUtilities.PDI+" "+UnicodeUtilities.PDI));
|
UnicodeUtilities.PDI+" "+UnicodeUtilities.LRI+" d e f "+UnicodeUtilities.PDI+" "+UnicodeUtilities.PDI));
|
||||||
Assertions.assertEquals(UnicodeUtilities.checkUnicodeWellFormed("'''subject funds from back account then "+UnicodeUtilities.RLI + "''' ;return"),
|
Assertions.assertEquals(UnicodeUtilities.checkUnicodeWellFormed("'''subject funds from back account then "+UnicodeUtilities.RLI + "''' ;return"),
|
||||||
"Unicode Character RLI at index 40 has no terminating match");
|
"Unicode Character RLI at index 40 has no terminating match (preceding text = 'then ')");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue