# ExtractorAsserts.AssertionConfig

# 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)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/test/utils/ExtractorAsserts.AssertionConfig "View this page in Java")

<br />

```
class ExtractorAsserts.AssertionConfig
```

<br />

*** ** * ** ***

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

## Summary

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

|                                ### Public properties                                 |
|--------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)  | [deduplicateConsecutiveFormats](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/ExtractorAsserts.AssertionConfig#deduplicateConsecutiveFormats()) Controls how consecutive formats with no intervening samples are handled. |
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`?` | [dumpFilesPrefix](https://developer.android.com/reference/kotlin/androidx/media3/test/utils/ExtractorAsserts.AssertionConfig#dumpFilesPrefix()) The prefix prepended to the dump files path.                                                          |

## Public properties

### deduplicateConsecutiveFormats

```
val deduplicateConsecutiveFormats: Boolean
```

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

```
val dumpFilesPrefix: String?
```

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`