You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 36ed224bac
Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
1 year ago
..
README.md Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
android_test_instructions.md Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
components_for_testing.md Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
gtest_implementation.md Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
instrumentation.md Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
junit.md Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
junit4.md Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
todo.md Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago

README.md

Android Testing in Chromium

Concepts

  • Native Unit Tests: Normal Chromium unit tests based on the gtest framework. Tests for native code.
  • Java Unit Tests: JUnit tests that run on the host machine using Robolectric to emulate Android APIs.
  • Instrumentation Tests: JUnit tests that run on Android devices (or emulators).
    • Unit Instrumentation Tests: Instrumentation tests that test an individual feature. They do not require starting up ContentShell (or Chrome browser). These use BaseActivityTestRule or BlankUiTestActivityTestCase based on BaseActivityTestRule.
    • Integration Instrumentation Tests: Instrumentation tests that bring up ContentShell (or Chrome browser) to test a certain feature in the end-to-end flow. These typically use more specialized test rules such as ContentShellActivityTestRule or ChromeActivityTestRule.

How do I...

How does it work on Android?