liiir1985 7f62dcda9f | ||
---|---|---|
.. | ||
AdasLocationTestApp | ||
BugReportApp | ||
CarCtsFakeLauncher | ||
CarEvsCameraPreviewApp | ||
CarLibTests | ||
CarSecurityPermissionTest | ||
CarTelemetryApp | ||
CarVoiceServiceTriggerApp | ||
DefaultStorageMonitoringCompanionApp | ||
DiagnosticTools | ||
EmbeddedKitchenSinkApp | ||
GarageModeTestApp | ||
MultiDisplaySecondaryHomeTestLauncher | ||
MultiDisplayTest | ||
MultiDisplayTestHelloActivity | ||
NetworkPreferenceApp | ||
OccupantAwareness | ||
OemCarServiceTestApp | ||
RailwayReferenceApp | ||
SampleCustomInputService | ||
SampleRearViewCamera | ||
ThemePlayground | ||
UserSwitchMonitorApp | ||
UxRestrictionsSample | ||
android_car_api_test | ||
carservice_test | ||
carservice_unit_test | ||
common_utils | ||
fixed_activity_mode_test | ||
obd2_app | ||
obd2_test | ||
usb | ||
vehiclehal_test | ||
OWNERS | ||
README.md |
README.md
Car Services Tests and Test Apps
This directory contains unit tests, instrumentation tests and sample apps.
Structure
android_car_api_test/ - Car API instrumentation tests, they use the real services
CarSecurityPermissionTest/ - Car API permission tests
carservice_test/ - Car API instrumentation tests, mocks VHAL
carservice_unit_test/ - Car services instrumented unit tests
common_utils/ - Shared utility library
# The following test directories are located relative to $ANDROID_BUILD_TOP
cts/hostsidetests/car/ - Host-driven CTS tests
cts/tests/tests/car/ - CTS tests (prefer this over hostsidetests)
frameworks/hardware/interfaces/automotive/ - Contains `vts/` folders for tests
hardware/interfaces/automotive/ - Contains `vts/` folders for tests
test/vts-testcase/hal/automotive/ - Host-side VTS tests
Where to add tests
Add necessary tests to all the test suits, and also don't forget to add ATS/CTS/VTS. See https://source.android.com/compatibility/tests to learn more about CTS/VTS.
Try not to repeat the same test in multiple suits, as it creates unnecessary test maintenance.
Add tests using these priorities:
- CTS/VTS
CarSecurityPermissionTest
android_car_api_test
- if CTS doesn't covercarservice_test
- if CTS doesn't covercarservice_unit_test