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()
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()
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()
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/
DUnlockScreenRuleTest.java41 Statement testStatement = in testScreenOff() local
50 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testScreenOff()
57 Statement testStatement = in testScreenLocked() local
66 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testScreenLocked()
73 Statement testStatement = in testScreenOn() local
82 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.java49 Statement testStatement = new Statement() { in testPressHomeEnabled() local
56 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testPressHomeEnabled()
71 Statement testStatement = new Statement() { in testPressHomeDisabled() local
78 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testPressHomeDisabled()
DGarbageCollectRuleTest.java57 Statement testStatement = new Statement() { in testCallsGcBeforeTest() local
66 rule.apply(testStatement, in testCallsGcBeforeTest()
DNaturalOrientationRuleTest.java43 Statement testStatement = new Statement() { in testNaturalOrientationSetAndUnset() local
51 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testNaturalOrientationSetAndUnset()