public class ArtifactAsserts
extends java.lang.Object
Constructor and Description |
---|
ArtifactAsserts() |
Modifier and Type | Method and Description |
---|---|
static ArtifactsSubject |
assertThatArtifact(Artifact artifact)
Creates an
ArtifactsSubject to assert information for an artifact obtained from Cloud
Storage. |
static ArtifactsSubject |
assertThatArtifacts(java.util.List<Artifact> artifacts)
Creates an
ArtifactsSubject to assert information within a list of artifacts obtained
from Cloud Storage. |
static org.apache.beam.it.truthmatchers.RecordsSubject |
assertThatGenericRecords(java.util.List<GenericRecord> records)
Creates an
RecordsSubject to assert information within a list of records. |
public static ArtifactsSubject assertThatArtifacts(java.util.List<Artifact> artifacts)
ArtifactsSubject
to assert information within a list of artifacts obtained
from Cloud Storage.artifacts
- Artifacts in list format to use in the comparisons.public static ArtifactsSubject assertThatArtifact(Artifact artifact)
ArtifactsSubject
to assert information for an artifact obtained from Cloud
Storage.artifact
- Artifact to use in the comparisons.public static org.apache.beam.it.truthmatchers.RecordsSubject assertThatGenericRecords(java.util.List<GenericRecord> records)
RecordsSubject
to assert information within a list of records.records
- Records in Avro/Parquet GenericRecord
format to use in the comparison.