# ExtractorAsserts.AssertionConfig

Artifact: [androidx.media3:media3-test-utils](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/test/utils/ExtractorAsserts.java+class:androidx.media3.test.utils.ExtractorAsserts.AssertionConfig)

*** ** * ** ***


```
public class ExtractorAsserts.AssertionConfig
```

<br />

*** ** * ** ***

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

## Summary

| ### Nested types |
|---|
| `public class https://developer.android.com/reference/androidx/media3/test/utils/ExtractorAsserts.AssertionConfig.Builder` Builder for `https://developer.android.com/reference/androidx/media3/test/utils/ExtractorAsserts.AssertionConfig` instances. |

| ### Public fields |
|---|---|
| `final boolean` | `https://developer.android.com/reference/androidx/media3/test/utils/ExtractorAsserts.AssertionConfig#deduplicateConsecutiveFormats()` Controls how consecutive formats with no intervening samples are handled. |
| `final @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/test/utils/ExtractorAsserts.AssertionConfig#dumpFilesPrefix()` 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`