На этой странице представлены основные изменения в CTS, внесенные в CTS 17 R1.
Улучшение инфраструктуры
Агрегирование и представление результатов тестирования
Структура отчетности CTS-V, включая CameraITS, была переработана для поддержки детального анализа результатов подтестов. Это улучшение позволяет параллельно выполнять подтесты, сокращая общее время выполнения, и обеспечивает целенаправленный повторный запуск неудачно завершившихся подтестов, а не всего модуля.
шардинг токенов
- Исправлена ошибка в функции enable-token-sharding, из-за которой иногда не удавалось распознать образцы с SIM-картами, что приводило к некорректному запуску тестов.
Повышение эффективности
В CTS 17 внесены следующие улучшения в области повышения эффективности.
Оптимизация биометрического тестирования
В CTS-V был реструктурирован набор тестов биометрии, объединяющий несколько тестов ключей, основанных на времени, а количество запросов на аутентификацию сокращено со 120 до 72.
Модернизация связи и определения дальности
Ручная проверка наличия, требующая стандартной установки устройства на расстоянии 1 м для точной проверки, заменена полностью автоматизированным модулем измерения расстояния.
модернизация тестирования Wi-Fi
В пакет обновлений для тестирования Wi-Fi вошли тесты обнаружения несинхронизированных служб (USD), перенос существующих тестов разрешений в модернизированную среду, а также удаление устаревших ручных тестов подключения.
Улучшения в области мультимедиа и телекоммуникаций.
Тест безопасного воспроизведения предназначен для проверки возможностей безопасного воспроизведения, обеспечивая корректное отображение видео и стабильность частоты кадров. Настройка теста безопасного воспроизведения . Это тест CTS Verifier, для которого требуется инструмент анализа периферийного воспроизведения.
Автоматизация тестирования в телекоммуникациях
Ручные тесты телекоммуникаций заменены автоматизированным модулем CtsTelecomTests в CTS-V-HOST .
Модули CTS
Количество тестовых модулей и тестовых примеров следующее:
- Примерно 1244 модуля в зависимости от типа устройства.
- Примерно 3,1 миллиона тестовых случаев для одного случая лодыжечно-брахиального индекса (ЛБИ).
185 новых модулей
- CtsAActivityManagerTest
- CtsAlarmAtomHostTestCases
- CtsAlarmAtomHostTestCases[instant]
- CtsAllowlistTestCases
- CtsAllowlistTestCases[instant]
- CtsAngleEnd2EndTestCases
- CtsAnomalyDetectorTests
- CtsAppcompatStateAtomHostTestCases
- CtsAppcompatStateAtomHostTestCases[instant]
- CtsAppExitAtomHostTestCases
- CtsAppExitAtomHostTestCases[instant]
- CtsAppFunctionNoQueryAllPackagesTestCases
- CtsAppFunctionNoQueryAllPackagesTestCases[run-on-clone-profile]
- CtsAppFunctionNoQueryAllPackagesTestCases[run-on-private-profile]
- CtsAppFunctionNoQueryAllPackagesTestCases[run-on-secondary-user]
- CtsAppFunctionNoQueryAllPackagesTestCases[run-on-work-profile]
- CtsAppFunctionsAtomHostTestCases
- CtsAppFunctionsAtomHostTestCases[instant]
- CtsAppHibernationAtomHostTestCases
- CtsAppHibernationAtomHostTestCases[instant]
- CtsAppInteractionTestCases
- CtsAppInteractionTestCases[run-on-clone-profile]
- CtsAppInteractionTestCases[run-on-private-profile]
- CtsAppInteractionTestCases[run-on-secondary-user]
- CtsAppInteractionTestCases[run-on-work-profile]
- CtsAppOpsAtomHostTestCases
- CtsAppOpsAtomHostTestCases[instant]
- CtsAppStartAtomHostTestCases
- CtsAppStartAtomHostTestCases[instant]
- CtsBackportedFixesAtomHostTestCases
- CtsBackportedFixesAtomHostTestCases[instant]
- CtsBatteryCycleAtomHostTestCases
- CtsBatteryCycleAtomHostTestCases[instant]
- CtsBatteryStatsAtomHostTestCases
- CtsBatteryStatsAtomHostTestCases[instant]
- CtsBinderStatsAtomHostTestCases
- CtsBinderStatsAtomHostTestCases[instant]
- CtsBluetoothAtomHostTestCases
- CtsBluetoothAtomHostTestCases[instant]
- CtsConscryptTestCases
- CtsContactsPickerCoreTestCases
- CtsContactsPickerCoreTestCases[run-on-clone-profile]
- CtsContactsPickerCoreTestCases[run-on-private-profile]
- CtsContactsPickerCoreTestCases[run-on-work-profile]
- CtsContactsPickerCoreTestCasesSdk36
- CtsContactsProviderHostTestCases
- CtsContactsProviderSessionTestCases
- CtsContactsProviderTestsStrictSqlCheckSdk37
- CtsContentPccTestCases
- CtsContentRestrictionTestCases
- CtsContentSafetyServiceTestCases
- CtsContextualModeManagerTestCases
- CtsContextualModeManagerTestCases[run-on-clone-profile]
- CtsContextualModeManagerTestCases[run-on-private-profile]
- CtsContextualModeManagerTestCases[run-on-secondary-user]
- CtsContextualModeManagerTestCases[run-on-work-profile]
- CtsCoreGraphicsAtomHostTestCases
- CtsCoreGraphicsAtomHostTestCases[instant]
- CtsCpuAtomHostTestCases
- CtsCpuAtomHostTestCases[instant]
- CtsCredentialsAtomHostTestCases
- CtsCredentialsAtomHostTestCases[instant]
- CtsDevicePowerAtomHostTestCases
- CtsDevicePowerAtomHostTestCases[instant]
- CtsDeviceStateAtomHostTestCases
- CtsDeviceStateAtomHostTestCases[instant]
- CtsDisplayAtomHostTestCases
- CtsDisplayAtomHostTestCases[instant]
- CtsDisplayStaticDeviceStateTestCases
- CtsDisplayStaticDeviceStateTestCases[instant]
- CtsGameManagerAtomHostTestCases
- CtsGameManagerAtomHostTestCases[instant]
- CtsGnssAtomHostTestCases
- CtsGnssAtomHostTestCases[instant]
- CtsGpuTestCases
- CtsGpuTestCases[instant]
- CtsHardwareHealthAtomHostTestCases
- CtsHardwareHealthAtomHostTestCases[instant]
- CtsJobSchedulerAtomHostTestCases
- CtsJobSchedulerAtomHostTestCases[instant]
- CtsLogcatHostTestCases
- CtsMediaAtomHostTestCases
- CtsMediaAtomHostTestCases[instant]
- CtsMediaRouterHostTestCases
- CtsMediaRouterHostTestCases[instant]
- CtsMemoryAtomHostTestCases
- CtsMemoryAtomHostTestCases[instant]
- CtsMemorySafetyAtomHostTestCases
- CtsMemorySafetyAtomHostTestCases[instant]
- CtsMotionCuesTestCases
- CtsMotionCuesTestCases[instant]
- CtsMultisensoryTestCases
- CtsMultisensoryTestCases[instant]
- CtsMultisensoryTestCases[run-on-clone-profile]
- CtsMultisensoryTestCases[run-on-private-profile]
- CtsMultisensoryTestCases[run-on-secondary-user]
- CtsMultisensoryTestCases[run-on-work-profile]
- CtsNativeNdkAllowlistTest
- CtsNativeServiceTest
- CtsNetAtomHostTestCases
- CtsNetAtomHostTestCases[instant]
- CtsNetSecConfigCustomTrustManagerTestCases
- CtsNetSecConfigCustomTrustManagerTestCases[instant]
- CtsNetSecConfigEncryptedClientHelloTestCases
- CtsNetSecConfigEncryptedClientHelloTestCases[instant]
- CtsNetSecEncryptedClientHelloTestCases
- CtsNetSecEncryptedClientHelloTestCases[instant]
- CtsNetTestCasesLocalNetNoPermissions
- CtsNetTestCasesLocalNetNoPermissions[instant]
- CtsNotificationAtomHostTestCases
- CtsNotificationAtomHostTestCases[instant]
- CtsNpuManagerMoblyTestCases
- CtsNpuManagerTestCases
- CtsPackageManagerIsolatedSplitHostTestCases
- CtsPackageManagerSplitHostTestCases
- CtsPccFeatureTests
- CtsPccFeatureTests[run-on-clone-profile]
- CtsPccFeatureTests[run-on-private-profile]
- CtsPccFeatureTests[run-on-secondary-user]
- CtsPccFeatureTests[run-on-work-profile]
- CtsPccProcessTests
- CtsPccSandboxManagerNativeTest
- CtsPccSecurityTestCases
- CtsPerfAtomHostTestCases
- CtsPerfAtomHostTestCases[instant]
- CtsPerfettoAtomHostTestCases
- CtsPerfettoAtomHostTestCases[instant]
- CtsPerformanceHintManagerAtomHostTestCases
- CtsPerformanceHintManagerAtomHostTestCases[instant]
- CtsPermissionStateAtomHostTestCases
- CtsPermissionStateAtomHostTestCases[instant]
- CtsPersonalContextTestCases
- CtsPersonalContextTestCases[run-on-clone-profile]
- CtsPersonalContextTestCases[run-on-private-profile]
- CtsPersonalContextTestCases[run-on-secondary-user]
- CtsPersonalContextTestCases[run-on-work-profile]
- CtsPowerAtomHostTestCases
- CtsPowerAtomHostTestCases[instant]
- CtsPowerManagerAtomHostTestCases
- CtsPowerManagerAtomHostTestCases[instant]
- CtsPowerManagerPccTestCases
- CtsPowerManagerPccTestCases[instant]
- CtsPowerManagerPccTestCases[run-on-work-profile]
- CtsSerialTestCases
- CtsSettingsStatsAtomHostTestCases
- CtsSettingsStatsAtomHostTestCases[instant]
- CtsSharesheetAppLockTestCases
- CtsSizeCompatRestartButtonAtomHostTestCases
- CtsSizeCompatRestartButtonAtomHostTestCases[instant]
- CtsSoundTriggerPccTestCases
- CtsStatsdAtomHostRebootTestCases
- CtsStatsdAtomHostRebootTestCases[instant]
- CtsStopAndKillHostTest
- CtsTelecomModuleTests
- CtsTelephonyAtomHostTestCases
- CtsTelephonyAtomHostTestCases[instant]
- CtsTelephonySatelliteTestCases
- CtsTextClassifierPccTestCases
- CtsTlsAtomHostTestCases
- CtsTlsAtomHostTestCases[instant]
- CtsTrustTokenServiceTestCases
- CtsTrustTokenServiceTestCases[instant]
- CtsUprobeStatsTest
- CtsUsageEventsPccTestCases
- CtsUsbAtomHostTestCases
- CtsUsbAtomHostTestCases[instant]
- CtsUsbManagerTestCases[run-on-clone-profile]
- CtsUsbManagerTestCases[run-on-private-profile]
- CtsUsbManagerTestCases[run-on-secondary-user]
- CtsUsbManagerTestCases[run-on-work-profile]
- CtsUsersAtomHostTestCases
- CtsUsersAtomHostTestCases[instant]
- CtsVibratorAtomHostTestCases
- CtsVibratorAtomHostTestCases[instant]
- CtsVirtualDevicesComputerControlTests
- CtsVoiceInteractionAtomHostTestCases
- CtsVoiceInteractionAtomHostTestCases[instant]
- CtsWifiAtomHostTestCases
- CtsWifiAtomHostTestCases[instant]
- CtsWindowManagerHostTestCases
- MctsVideoTestCases
- MtsWebAppTestCases
- PccServiceNonPccClientTest
- PccServicePccClientTest
- VmMultiTenancyTests.CTS
16 удаленных модулей
- AdsPersonalizationStatusTest
- CtsAppFgsTestCases[instant]
- CtsCameraHeadlessSystemUserTestCases
- CtsCarBuiltinApiHostTestCases
- CtsFgsTimeoutTestCases[instant]
- CtsHealthConnectHostSideDeviceTestCases
- CtsHealthConnectHostTestCases
- CtsInstalledLoadingProgressHostTests
- CtsSandboxedAdIdManagerTests
- CtsSandboxedAppSetIdManagerTests
- CtsSandboxedFledgeManagerTests
- CtsSandboxedMeasurementManagerTests
- CtsSandboxedTopicsManagerTests
- CtsShortFgsTestCases[instant]
- CtsVideoEncodingQualityHostTestCases[instant]
- MctsTextClassifierTestCases
CTS Verifier: 17 новых тестов
Добавлено 36 новых тестовых случаев CTS-V-HOST, включая интерактивные тесты и тестовые случаи проверки на основе хоста.
Добавлено 36 тестов из 7 модулей.
| Название модуля | Добавлен список тестовых случаев |
|---|---|
CtsNotificationSizeVerifierHostTest | android.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest #testBitmapUnderLimit_ChangeDisabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest #testBitmapOverLimit_ChangeEnabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest #testBitmapUnderLimit_ChangeEnabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest #testUriOverLimit_ChangeEnabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest #testUriUnderLimit_ChangeEnabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest #testBitmapOverLimit_ChangeDisabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest #testUriOverLimit_ChangeDisabledandroid.app.notificationsizeverifier.cts.NotificationSizeVerifierHostTest #testUriUnderLimit_ChangeDisabled |
| CtsPermissionInteractiveTestCases | android.permissioninteractive.cts.LocationButtonInteractiveTest# verifyButtonColorCustomizationandroid.permissioninteractive.cts.LocationButtonInteractiveTest# verifyButtonSupportsRtlLayoutandroid.permissioninteractive.cts.LocationButtonInteractiveTest# verifyButtonPaddingCustomizationandroid.permissioninteractive.cts.LocationButtonInteractiveTest# verifyButtonIconOnlyandroid.permissioninteractive.cts.LocationButtonInteractiveTest# verifyButtonShapeMorphsOnPressandroid.permissioninteractive.cts.LocationButtonInteractiveTest# verifyButtonShapeCustomization |
| CtsSysuiInteractiveTestCases | android.sysui.cts.ShowPowerMenuInteractiveTest#showPowerMenuandroid.sysui.cts.ShowPowerMenuInteractiveTest# showPowerMenu_alreadyShowingandroid.sysui.cts.ShowPowerMenuInteractiveTest# showPowerMenu_multipleCallsInShortTime |
| CtsUsbTypecTestCases | com.google.cts.interactive.usb.typec.CtsUsbTypecTestCases#testBc12Cdpcom.google.cts.interactive.usb.typec.CtsUsbTypecTestCases#testBc12Dcpcom.google.cts.interactive.usb.typec.CtsUsbTypecTestCases#testBc12Sdpcom.google.cts.interactive.usb.typec.CtsUsbTypecTestCases# testPowerProfileSourceFixed |
| CtsTelecomTest | CtsTelecomTest#test_call_audio_for_voice_and_voip_callsCtsTelecomTest#test_incall_ui_shows_when_screen_locked |
| CtsWifiConnectionTests | NetworkRequestTests#test_with_a_specific_ssid_and_bssidNetworkRequestTests#test_with_invalid_credential_in_network_specifierNetworkRequestTests#test_with_pattern_network_specifierNetworkRequestTests#test_with_unavailable_network_specifierNetworkSuggestionTests#test_that_suggestion_modification_in_placeNetworkSuggestionTests#test_with_connection_failureNetworkSuggestionTests#test_with_ssid_and_bssid_specifiedNetworkSuggestionTests#test_with_ssid_and_post_connect_broadcastNetworkSuggestionTests#test_with_ssid_specified |
| CtsWifiUsdTests | WifiUsdTest#test_active_subscriber_exchangeWifiUsdTest#test_bidirectional_large_message_exchangeWifiUsdTest#test_bidirectional_message_exchangeWifiUsdTest#test_passive_subscriber_exchange |
Всего добавлено 10 новых тестов для остальных 5 разделов проверки.
| Раздел | Добавлен список тестовых случаев |
|---|---|
AUDIO | |
CAMERA | |
FEATURES | |
MEDIA | |
SYSUI |