Home
last modified time | relevance | path

Searched refs:testStatement (Results 1 – 11 of 11) sorted by relevance

/platform_testing/libraries/health/options/tests/src/android/platform/test/options/
DTestOptionTest.java74 Statement testStatement = in testSuppliedValue_valid() local
81 Statement withOption = option.apply(testStatement, Description.EMPTY); in testSuppliedValue_valid()
92 Statement testStatement = in testSuppliedValue_invalid() local
99 Statement withOption = option.apply(testStatement, Description.EMPTY); in testSuppliedValue_invalid()
109 Statement testStatement = in testRequiredValueAbsent_explicit() local
116 Statement withOption = option.apply(testStatement, Description.EMPTY); in testRequiredValueAbsent_explicit()
126 Statement testStatement = in testRequiredValueAbsent_implicit() local
133 Statement withOption = option.apply(testStatement, Description.EMPTY); in testRequiredValueAbsent_implicit()
142 Statement testStatement = in testRequiredValueAbsent_withDefault() local
149 Statement withOption = option.apply(testStatement, Description.EMPTY); in testRequiredValueAbsent_withDefault()
[all …]
DBooleanOptionTest.java53 Statement testStatement = in testParsing_true() local
60 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_true()
69 Statement testStatement = in testParsing_false() local
76 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_false()
DLongOptionTest.java59 Statement testStatement = in testParsing_valid() local
66 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_valid()
77 Statement testStatement = in testParsing_invalid() local
84 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_invalid()
DIntegerOptionTest.java59 Statement testStatement = in testParsing_valid() local
66 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_valid()
77 Statement testStatement = in testParsing_invalid() local
84 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_invalid()
DDoubleOptionTest.java59 Statement testStatement = in testParsing_valid() local
66 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_valid()
77 Statement testStatement = in testParsing_invalid() local
84 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_invalid()
DStringOptionTest.java54 Statement testStatement = in testRetrieval() local
61 Statement withOption = option.apply(testStatement, Description.EMPTY); in testRetrieval()
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DGarbageCollectRuleTest.java45 Statement testStatement = new Statement() { in testNoGcBeforeTest() local
51 rule.apply(testStatement, in testNoGcBeforeTest()
63 Statement testStatement = in testCallsGcBeforeTest() local
75 rule.apply(testStatement, in testCallsGcBeforeTest()
87 Statement testStatement = new Statement() { in testCallsGcBeforeAndAfterTest() local
95 rule.apply(testStatement, in testCallsGcBeforeAndAfterTest()
109 Statement testStatement = new Statement() { in testCallsGcOnlyBeforeTest() local
117 rule.apply(testStatement, in testCallsGcOnlyBeforeTest()
130 Statement testStatement = in testExtendWaitTime() local
139 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testExtendWaitTime()
DUnlockScreenRuleTest.java44 Statement testStatement = in testScreenOff() local
53 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testScreenOff()
60 Statement testStatement = in testScreenLocked() local
69 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testScreenLocked()
76 Statement testStatement = in testScreenOn() local
85 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testScreenOn()
DNotificationPressureRuleTest.java44 Statement testStatement = in testPostNotifications_withoutPackage() local
54 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")) in testPostNotifications_withoutPackage()
69 Statement testStatement = in testPostNotifications_withPackage() local
79 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testPostNotifications_withPackage()
DPressHomeRuleTest.java48 Statement testStatement = new Statement() { in testPressHomeEnabled() local
55 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testPressHomeEnabled()
70 Statement testStatement = new Statement() { in testPressHomeDisabled() local
77 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testPressHomeDisabled()
DDex2oatPressureRuleTest.java206 Statement testStatement = in testWaitsUntilDex2oatIsRunningBeforeTest() local
215 rule.apply(testStatement, TEST_DESCRIPTION).evaluate(); in testWaitsUntilDex2oatIsRunningBeforeTest()