DefaultRenderersFactoryAsserts
@UnstableApi
public final class DefaultRenderersFactoryAsserts
Assertions for DefaultRenderersFactory.
Summary
Public constructors |
|---|
Public methods |
|
|---|---|
static void |
assertExtensionRendererCreated(Asserts that an extension renderer of type |
Public constructors
Public methods
assertExtensionRendererCreated
public static void assertExtensionRendererCreated(
Class<Renderer> clazz,
@C.TrackType int type
)
Asserts that an extension renderer of type clazz is not instantiated for EXTENSION_RENDERER_MODE_OFF, and that it's instantiated in the correct position relative to other renderers of the same type for EXTENSION_RENDERER_MODE_ON and EXTENSION_RENDERER_MODE_PREFER, assuming no other extension renderers can be loaded.
| Parameters | |
|---|---|
Class<Renderer> clazz |
The extension renderer class. |
@C.TrackType int type |
The type of the renderer. |