LithoStatsRule

open class LithoStatsRule : TestRule

This rule resets the litho stats counters resetAllCounters after every test, and provides utilities methods to get the litho stats.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun apply(base: Statement, description: Description): Statement
Link copied to clipboard
Link copied to clipboard
open fun getLayoutCount(): Long
Link copied to clipboard
open fun getResolveCount(): Long
Link copied to clipboard
open fun resetAllCounters()
Resets all the counter.