Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5be8bf29 authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Test for unexpected prefix updates in SetAndClearNat64Prefix.

Add code to check that no onNat64PrefixEvent calls were sent by
the resolver other than the ones expected by the test.

This adds a simple counter of unexpected events to the test
DnsMetricsListener. It does not offer the ability to check which
events occur and in what order, but it does at least not require
adding timeouts to ensure that the unexpected events do not
occur.

Bug: 156914456
Test: test-only change
Original-Change: https://android-review.googlesource.com/1313745
Merged-In: Ic86f93161293b4ad5366fd9cab2e26d4a6f636c4
Change-Id: Ic86f93161293b4ad5366fd9cab2e26d4a6f636c4
parent 0d234b06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment