summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEtan Cohen <etancohen@google.com>2016-10-06 04:58:32 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-10-06 04:58:32 +0000
commit407eeab2b7ff2f06b970e36537965facf5bd98d3 (patch)
treeaca4f7fb59c69c22d7553d5d90d83fce3881b2d6 /tests
parent38c12da9b41d65213e12b08d5764f653867d19b1 (diff)
parent8e9270f11fd99340cd651244a9575c36f6ca3483 (diff)
[NAN] Expose NAN characteristics as an API am: 002ae45918 am: 387fb1854f
am: 8e9270f11f Change-Id: Ia4c2c889b918114ce33d9bf2a8c86faec5eabcda
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/nan/WifiNanManagerTest.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/nan/WifiNanManagerTest.java b/tests/wifitests/src/com/android/server/wifi/nan/WifiNanManagerTest.java
index eec344fe0..7e451af2f 100644
--- a/tests/wifitests/src/com/android/server/wifi/nan/WifiNanManagerTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/nan/WifiNanManagerTest.java
@@ -137,6 +137,16 @@ public class WifiNanManagerTest {
verify(mockNanService).isUsageEnabled();
}
+ /**
+ * Validate pass-through of getCharacteristics() API.
+ */
+ @Test
+ public void testGetCharacteristics() throws Exception {
+ mDut.getCharacteristics();
+
+ verify(mockNanService).getCharacteristics();
+ }
+
/*
* WifiNanEventCallbackProxy Tests
*/