commit | cc52602af83f50a3b9c4503defdc0bd0b171ce90 | [log] [tgz] |
---|---|---|
author | Ayush Jain <ayushjain@google.com> | Tue Mar 28 21:05:51 2023 +0000 |
committer | Ayush Jain <ayushjain@google.com> | Wed Mar 29 18:21:55 2023 +0000 |
tree | 1eb18ae506fc978995ce6c0d3f5e02f0c8cafc25 | |
parent | 8fceb7817f5356bb363cd1c9c1f85244676f2b55 [diff] |
Implement onCountryCodeChanged() callback in tests Setup the tests to invoke the onCountryCodeChanged() callback. Currently the unit tests emulate the mUwbCountryCode.setCountryCode() call by setting up the return value. This however misses that when the country code is valid, this will call will result in an inline invocation of the onCountryCodeChanged() callback. Test: atest ServiceUwbTests Bug: 275428627 Change-Id: Ie03383945802207998a7dabe5afc823781095e3c