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

Skip to content
Commit 3df5c234 authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN Committed by Xiao Ma
Browse files

Add test for NetworkStackUtils.attachRaFilter

The test uses buildRaPacket, which was defined in
IpClientIntegrationTest and is moved to a utility class in
frameworks/libs/net.

It creates a socket, sends a ICMPv6 echo packet and verifies that the
packet is received by the socket. Then attaches the RA filter, sends
another ICMPv6 echo packet and an RA, and verifies that only the RA is
received.

Bug: 168868607
Test: atest NetworkStackCoverageTests:NetworkStackUtilsIntegrationTest
Change-Id: I067570aa2ea6964a940b6baa8e935c3f6676643e
parent b0b2e6aa
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