ExtractorAsserts.AssertionConfig


public class ExtractorAsserts.AssertionConfig


A config for the assertions made (e.g. dump file location).

Summary

Nested types

Builder for AssertionConfig instances.

Public fields

final boolean

Controls how consecutive formats with no intervening samples are handled.

final @Nullable String

The prefix prepended to the dump files path.

Public fields

deduplicateConsecutiveFormats

public final boolean deduplicateConsecutiveFormats

Controls how consecutive formats with no intervening samples are handled. If true, only the last format received is retained. If false, consecutive formats with no samples cause the test to fail.

dumpFilesPrefix

public final @Nullable String dumpFilesPrefix

The prefix prepended to the dump files path. If not set, the path to the source data will be used to derive this assuming the following path structure:

  • Media: media/$mediapath
  • Dumps: extractordumps/$mediapath