commit | 7f817f5e2387a5835f41a1c8491def51d34ba1d9 | [log] [tgz] |
---|---|---|
author | Ahmed ElArabawy <arabawy@google.com> | Thu Mar 26 21:27:59 2020 -0700 |
committer | Ahmed ElArabawy <arabawy@google.com> | Fri Mar 27 00:08:58 2020 -0700 |
tree | e8b2f8abdc8b9f4fbe127a72b380c82bf3b1fb63 | |
parent | a3e5a6fc9c18fac872e254950a4801e86a7bc63e [diff] |
Wifi: Fix vts tests error handling In current code, VTS tests checks on null pointer using EXPECT_NE then proceed with using the variable. This causes a null pointer exception when the test fails. This commit replaces the EXPECT_NE with ASSERT_NE to exit the test on failure. Bug: 152576797 Test: atest VtsHalWifiV1_0TargetTest Change-Id: I5e54634020216f91144a234caf2b990de5706d8c