summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSanthosh Kumar Thimmanna Bhattar <sthim@codeaurora.org>2017-12-19 15:29:25 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-01-09 03:52:44 -0800
commit93b93624f809476c91f6f30ef1e5739e63ab1917 (patch)
tree9473dd5bd77bd83f28fd2e2e05c316c7e74d8f09 /tests
parente2960833b9e4fdfc085ec5cfe2c39959d7cd6928 (diff)
downloadandroid_packages_apps_Snap-93b93624f809476c91f6f30ef1e5739e63ab1917.tar.gz
android_packages_apps_Snap-93b93624f809476c91f6f30ef1e5739e63ab1917.tar.bz2
android_packages_apps_Snap-93b93624f809476c91f6f30ef1e5739e63ab1917.zip
SnapdragonCamera: Rename the resource Id to fix CTS issue.
Issue: CTS test case testImageCapture is failing due to mismatch in resource Id of OK button in SnapdragonCamera app and CTS . After take picture , CTS app is sending click event for OK button in SnapdragonCamera. But event is failed due to mismatch in Id. Fix: Rename resource Id of OK button as per the CTS. Change-Id: I7d3b087e4ac73fc7ee1034b7d2845241e6023b29
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/android/camera/functional/ImageCaptureIntentTest.java2
-rw-r--r--tests/src/com/android/camera/functional/VideoCaptureIntentTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/camera/functional/ImageCaptureIntentTest.java b/tests/src/com/android/camera/functional/ImageCaptureIntentTest.java
index 45af1ba08..bea1245de 100644
--- a/tests/src/com/android/camera/functional/ImageCaptureIntentTest.java
+++ b/tests/src/com/android/camera/functional/ImageCaptureIntentTest.java
@@ -132,7 +132,7 @@ public class ImageCaptureIntentTest extends ActivityInstrumentationTestCase2 <Ca
getInstrumentation().runOnMainSync(new Runnable() {
@Override
public void run() {
- getActivity().findViewById(R.id.btn_done).performClick();
+ getActivity().findViewById(R.id.done_button).performClick();
}
});
}
diff --git a/tests/src/com/android/camera/functional/VideoCaptureIntentTest.java b/tests/src/com/android/camera/functional/VideoCaptureIntentTest.java
index 269b84f73..6fd3fcea9 100644
--- a/tests/src/com/android/camera/functional/VideoCaptureIntentTest.java
+++ b/tests/src/com/android/camera/functional/VideoCaptureIntentTest.java
@@ -242,7 +242,7 @@ public class VideoCaptureIntentTest extends ActivityInstrumentationTestCase2 <Ca
getInstrumentation().runOnMainSync(new Runnable() {
@Override
public void run() {
- getActivity().findViewById(R.id.btn_done).performClick();
+ getActivity().findViewById(R.id.done_button).performClick();
}
});
}