fun CountingIdlingResource(resourceName: String, debugCounting: Boolean) { require(!TextUtils.isEmpty(resourceName)) { "Resource name must not be empty or null" } this.resourceName = resourceName this.debugCounting = debugCounting }
Creates a CountingIdlingResource .