From d5fdf4486db9b8970bf2544f9f2571c6a6cf015d Mon Sep 17 00:00:00 2001 From: Peter Qiu Date: Fri, 28 Jul 2017 09:27:56 -0700 Subject: Fix test failure in NetworkListStoreDataTest and WifiConfigStoreTest A new field (MeteredOverride) was added to the serialized representation of WifiConfiguration. So update the tests to reflect it. Bug: 64124966 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Id60a675ef66602e3305aa4a6c81d9b5a4e0b4d4b --- .../wifitests/src/com/android/server/wifi/NetworkListStoreDataTest.java | 2 ++ tests/wifitests/src/com/android/server/wifi/WifiConfigStoreTest.java | 1 + 2 files changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/wifitests/src/com/android/server/wifi/NetworkListStoreDataTest.java b/tests/wifitests/src/com/android/server/wifi/NetworkListStoreDataTest.java index 01257c16e..cbad3bbec 100644 --- a/tests/wifitests/src/com/android/server/wifi/NetworkListStoreDataTest.java +++ b/tests/wifitests/src/com/android/server/wifi/NetworkListStoreDataTest.java @@ -75,6 +75,7 @@ public class NetworkListStoreDataTest { + "\n" + "\n" + "\n" + + "\n" + "\n" + "\n" + "\n" @@ -125,6 +126,7 @@ public class NetworkListStoreDataTest { + "\n" + "\n" + "\n" + + "\n" + "\n" + "\n" + "\n" diff --git a/tests/wifitests/src/com/android/server/wifi/WifiConfigStoreTest.java b/tests/wifitests/src/com/android/server/wifi/WifiConfigStoreTest.java index 47efed3c4..86d6e11e7 100644 --- a/tests/wifitests/src/com/android/server/wifi/WifiConfigStoreTest.java +++ b/tests/wifitests/src/com/android/server/wifi/WifiConfigStoreTest.java @@ -91,6 +91,7 @@ public class WifiConfigStoreTest { + "\n" + "\n" + "\n" + + "\n" + "\n" + "\n" + "\n" -- cgit v1.2.3