The summary for Sound settings was not descriptive enough when the volume was set to 0% so additional strings were added. Now it will change let you know the status of the ringer and vibration settings when at 0% volume. Espresso tests added to test that text is properly updated in each of these states. Test: make SettingsTests Bug: 31099179 Change-Id: Id49e2d0c4b7ac0f17efcdaf31de48d5eb678ca46
28 lines
600 B
Makefile
28 lines
600 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
# We only want this apk build for tests.
|
|
LOCAL_MODULE_TAGS := tests
|
|
LOCAL_CERTIFICATE := platform
|
|
|
|
LOCAL_JAVA_LIBRARIES := android.test.runner bouncycastle
|
|
|
|
LOCAL_STATIC_ANDROID_LIBRARIES := \
|
|
android-support-v4
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := \
|
|
android-support-test \
|
|
mockito-target \
|
|
espresso-core \
|
|
espresso-contrib \
|
|
espresso-intents
|
|
|
|
# Include all test java files.
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|
|
|
LOCAL_PACKAGE_NAME := SettingsTests
|
|
|
|
LOCAL_INSTRUMENTATION_FOR := Settings
|
|
|
|
include $(BUILD_PACKAGE)
|