diff options
author | Nate Jiang <qiangjiang@google.com> | 2020-07-27 14:38:09 -0700 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-07-29 22:47:29 +0000 |
commit | 7dd1feaea79e28dd6e8a1299095d5d3abfe11bb5 (patch) | |
tree | 0b8eb8f0eb367f1da444d6dac41cc2ad02bff850 | |
parent | 8b3b53c522da921349654cb88678371075c7ed7c (diff) | |
download | cts-7dd1feaea79e28dd6e8a1299095d5d3abfe11bb5.tar.gz |
[CTS] GetEnterpriseConfig should return null when unset
Fix the CTS test.
Bug: 162031037
Test: atest WifiNetworkSuggestionTest
Merged-In: Id2b2f44981c7f98ec62f20cb9e8feb01a007b6b5
Change-Id: Id2b2f44981c7f98ec62f20cb9e8feb01a007b6b5
(cherry picked from commit ab2ec0749594f711dd4501ce01af26848f295a9a)
(cherry picked from commit 92c6456738e99104c2130eface2ef211c120f82b)
-rw-r--r-- | tests/tests/wifi/src/android/net/wifi/cts/WifiNetworkSuggestionTest.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/tests/wifi/src/android/net/wifi/cts/WifiNetworkSuggestionTest.java b/tests/tests/wifi/src/android/net/wifi/cts/WifiNetworkSuggestionTest.java index c6fc35fd8f3..34a36d64f41 100644 --- a/tests/tests/wifi/src/android/net/wifi/cts/WifiNetworkSuggestionTest.java +++ b/tests/tests/wifi/src/android/net/wifi/cts/WifiNetworkSuggestionTest.java @@ -116,7 +116,6 @@ public class WifiNetworkSuggestionTest extends WifiJUnit3TestBase { .build(); validateCommonParams(suggestion); assertEquals(TEST_PASSPHRASE, suggestion.getPassphrase()); - assertNotNull(suggestion.getEnterpriseConfig()); assertNull(suggestion.getPasspointConfig()); } @@ -134,7 +133,6 @@ public class WifiNetworkSuggestionTest extends WifiJUnit3TestBase { .build(); validateCommonParams(suggestion); assertEquals(TEST_PASSPHRASE, suggestion.getPassphrase()); - assertNotNull(suggestion.getEnterpriseConfig()); assertNull(suggestion.getPasspointConfig()); } @@ -152,7 +150,6 @@ public class WifiNetworkSuggestionTest extends WifiJUnit3TestBase { .build(); validateCommonParams(suggestion); assertEquals(TEST_PASSPHRASE, suggestion.getPassphrase()); - assertNotNull(suggestion.getEnterpriseConfig()); assertNull(suggestion.getPasspointConfig()); } @@ -267,7 +264,6 @@ public class WifiNetworkSuggestionTest extends WifiJUnit3TestBase { .build(); validateCommonParams(suggestion, true); assertNull(suggestion.getPassphrase()); - assertNotNull(suggestion.getEnterpriseConfig()); assertEquals(passpointConfig, suggestion.getPasspointConfig()); } } |