Home
last modified time | relevance | path

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

12345678910>>...47

/platform_testing/libraries/screenshot/
DTEST_MAPPING4 "name": "platform-screenshot-diff-test",
7 "exclude-annotation": "androidx.test.filters.FlakyTest"
12 // v2/sysui/suite/test-mapping-sysui-screenshot-test
13 "sysui-screenshot-test": [
21 "exclude-annotation": "androidx.test.filters.FlakyTest"
24 "exclude-annotation": "android.platform.test.annotations.Postsubmit"
35 "exclude-annotation": "androidx.test.filters.FlakyTest"
38 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
41 "exclude-annotation": "android.platform.test.annotations.Postsubmit"
DAndroid.bp22 name: "platform-screenshot-diff-test",
33 "androidx.test.core",
34 "androidx.test.ext.junit",
35 "androidx.test.runner",
36 "androidx.test.rules",
37 "androidx.test.uiautomator_uiautomator",
41 "platform-test-annotations",
53 test: true,
59 "src/main/java/platform/test/screenshot/**/*.java",
60 "src/main/java/platform/test/screenshot/**/*.kt",
[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/libraries/motion/tests/src/platform/test/motion/view/
DViewToolkitTest.kt17 package platform.test.motion.view in <lambda>()
20 import androidx.test.ext.junit.rules.ActivityScenarioRule in <lambda>()
21 import androidx.test.ext.junit.runners.AndroidJUnit4 in <lambda>()
22 import androidx.test.filters.SmallTest in <lambda>()
23 import androidx.test.platform.app.InstrumentationRegistry in <lambda>()
28 import platform.test.motion.MotionTestRule in <lambda>()
29 import platform.test.motion.testing.SampleScene in <lambda>()
30 import platform.test.motion.testing.createGoldenPathManager in <lambda>()
31 import platform.test.motion.tests.R in <lambda>()
32 import platform.test.motion.view.AnimationSampling.Companion.evenlySampled in <lambda>()
[all …]
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/
DFlickerParametersRunnerFactory.kt21 import androidx.test.platform.app.InstrumentationRegistry
33 fun createRunnerForTestWithParameters(test: TestWithParameters, arguments: Bundle): Runner { in createRunnerForTestWithParameters()
34 val simpleClassName = test.testClass.javaClass.simpleName in createRunnerForTestWithParameters()
36 test.parameters.filterIsInstance<LegacyFlickerTest>().firstOrNull() in createRunnerForTestWithParameters()
45 /* testClass */ test.testClass, in createRunnerForTestWithParameters()
46 /* parameters */ test.parameters in createRunnerForTestWithParameters()
51 override fun createRunnerForTestWithParameters(test: TestWithParameters) =
52 createRunnerForTestWithParameters(test, arguments = InstrumentationRegistry.getArguments())
/platform_testing/libraries/sts-common-util/sts-sdk/package/
Dbuild.gradle15 from project('sts-test').layout.buildDirectory.file('testcases')
25 if (findProject('test-app') != null) {
27 from project('test-app').layout.buildDirectory.file('outputs/apk/debug')
34 // To add another Android apk to the test, copy the block above and rename
36 // Remember to use that APK file name in your `sts-test`.
39 from project('sts-test').layout.projectDirectory.file('libs')
43 from project('sts-test').layout.projectDirectory.dir('jdk')
49 dependsOn ':sts-test:copyHostSideTest'
56 if (findProject('test-app') != null) {
57 dependsOn ':test-app:assemble'
[all …]
/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/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.KillAppsRule;
22 import android.platform.test.rule.PressHomeRule;
23 import android.platform.test.rule.FinishActivitiesWithoutProcessKillRule;
/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.KillAppsRule;
23 import android.platform.test.rule.PressHomeRule;
/platform_testing/libraries/screenshot/utils/compose/src/platform/test/screenshot/utils/compose/
DComposeScreenshotTestRule.kt17 package platform.test.screenshot.utils.compose
29 import androidx.compose.ui.test.SemanticsNodeInteraction
30 import androidx.compose.ui.test.junit4.createAndroidComposeRule
31 import androidx.compose.ui.test.onRoot
38 import platform.test.screenshot.BitmapDiffer
39 import platform.test.screenshot.DeviceEmulationRule
40 import platform.test.screenshot.DeviceEmulationSpec
41 import platform.test.screenshot.FontsRule
42 import platform.test.screenshot.GoldenPathManager
43 import platform.test.screenshot.HardwareRenderingRule
[all …]
/platform_testing/libraries/health/rules/
DAndroid.bp20 name: "platform-test-rules",
25 "androidx.test.runner",
26 "androidx.test.uiautomator_uiautomator",
33 "notes-role-test-helper",
40 "uinput-device-test-helper",
50 // Similar to platform-test-rules above but reduces the number of lib dependencies. When using
51 // platform-test-rules, tradefed includes a different version of protobuf compared to the one
54 name: "platform-test-rules-deviceless",
57 "androidx.test.runner",
60 "src/android/platform/test/rule/LimitDevicesRule.kt",
[all …]
/platform_testing/tests/health/scenarios/tests/src/android/platform/test/scenario/performancelaunch/hermeticapp/
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;
DOpenEmptyWebViewActivityMicrobenchmark.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;
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;
/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/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/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DNavigationControlHelper.java19 import androidx.test.platform.app.InstrumentationRegistry;
20 import androidx.test.uiautomator.By;
21 import androidx.test.uiautomator.BySelector;
22 import androidx.test.uiautomator.UiDevice;
23 import androidx.test.uiautomator.Until;
/platform_testing/tests/bettertogether/betocq/
DCHANGELOG.md1 # BetoCQ test suite release history
6 * Skip test if wifi_chipset is empty.
7 * Add MCC Aware test case with STAs connected to 2G/5G.
11 * Generate per-test openwrt syslog.
13 * Report the suite name to the test summary.
14 * Enable individual test selection from the command-line.
19 * Fix the bug that it can not run the test cases of eSIM and Quick Share.
20 * Clarify the failure reasons for some test failures.
28 * Add iperf test for Aware, hotspot modes.
30 * Add the key test info in test summary.
[all …]
/platform_testing/libraries/flag-helpers/
DOWNERS4 per-file junit/test/src/android/platform/test/flag/junit/Flags.java = wenshan@google.com, opg@googl…
5 per-file junit/test/src/android/platform/test/flag/junit/FeatureFlags.java = wenshan@google.com, op…
6 per-file junit/test/src/android/platform/test/flag/junit/FakeFeatureFlagsImpl.java = wenshan@google…
7 per-file junit/test/src/android/platform/test/flag/junit/CustomFeatureFlags.java = wenshan@google.c…
/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"
/platform_testing/libraries/rdroidtest/src/
Drunner.rs29 .map(|test| test()) in main()
30 .chain(RDROIDTEST_PTESTS.iter().flat_map(|test| test())) in main()
37 pub fn run(test: impl FnOnce()) -> Result<(), Failed> { in run()
38 test(); in run()
/platform_testing/tests/health/scenarios/tests/src/android/platform/test/scenario/codelab/answers/
DOpenCalculatorMicrobenchmark.java14 package android.platform.test.scenario.codelab.answers;
16 import android.platform.test.microbenchmark.Microbenchmark;
17 import android.platform.test.rule.DropCachesRule;
18 import android.platform.test.rule.KillAppsRule;
19 import android.platform.test.rule.PressHomeRule;

12345678910>>...47