@NotThreadSafe @Experimental public class BigqueryMatcher extends TypeSafeMatcher<PipelineResult> implements SerializableMatcher<PipelineResult>
Example:
[
assertThat(job, new BigqueryMatcher(appName, projectId, queryString, expectedChecksum));
]| Constructor and Description |
|---|
BigqueryMatcher(java.lang.String applicationName,
java.lang.String projectId,
java.lang.String query,
java.lang.String expectedChecksum) |
| Modifier and Type | Method and Description |
|---|---|
static BigqueryMatcher |
createUsingStandardSql(java.lang.String applicationName,
java.lang.String projectId,
java.lang.String query,
java.lang.String expectedChecksum) |
void |
describeMismatchSafely(PipelineResult pResult,
Description description) |
void |
describeTo(Description description) |
protected boolean |
matchesSafely(PipelineResult pipelineResult) |
describeMismatch, matches_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, matchespublic BigqueryMatcher(java.lang.String applicationName,
java.lang.String projectId,
java.lang.String query,
java.lang.String expectedChecksum)
public static BigqueryMatcher createUsingStandardSql(java.lang.String applicationName, java.lang.String projectId, java.lang.String query, java.lang.String expectedChecksum)
protected boolean matchesSafely(PipelineResult pipelineResult)
matchesSafely in class TypeSafeMatcher<PipelineResult>public void describeTo(Description description)
describeTo in interface SelfDescribingpublic void describeMismatchSafely(PipelineResult pResult, Description description)
describeMismatchSafely in class TypeSafeMatcher<PipelineResult>