summaryrefslogtreecommitdiffstats
path: root/services/tests
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2013-11-26 01:02:30 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-11-26 01:02:31 +0000
commiteede7e89c94b3bb56c26aec137c53d592d3bc7c3 (patch)
tree1c1bef2ecca682d5d55176b3956bf4c611febbbf /services/tests
parent8a234809e47106e445a4ddf2c70b9cd50d4c9348 (diff)
parenta9626c1c956f51e7b4cb783d70b75abc3b180a00 (diff)
downloadframeworks_base-eede7e89c94b3bb56c26aec137c53d592d3bc7c3.zip
frameworks_base-eede7e89c94b3bb56c26aec137c53d592d3bc7c3.tar.gz
frameworks_base-eede7e89c94b3bb56c26aec137c53d592d3bc7c3.tar.bz2
Merge "Minor cleanups to NetdCallbackReceiver.onEvent."
Diffstat (limited to 'services/tests')
-rw-r--r--services/tests/servicestests/src/com/android/server/NetworkManagementServiceTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/tests/servicestests/src/com/android/server/NetworkManagementServiceTest.java b/services/tests/servicestests/src/com/android/server/NetworkManagementServiceTest.java
index 56dd7c4..30d4eff 100644
--- a/services/tests/servicestests/src/com/android/server/NetworkManagementServiceTest.java
+++ b/services/tests/servicestests/src/com/android/server/NetworkManagementServiceTest.java
@@ -166,6 +166,9 @@ public class NetworkManagementServiceTest extends AndroidTestCase {
sendMessage("614 Address removed 2001:db8::1/64 wlan0 1 0");
expectSoon(observer).addressRemoved("2001:db8::1/64", "wlan0", 1, 0);
+ sendMessage("614 Address removed 2001:db8::1/64 wlan0 1");
+ // Not enough arguments.
+
sendMessage("666 Address added 2001:db8::1/64 wlan0 1 0");
// Invalid code.