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