aboutsummaryrefslogtreecommitdiffstats
path: root/ddms
diff options
context:
space:
mode:
authorBrett Chabot <brettchabot@android.com>2010-04-22 12:26:19 -0700
committerBrett Chabot <brettchabot@android.com>2010-04-22 12:26:19 -0700
commit2ef80f2c633bbaa1a5b647fda83a59c33fbf232e (patch)
treef6de3eb082c6db14ca3422ffbc7cbb07c232e082 /ddms
parent353e797d2ffed5a653c0eab0d0756d59c1945d1e (diff)
downloadsdk-2ef80f2c633bbaa1a5b647fda83a59c33fbf232e.zip
sdk-2ef80f2c633bbaa1a5b647fda83a59c33fbf232e.tar.gz
sdk-2ef80f2c633bbaa1a5b647fda83a59c33fbf232e.tar.bz2
Fix RemoteAndroidTestRunnerTest.
Change the test device mock to return a String for getSerialNumber. Change-Id: I83647927160c666330ddfb5394afe837577422d7
Diffstat (limited to 'ddms')
-rw-r--r--ddms/libs/ddmlib/tests/src/com/android/ddmlib/testrunner/RemoteAndroidTestRunnerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ddms/libs/ddmlib/tests/src/com/android/ddmlib/testrunner/RemoteAndroidTestRunnerTest.java b/ddms/libs/ddmlib/tests/src/com/android/ddmlib/testrunner/RemoteAndroidTestRunnerTest.java
index f9af29a..4727153 100644
--- a/ddms/libs/ddmlib/tests/src/com/android/ddmlib/testrunner/RemoteAndroidTestRunnerTest.java
+++ b/ddms/libs/ddmlib/tests/src/com/android/ddmlib/testrunner/RemoteAndroidTestRunnerTest.java
@@ -177,7 +177,7 @@ public class RemoteAndroidTestRunnerTest extends TestCase {
}
public String getSerialNumber() {
- throw new UnsupportedOperationException();
+ return "fakeserial";
}
public DeviceState getState() {