Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 561cede1 authored by Hall Liu's avatar Hall Liu
Browse files

Migrate CAMSM and BRM tests to Parametrized

Migrate the two other state machine unit tests suites to use the builtin
JUnit parametrized runner. Also remove the old StateMachineTestBase
class.

Test: unit tests
Change-Id: Ib4e2f0cfd1bfd53aae64aaeedee6e6d86c81359e
Merged-In: Ib4e2f0cfd1bfd53aae64aaeedee6e6d86c81359e
parent 88ccc71c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1790,7 +1790,8 @@ public class CallsManager extends Call.ListenerBase
     * @param isTonePlaying true if the disconnected tone is started, otherwise the disconnected
     * tone is stopped.
     */
    void onDisconnectedTonePlaying(boolean isTonePlaying) {
    @VisibleForTesting
    public void onDisconnectedTonePlaying(boolean isTonePlaying) {
        Log.v(this, "onDisconnectedTonePlaying, %s", isTonePlaying ? "started" : "stopped");
        for (CallsManagerListener listener : mListeners) {
            listener.onDisconnectedTonePlaying(isTonePlaying);
+1 −0
Original line number Diff line number Diff line
@@ -42,6 +42,7 @@ LOCAL_RESOURCE_DIR := \
LOCAL_JAVA_LIBRARIES := \
        android.test.mock \
        legacy-android-test \
        android.test.runner \
        telephony-common

LOCAL_AAPT_FLAGS := \
Loading