DefaultRenderersFactoryAsserts


@UnstableApi
class DefaultRenderersFactoryAsserts


Assertions for DefaultRenderersFactory.

Summary

Public constructors

Public functions

java-static Unit
assertExtensionRendererCreated(
    clazz: Class<Renderer!>!,
    @C.TrackType type: Int
)

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.

Public constructors

DefaultRenderersFactoryAsserts

DefaultRenderersFactoryAsserts()

Public functions

assertExtensionRendererCreated

java-static fun assertExtensionRendererCreated(
    clazz: Class<Renderer!>!,
    @C.TrackType type: Int
): Unit

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
clazz: Class<Renderer!>!

The extension renderer class.

@C.TrackType type: Int

The type of the renderer.