More fix build
This commit is contained in:
parent
0f74db0acd
commit
70222ecf15
|
@ -25,7 +25,7 @@ import org.junit.Test;
|
|||
import ca.uhn.fhir.context.FhirContext;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.rest.annotation.Search;
|
||||
import ca.uhn.fhir.util.PatternMatcher;
|
||||
import ca.uhn.fhir.util.PatternMatcherB;
|
||||
import ca.uhn.fhir.util.PortUtil;
|
||||
|
||||
/**
|
||||
|
@ -85,7 +85,7 @@ public class SearchHl7OrgDstu2Test {
|
|||
ourLog.info(responseContent);
|
||||
|
||||
assertEquals(200, status.getStatusLine().getStatusCode());
|
||||
assertThat(responseContent, PatternMatcher.pattern("id value..[0-9a-f-]+\\\""));
|
||||
assertThat(responseContent, PatternMatcherB.pattern("id value..[0-9a-f-]+\\\""));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -41,10 +41,10 @@ import ca.uhn.fhir.util.PortUtil;
|
|||
/**
|
||||
* Created by dsotnikov on 2/25/2014.
|
||||
*/
|
||||
public class UpdateConditionalTest {
|
||||
public class UpdateConditionalHl7OrgDstu2Test {
|
||||
private static CloseableHttpClient ourClient;
|
||||
private static String ourLastConditionalUrl;
|
||||
private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(UpdateConditionalTest.class);
|
||||
private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(UpdateConditionalHl7OrgDstu2Test.class);
|
||||
private static int ourPort;
|
||||
private static FhirContext ourCtx = FhirContext.forDstu2Hl7Org();
|
||||
private static Server ourServer;
|
|
@ -40,7 +40,7 @@ import ca.uhn.fhir.util.PortUtil;
|
|||
/**
|
||||
* Created by dsotnikov on 2/25/2014.
|
||||
*/
|
||||
public class ValidateDstu2Test {
|
||||
public class ValidateHl7OrgDstu2Test {
|
||||
private static CloseableHttpClient ourClient;
|
||||
private static EncodingEnum ourLastEncoding;
|
||||
private static String ourLastResourceBody;
|
|
@ -9,7 +9,7 @@ import org.hamcrest.TypeSafeMatcher;
|
|||
/**
|
||||
* Tests if the argument is a {@link CharSequence} that matches a regular expression.
|
||||
*/
|
||||
public class PatternMatcher extends TypeSafeMatcher<CharSequence> {
|
||||
public class PatternMatcherB extends TypeSafeMatcher<CharSequence> {
|
||||
|
||||
/**
|
||||
* Creates a matcher that matches if the examined {@link CharSequence} matches the specified regular expression.
|
||||
|
@ -42,12 +42,12 @@ public class PatternMatcher extends TypeSafeMatcher<CharSequence> {
|
|||
*/
|
||||
@Factory
|
||||
public static Matcher<CharSequence> pattern(Pattern pattern) {
|
||||
return new PatternMatcher(pattern);
|
||||
return new PatternMatcherB(pattern);
|
||||
}
|
||||
|
||||
private final Pattern pattern;
|
||||
|
||||
public PatternMatcher(Pattern pattern) {
|
||||
public PatternMatcherB(Pattern pattern) {
|
||||
this.pattern = pattern;
|
||||
}
|
||||
|
Loading…
Reference in New Issue