diff options
author | Neil Fuller <nfuller@google.com> | 2014-03-07 15:51:23 +0000 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2014-03-07 15:51:23 +0000 |
commit | 41b3a250ad7f07807b9567cb292d0f9b9287065c (patch) | |
tree | 78cfb1e4477515ff3198abf1d011712614a82d5e /luni | |
parent | 97c257d1ef1231e800ac85e117cd1ff4affc2c88 (diff) | |
download | libcore-41b3a250ad7f07807b9567cb292d0f9b9287065c.zip libcore-41b3a250ad7f07807b9567cb292d0f9b9287065c.tar.gz libcore-41b3a250ad7f07807b9567cb292d0f9b9287065c.tar.bz2 |
Fix incorrectly worded assertion failure.
The failure occurs when the test is run on a device without
enough network interfaces. When running CTS tests on a freshly
flashed device the wifi interface is defaulted to off, which
means it may be seen so it's worth fixing.
Change-Id: I39d533030afe0760c343d4b8c6b858b27e0abfc9
Diffstat (limited to 'luni')
-rw-r--r-- | luni/src/test/java/libcore/java/nio/channels/DatagramChannelMulticastTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/luni/src/test/java/libcore/java/nio/channels/DatagramChannelMulticastTest.java b/luni/src/test/java/libcore/java/nio/channels/DatagramChannelMulticastTest.java index 9882af5..a7eac3a 100644 --- a/luni/src/test/java/libcore/java/nio/channels/DatagramChannelMulticastTest.java +++ b/luni/src/test/java/libcore/java/nio/channels/DatagramChannelMulticastTest.java @@ -78,7 +78,7 @@ public class DatagramChannelMulticastTest extends TestCase { } } - assertTrue("Test environment must have at least one environment capable of multicast", + assertTrue("Test environment must have at least one network interface capable of multicast", atLeastOneInterface); // Find the first multicast-compatible interface that supports IPV6 if one exists |