Files
songferngwang 2bf9291082 Revert "Redesing IMEI UI"
This reverts commit c649ef3003.

Reason for revert: Revert for 25Q4 release. will cp the revert cl to 25Q4-release
Add IMEI title logic into the catalyst part
NO_IFTTT=already add it

Bug: 434700998
Test: flash rom and verified it
Flag: NONE revert
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:405d2071a238381f9584b570d3062b4889ec87ae
Merged-In: I8d97020d9bc6b6cdb3a607eb09894e7814f1e1cb
Change-Id: I8d97020d9bc6b6cdb3a607eb09894e7814f1e1cb
2025-09-26 11:12:40 -07:00
..
…
…
…

The simplest way to run all SettingsUnitTests is with atest
$ atest SettingsUnitTests

A single class can also be tested with the following command
$ atest -c <YourClassName>

// The following instructions show how to run the test suite using make + adb //

To build the tests you can use the following command at the root of your android source tree
$ make -j SettingsUnitTests

The test apk then needs to be installed onto your test device. The apk's location will vary
depending on your device model and architecture. At the end of the make command's output, there
should be a line similar to the following:
"Copy: ${ANDROID_PRODUCT_OUT}/testcases/SettingsUnitTests/arm64/SettingsUnitTests.apk"
Install via the following command:
$ adb install -r ${ANDROID_PRODUCT_OUT}/testcases/SettingsUnitTests/arm64/SettingsUnitTests.apk

To run all tests:
$ adb shell am instrument -w com.android.settings.tests.unit/androidx.test.runner.AndroidJUnitRunner

To run all tests in a specific class:
$ adb shell am instrument -w -e class com.android.settings.<class> com.android.settings.tests.unit/androidx.test.runner.AndroidJUnitRunner

To run a specific test:
$ adb shell am instrument -w -e class com.android.settings.<class>#<test> com.android.settings.tests.unit/androidx.test.runner.AndroidJUnitRunner

More general information can be found at
http://developer.android.com/reference/android/support/test/runner/AndroidJUnitRunner.html