Searched refs:TestState (Results 1 – 7 of 7) sorted by relevance
62 fun param(pair: Pair<String, TestState.() -> Unit>, type: Params.Type): Params { in <lambda>()202 fun TestState.mockActor(actorUri: String) { in <lambda>() method307 .fold(TestState.create()) { testState, case -> in <lambda>()324 private fun TestState.toResult() = OverlayActorEnforcer(this) in <lambda>() method332 val function: TestState.() -> Unit in <lambda>()344 val failures: MutableList<Pair<String, TestState.() -> Unit>> = mutableListOf(), in <lambda>()345 var allowed: MutableList<Pair<String, TestState.() -> Unit>> = mutableListOf(), in <lambda>()346 var skip: (TestState.() -> Unit) = {} in <lambda>()348 fun failure(caseName: String, block: TestState.() -> Unit) { in <lambda>()352 fun allowed(caseName: String, block: TestState.() -> Unit) { in <lambda>()[all …]
597 private static class TestState<T> { class in NitzStateMachineImplTest654 public final TestState<TelephonyTimeSuggestion> suggestedTimes = new TestState<>();655 public final TestState<TelephonyTimeZoneSuggestion> suggestedTimeZones = new TestState<>();
32 public class TestState<T> { class
1080 private final TestState<ConfigurationInternal> mConfigurationInternal = new TestState<>();1081 private final TestState<String> mTimeZoneId = new TestState<>();
46 import com.android.server.timezonedetector.TestState;271 private final TestState<ProviderState> mReportedProviderStateChanges = new TestState<>();
43 import com.android.server.timezonedetector.TestState;1145 private TestState<GeolocationTimeZoneSuggestion> mLatestSuggestion = new TestState<>();1175 private final TestState<ProviderState> mTestProviderState = new TestState<>();
39 class TestState(object): class352 state = TestState(