D | MacAddressTest.java | 45 static class TestCase { class in MacAddressTest 51 TestCase(String macAddress, String ouiString, int addressType, boolean isLocallyAssigned) { in TestCase() method in MacAddressTest.TestCase 81 TestCase[] tests = { in testMacAddress() 82 new TestCase("ff:ff:ff:ff:ff:ff", "ff:ff:ff", TYPE_BROADCAST, LOCALLY_ASSIGNED), in testMacAddress() 83 new TestCase("d2:c4:22:4d:32:a8", "d2:c4:22", TYPE_UNICAST, LOCALLY_ASSIGNED), in testMacAddress() 84 new TestCase("33:33:aa:bb:cc:dd", "33:33:aa", TYPE_MULTICAST, LOCALLY_ASSIGNED), in testMacAddress() 85 new TestCase("06:00:00:00:00:00", "06:00:00", TYPE_UNICAST, LOCALLY_ASSIGNED), in testMacAddress() 86 new TestCase("07:00:d3:56:8a:c4", "07:00:d3", TYPE_MULTICAST, LOCALLY_ASSIGNED), in testMacAddress() 87 new TestCase("00:01:44:55:66:77", "00:01:44", TYPE_UNICAST, GLOBALLY_UNIQUE), in testMacAddress() 88 new TestCase("08:00:22:33:44:55", "08:00:22", TYPE_UNICAST, GLOBALLY_UNIQUE), in testMacAddress() [all …]
|