Update testCreateTransform() for one-way transforms
This patch augments testCreateTransform() to
selectively apply the ipSecTransform in one/both
directions and then verifies that the link succeeds or
fails correctly. In addition, this converts the test
to use the Java sockets API for DatagramSocket instead
of using the FD-based API. One of the combos does not
fail as expected, so b/72048263 is tracking further
work needed.
Bug: 72047396
Bug: 71717213
Test: cts - IpSecManagerTest
Change-Id: Ied961f442b29f1e66ded37c7ffe7afdd4a5c49da
1 file changed
tree: 8caa57ff9c3c3404e396f17758c1199d317434e9
- tests/