Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 679) sorted by relevance

12345678910>>...28

/platform_testing/libraries/tradefed-python-lib/tradefed_py/
Dtf_runner.py38 def _getClassName(self, test): argument
39 return strclass(test.__class__)
41 def _getMethodName(self, test): argument
42 return test._testMethodName
54 def startTest(self, test): argument
60 …AG: time.time(), _CLASSNAME_TAG: self._getClassName(test), _METHOD_NAME_TAG: self._getMethodName(t…
62 super(TextTestResult, self).startTest(test)
64 def addSuccess(self, test): argument
70 …AG: time.time(), _CLASSNAME_TAG: self._getClassName(test), _METHOD_NAME_TAG: self._getMethodName(t…
72 super(TextTestResult, self).addSuccess(test)
[all …]
/platform_testing/libraries/health/runners/longevity/platform/tests/assets/
DtestExtraArgs_unregisteredAfterTest.textpb4 …journey: "android.platform.test.longevity.samples.testing.SampleExtraArgsSuite$ClassLevelExtraArgs…
11 …journey: "android.platform.test.longevity.samples.testing.SampleExtraArgsSuite$NotInInstrumentatio…
18 …journey: "android.platform.test.longevity.samples.testing.SampleExtraArgsSuite$TestLevelExtraArgsS…
20 key: "test-level-option"
21 value: "test-level-override"
25 …journey: "android.platform.test.longevity.samples.testing.SampleExtraArgsSuite$NotInInstrumentatio…
28 value: "test-level-option"
32 …journey: "android.platform.test.longevity.samples.testing.SampleExtraArgsSuite$InTestExtraArgsScen…
34 key: "in-test-option"
35 value: "in-test-override"
[all …]
DtestExtraArgs_registeredBeforeTest.textpb4 …journey: "android.platform.test.longevity.samples.testing.SampleExtraArgsSuite$ClassLevelExtraArgs…
11 …journey: "android.platform.test.longevity.samples.testing.SampleExtraArgsSuite$TestLevelExtraArgsS…
13 key: "test-level-option"
14 value: "test-level-override"
18 …journey: "android.platform.test.longevity.samples.testing.SampleExtraArgsSuite$InTestExtraArgsScen…
20 key: "in-test-option"
21 value: "in-test-override"
/platform_testing/tests/apphealth/scenarios/tests/src/android/platform/test/scenario/facebook/
DOpenAppMicrobenchmark.java16 package android.platform.test.scenario.facebook;
18 import android.platform.test.microbenchmark.Microbenchmark;
19 import android.platform.test.rule.CompilationFilterRule;
20 import android.platform.test.rule.CleanPackageRule;
21 import android.platform.test.rule.DropCachesRule;
22 import android.platform.test.rule.IorapCompilationRule;
23 import android.platform.test.rule.KillAppsRule;
24 import android.platform.test.rule.PressHomeRule;
/platform_testing/tests/health/scenarios/tests/src/android/platform/test/scenario/generic/
DOpenAppMicrobenchmark.java16 package android.platform.test.scenario.generic;
18 import android.platform.test.microbenchmark.Microbenchmark;
19 import android.platform.test.rule.CompilationFilterRule;
20 import android.platform.test.rule.DropCachesRule;
21 import android.platform.test.rule.IorapCompilationRule;
22 import android.platform.test.rule.KillAppsRule;
23 import android.platform.test.rule.PressHomeRule;
24 import android.platform.test.rule.FinishActivitiesWithoutProcessKillRule;
/platform_testing/libraries/health/runners/longevity/
DREADME.md3 This library serves as a test runner for longevity suites, which exercise test cases repeatedly in
4 order to exercise or stress the device under test. Annotate a collection of JUnit test classes with
20 **Run simple test suite 50 times, and quit when an error is encountered.**
23 org.junit.runner.JUnitCore android.host.test.longevity.samples.SimpleSuite`
25 **Run simple test suite 10 times, shuffle all tests, and quit after 30 minutes.**
29 org.junit.runner.JUnitCore android.host.test.longevity.samples.SimpleSuite`
36 android.platform.test.longevity.samples/androidx.runner.AndroidJUnitRunner`
38 **Run simple test suite 50 times, and quit when an error is encountered.**
41 -e class android.platform.test.longevity.samples.SimpleSuite
42 android.platform.test.longevity.samples/androidx.test.runner.AndroidJUnitRunner`
[all …]
/platform_testing/tests/health/scenarios/tests/src/android/platform/test/scenario/performancelaunch/hermeticapp/
DOpenManyConfigResourceActivityMicrobenchmark.java16 package android.platform.test.scenario.performancelaunch.hermeticapp;
18 import android.platform.test.microbenchmark.Microbenchmark;
19 import android.platform.test.rule.CompilationFilterRule;
20 import android.platform.test.rule.DropCachesRule;
21 import android.platform.test.rule.KillAppsRule;
22 import android.platform.test.rule.PressHomeRule;
DOpenEmptyActivityMicrobenchmark.java16 package android.platform.test.scenario.performancelaunch.hermeticapp;
18 import android.platform.test.microbenchmark.Microbenchmark;
19 import android.platform.test.rule.CompilationFilterRule;
20 import android.platform.test.rule.DropCachesRule;
21 import android.platform.test.rule.KillAppsRule;
22 import android.platform.test.rule.PressHomeRule;
DOpenSimpleSurfaceGLActivityMicrobenchmark.java16 package android.platform.test.scenario.performancelaunch.hermeticapp;
18 import android.platform.test.microbenchmark.Microbenchmark;
19 import android.platform.test.rule.CompilationFilterRule;
20 import android.platform.test.rule.DropCachesRule;
21 import android.platform.test.rule.KillAppsRule;
22 import android.platform.test.rule.PressHomeRule;
/platform_testing/tests/health/scenarios/tests/src/android/platform/test/scenario/businesscard/
DOpenAppMicrobenchmark.java16 package android.platform.test.scenario.businesscard;
18 import android.platform.test.microbenchmark.Microbenchmark;
19 import android.platform.test.rule.CompilationFilterRule;
20 import android.platform.test.rule.DropCachesRule;
21 import android.platform.test.rule.KillAppsRule;
22 import android.platform.test.rule.PressHomeRule;
/platform_testing/tests/health/scenarios/tests/src/android/platform/test/scenario/performancelaunch/
DOpenAppMicrobenchmark.java16 package android.platform.test.scenario.performancelaunch;
18 import android.platform.test.microbenchmark.Microbenchmark;
19 import android.platform.test.rule.CompilationFilterRule;
20 import android.platform.test.rule.DropCachesRule;
21 import android.platform.test.rule.KillAppsRule;
22 import android.platform.test.rule.PressHomeRule;
/platform_testing/tests/health/scenarios/tests/src/android/platform/test/scenario/profile/
DCommonUserProfileTest.java17 package android.platform.test.scenario.profile;
19 import android.platform.test.longevity.ProfileSuite;
20 import android.platform.test.rule.NaturalOrientationRule;
29 android.platform.test.scenario.generic.OpenApp.class,
30 android.platform.test.scenario.sleep.Idle.class,
/platform_testing/libraries/health/runners/longevity/platform/samples/assets/
Dsample_indexed_profile.textpb4 journey: "android.platform.test.longevity.samples.SimpleSuite$PassingTest"
7 journey: "android.platform.test.longevity.samples.SimpleSuite$FailingTest"
10 journey: "android.platform.test.longevity.samples.SimpleSuite$PassingTest"
13 journey: "android.platform.test.longevity.samples.SimpleSuite$PassingTest"
16 journey: "android.platform.test.longevity.samples.SimpleSuite$FailingTest"
Dsample_scheduled_profile.textpb4 journey: "android.platform.test.longevity.samples.SimpleSuite$PassingTest"
8 journey: "android.platform.test.longevity.samples.SimpleSuite$FailingTest"
11 journey: "android.platform.test.longevity.samples.SimpleSuite$PassingTest"
15 journey: "android.platform.test.longevity.samples.SimpleSuite$PassingTest"
19 journey: "android.platform.test.longevity.samples.SimpleSuite$FailingTest"
/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/
DSettingsFlingJankTest.java21 import android.support.test.uiautomator.By;
22 import android.support.test.uiautomator.Direction;
23 import android.support.test.uiautomator.UiDevice;
24 import android.support.test.uiautomator.UiObject2;
25 import android.support.test.uiautomator.Until;
27 import androidx.test.jank.GfxMonitor;
28 import androidx.test.jank.JankTest;
29 import androidx.test.jank.JankTestBase;
30 import androidx.test.jank.WindowAnimationFrameStatsMonitor;
/platform_testing/tests/microbenchmarks/uibench/src/com/android/uibench/microbenchmark/
DUiBenchWindowInsetsControllerMicrobenchmark.java24 import android.platform.test.microbenchmark.Microbenchmark;
25 import android.platform.test.rule.NaturalOrientationRule;
26 import android.platform.test.rule.Dex2oatPressureRule;
28 import androidx.test.platform.app.InstrumentationRegistry;
29 import androidx.test.uiautomator.By;
30 import androidx.test.uiautomator.UiDevice;
31 import androidx.test.uiautomator.UiObject2;
32 import androidx.test.uiautomator.Until;
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DILauncherStrategy.java16 package android.support.test.launcherhelper;
18 import android.support.test.uiautomator.BySelector;
19 import android.support.test.uiautomator.Direction;
20 import android.support.test.uiautomator.UiDevice;
21 import android.support.test.uiautomator.UiObject2;
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DDexTestRunner.java17 package android.support.test.aupt;
20 import android.test.AndroidTestRunner;
173 Test test = null; in addTestClassByName() local
177 test = (Test) testClass.getConstructor().newInstance(); in addTestClassByName()
181 test = (Test) testClass.getConstructor(String.class).newInstance(methodName); in addTestClassByName()
184 addTest(test); in addTestClassByName()
198 public void setTest(Test test) { in setTest() argument
200 addTest(test); in setTest()
203 if (TestSuite.class.isAssignableFrom(test.getClass())) { in setTest()
204 mTestClassName = ((TestSuite) test).getName(); in setTest()
[all …]
/platform_testing/libraries/automotive-helpers/utility-helper/src/android/platform/helpers/
DAutoUtility.java21 import android.support.test.uiautomator.By;
22 import android.support.test.uiautomator.BySelector;
23 import android.support.test.uiautomator.UiDevice;
24 import android.support.test.uiautomator.UiObject2;
25 import android.support.test.uiautomator.Until;
26 import androidx.test.InstrumentationRegistry;
/platform_testing/tests/health/scenarios/tests/src/android/platform/test/scenario/sample/
DSampleMicrobenchmark.java17 package android.platform.test.scenario.sample;
19 import android.platform.test.microbenchmark.Microbenchmark;
20 import android.platform.test.microbenchmark.Microbenchmark.NoMetricAfter;
21 import android.platform.test.microbenchmark.Microbenchmark.NoMetricBefore;
22 import android.platform.test.option.BooleanOption;
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchTransitionsJankTests.java22 import android.support.test.uiautomator.By;
23 import android.support.test.uiautomator.UiDevice;
24 import android.support.test.uiautomator.UiObject2;
25 import android.support.test.uiautomator.Until;
27 import androidx.test.jank.GfxMonitor;
28 import androidx.test.jank.JankTest;
29 import androidx.test.jank.JankTestBase;
DUiBenchWebView.java22 import android.support.test.uiautomator.By;
23 import android.support.test.uiautomator.UiDevice;
24 import android.support.test.uiautomator.Until;
26 import androidx.test.jank.GfxMonitor;
27 import androidx.test.jank.JankTest;
28 import androidx.test.jank.JankTestBase;
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/system/
DScreenOff.java17 package android.platform.test.scenario.system;
21 import android.platform.test.option.BooleanOption;
22 import android.platform.test.option.LongOption;
23 import android.platform.test.scenario.annotation.Scenario;
24 import android.support.test.uiautomator.UiDevice;
25 import androidx.test.InstrumentationRegistry;
/platform_testing/tests/automotive/health/multiuser/tests/src/android/platform/scenario/multiuser/nonui/
DSwitchToNewGuestBenchmark.java19 import android.platform.test.scenario.SleepAtTestFinishRule;
20 import android.platform.test.microbenchmark.Microbenchmark;
21 import android.platform.test.microbenchmark.Microbenchmark.TightMethodRule;
22 import android.platform.test.rule.StopwatchRule;
DSwitchToNewSecondaryUserBenchmark.java19 import android.platform.test.microbenchmark.Microbenchmark;
20 import android.platform.test.microbenchmark.Microbenchmark.TightMethodRule;
21 import android.platform.test.rule.StopwatchRule;
22 import android.platform.test.scenario.SleepAtTestFinishRule;

12345678910>>...28