Home
last modified time | relevance | path

Searched refs:evaluate (Results 1 – 25 of 84) sorted by relevance

1234

/platform_testing/libraries/health/options/tests/src/android/platform/test/options/
DTestOptionTest.java77 public void evaluate() throws Throwable { in testSuppliedValue_valid()
82 withOption.evaluate(); in testSuppliedValue_valid()
95 public void evaluate() throws Throwable { in testSuppliedValue_invalid()
100 withOption.evaluate(); in testSuppliedValue_invalid()
112 public void evaluate() throws Throwable { in testRequiredValueAbsent_explicit()
117 withOption.evaluate(); in testRequiredValueAbsent_explicit()
129 public void evaluate() throws Throwable { in testRequiredValueAbsent_implicit()
134 withOption.evaluate(); in testRequiredValueAbsent_implicit()
145 public void evaluate() throws Throwable { in testRequiredValueAbsent_withDefault()
150 withOption.evaluate(); in testRequiredValueAbsent_withDefault()
[all …]
DBooleanOptionTest.java56 public void evaluate() throws Throwable { in testParsing_true()
61 withOption.evaluate(); in testParsing_true()
72 public void evaluate() throws Throwable { in testParsing_false()
77 withOption.evaluate(); in testParsing_false()
DLongOptionTest.java62 public void evaluate() throws Throwable { in testParsing_valid()
67 withOption.evaluate(); in testParsing_valid()
80 public void evaluate() throws Throwable { in testParsing_invalid()
85 withOption.evaluate(); in testParsing_invalid()
DIntegerOptionTest.java62 public void evaluate() throws Throwable { in testParsing_valid()
67 withOption.evaluate(); in testParsing_valid()
80 public void evaluate() throws Throwable { in testParsing_invalid()
85 withOption.evaluate(); in testParsing_invalid()
DDoubleOptionTest.java62 public void evaluate() throws Throwable { in testParsing_valid()
67 withOption.evaluate(); in testParsing_valid()
80 public void evaluate() throws Throwable { in testParsing_invalid()
85 withOption.evaluate(); in testParsing_invalid()
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DGarbageCollectRuleTest.java47 public void evaluate() throws Throwable { in testNoGcBeforeTest()
52 Description.createTestDescription("clzz", "mthd")).evaluate(); in testNoGcBeforeTest()
66 public void evaluate() throws Throwable { in testCallsGcBeforeTest()
76 Description.createTestDescription("clzz", "mthd")).evaluate(); in testCallsGcBeforeTest()
89 public void evaluate() throws Throwable { in testCallsGcBeforeAndAfterTest()
96 Description.createTestDescription("clzz", "mthd")).evaluate(); in testCallsGcBeforeAndAfterTest()
111 public void evaluate() throws Throwable { in testCallsGcOnlyBeforeTest()
118 Description.createTestDescription("clzz", "mthd")).evaluate(); in testCallsGcOnlyBeforeTest()
133 public void evaluate() throws Throwable { in testExtendWaitTime()
139 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testExtendWaitTime()
DStopwatchRuleTest.java44 public void evaluate() throws Throwable { in testMeasurementIsCorrect()
49 .evaluate(); in testMeasurementIsCorrect()
66 public void evaluate() throws Throwable {} in testMetricSendToInstr()
69 .evaluate(); in testMetricSendToInstr()
81 public void evaluate() throws Throwable { in testMetricKeyWithoutAppend()
86 .evaluate(); in testMetricKeyWithoutAppend()
102 public void evaluate() throws Throwable { in testMetricKeyWithAppend()
107 .evaluate(); in testMetricKeyWithAppend()
DTracePointRuleTest.java39 .evaluate(); in testNoNameGiven()
48 .evaluate(); in testEmptyStringGiven()
57 .evaluate(); in testTagGiven()
66 .evaluate(); in testTraceCallOrder()
76 .evaluate(); in testSectionNameMaxLength_withTag()
85 .evaluate(); in testSectionNameMaxLength_withTestName()
128 public void evaluate() throws Throwable { in getTestStatement()
DUnlockScreenRuleTest.java47 public void evaluate() throws Throwable { in testScreenOff()
53 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testScreenOff()
63 public void evaluate() throws Throwable { in testScreenLocked()
69 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testScreenLocked()
79 public void evaluate() throws Throwable { in testScreenOn()
85 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testScreenOn()
DTestWatcherTest.java41 .evaluate(); in testAllCallsSuccessful()
54 .evaluate(); in testCallsFail_starting()
70 .evaluate(); in testCallsFail_statement()
86 .evaluate(); in testCallsFail_succeeded()
102 .evaluate(); in testStatementIsSkipped()
118 .evaluate(); in testCallFails_skipped()
135 .evaluate(); in testCallsFail_failed()
151 .evaluate(); in testCallsFail_finished()
237 public void evaluate() throws Throwable { in getTestStatement()
DCompilationFilterRuleTest.java58 .evaluate(); in testNoAppToCompile()
77 .evaluate(); in testSingleAppToCompile()
91 rule.apply(rule.getTestStatement(), TEST_DESC).evaluate(); in testAppToCompile_badFilterThrows()
111 rule.apply(rule.getTestStatement(), TEST_DESC).evaluate(); in testAppToCompile_failCompilationThrows()
131 .evaluate(); in testOneAppToCompile()
151 rule.apply(rule.getTestStatement(), test1).evaluate(); in testOneAppToCompileMultipleIterations()
152 rule.apply(rule.getTestStatement(), test2).evaluate(); in testOneAppToCompileMultipleIterations()
186 rule.apply(rule.getTestStatement(), test1).evaluate(); in testOneAppMultipleCompileMultipleTests()
187 rule.apply(rule.getTestStatement(), test2).evaluate(); in testOneAppMultipleCompileMultipleTests()
222 .evaluate(); in testOneAppToCompileDuplicateTests()
[all …]
DKillAppsRuleTest.java59 .evaluate(); in testOneAppToKill()
73 .evaluate(); in testOneAppToKillAfterTestRun()
89 .evaluate(); in testMultipleAppsToKill()
109 .evaluate(); in testMultipleAppsToKillAfterTestRun()
130 .evaluate(); in testDisableKillsAppsRuleOption()
166 public void evaluate() throws Throwable { in getTestStatement()
DDynamicRuleChainTest.java49 public void evaluate() {
57 public void evaluate() {
75 applied.evaluate(); in testAppliesRuleBySimpleClassNameForRulesInKnownPackage()
84 applied.evaluate(); in testRuleCallbacks()
95 applied.evaluate(); in testAppliesRuleByFullyQualifiedClassName()
126 applied.evaluate(); in testMultipleRulesAreAppliedInCorrectOrder()
157 applied.evaluate(); in testSupportsDuplicateSimpleRuleNames()
178 applied.evaluate(); in testSupportsDuplicateFullyQualifiedRuleNames()
199 applied.evaluate(); in testRulesOptionNameOverride()
DNotificationPressureRuleTest.java47 public void evaluate() throws Throwable { in testPostNotifications_withoutPackage()
55 .evaluate(); in testPostNotifications_withoutPackage()
72 public void evaluate() throws Throwable { in testPostNotifications_withPackage()
79 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testPostNotifications_withPackage()
DQuickstepPressureRuleTest.java42 .evaluate(); in testNoAppToOpenFails()
55 .evaluate(); in testOneAppToOpen()
68 .evaluate(); in testMultipleAppsToOpen()
82 .evaluate(); in testOneAppToOpenFromOption()
121 public void evaluate() throws Throwable { in getTestStatement()
DPressHomeRuleTest.java50 public void evaluate() throws Throwable { in testPressHomeEnabled()
55 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testPressHomeEnabled()
72 public void evaluate() throws Throwable { in testPressHomeDisabled()
77 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testPressHomeDisabled()
DSetDefaultVolumeRuleTest.kt35 rule.apply(statement, description).evaluate() in testSetDefaultMinVolumeRule()
52 rule.apply(statement, description).evaluate() in testSetDefaultMaxVolumeRule()
65 override fun evaluate() {} in evaluate() method in android.platform.test.rule.SetDefaultVolumeRuleTest
DDropCachesRuleTest.java43 .evaluate(); in testDropCachesCommand()
59 .evaluate(); in testNoDropCacheFlag()
72 .evaluate(); in testNoSync()
104 public void evaluate() throws Throwable { in getTestStatement()
/platform_testing/libraries/flicker/utils/test/src/android/tools/rules/
DInitializeCrossPlatformRule.kt26 override fun evaluate() { in apply() method
27 base?.evaluate() in apply()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DHardwareRenderingRule.kt33 override fun evaluate() { in apply() method
35 base.evaluate() in apply()
DTimeZoneRule.kt33 override fun evaluate() { in apply() method
39 base.evaluate() in apply()
DFontsRule.kt38 override fun evaluate() { in apply() method
41 base.evaluate() in apply()
/platform_testing/libraries/flag-helpers/junit/test/src/android/platform/test/flag/junit/
DAnnotationTestRuleHelper.java122 public void evaluate() throws Throwable { in prepareTest()
124 mTestCode.evaluate(); in prepareTest()
140 public void evaluate() throws Throwable { in prepareTest()
141 mPreTestCode.evaluate(); in prepareTest()
142 testRuleStatement.evaluate(); in prepareTest()
170 mStatement.evaluate(); in runAndReturnFailure()
238 mStatement.evaluate(); in assertPasses()
271 void evaluate() throws Throwable; in evaluate() method
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/
DTransitionExecutionRuleTest.kt74 rule.apply(base = null, description = Consts.description(this)).evaluate() in runSuccessfully()
82 rule.apply(base = null, description = Consts.description(this)).evaluate() in setTransitionStartAndEndTime()
92 rule.apply(base = null, description = Consts.description(this)).evaluate() in throwsTransitionFailure()
103 rule.apply(base = null, description = Consts.description(this)).evaluate() in throwsTransitionFailureEmptyTransitions()
114 rule.apply(base = null, description = Consts.description(this)).evaluate() in throwsAssertionFailure()
124 rule.apply(base = null, description = Consts.description(this)).evaluate() in createsValidTags()
157 rule.apply(base = null, description = Consts.description(this)).evaluate() in throwErrorCreateInvalidTagWithSpace()
168 rule.apply(base = null, description = Consts.description(this)).evaluate() in throwErrorCreateInvalidTagDuplicate()
179 rule.apply(base = null, description = Consts.description(this)).evaluate() in throwErrorCreateInvalidTagWithUnderscore()
DTraceMonitorRuleTest.kt59 rule.apply(base = null, description = Consts.description(this)).evaluate() in executesSuccessfully()
67 rule.apply(base = null, description = Consts.description(this)).evaluate() in executesSuccessfullyMonitor2()
77 rule.apply(base = null, description = Consts.description(this)).evaluate() in executesWithStartFailure()
89 rule.apply(base = null, description = Consts.description(this)).evaluate() in executesStartFailureMonitor2()
101 rule.apply(base = null, description = Consts.description(this)).evaluate() in executesWithStopFailure()
113 rule.apply(base = null, description = Consts.description(this)).evaluate() in executesStopFailureMonitor2()

1234