Skip to content

Commit 0fbf394

Browse files
author
Grzegorz Piwowarek
committed
Rename NetworkInterfaceTest
1 parent 8848d98 commit 0fbf394

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

core-java/src/test/java/com/baeldung/java/networking/interfaces/NetworkInterfaceTest.java renamed to core-java/src/test/java/com/baeldung/java/networking/interfaces/NetworkInterfaceManualTest.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
package com.baeldung.java.networking.interfaces;
22

3-
import static org.junit.Assert.*;
3+
import org.junit.Test;
44

5-
import java.net.InetAddress;
6-
import java.net.InterfaceAddress;
7-
import java.net.NetworkInterface;
8-
import java.net.SocketException;
9-
import java.net.UnknownHostException;
5+
import java.net.*;
106
import java.util.Enumeration;
117
import java.util.List;
128

13-
import org.junit.Test;
9+
import static org.junit.Assert.*;
1410

15-
public class NetworkInterfaceTest {
11+
public class NetworkInterfaceManualTest {
1612
@Test
1713
public void givenName_whenReturnsNetworkInterface_thenCorrect() throws SocketException {
1814
NetworkInterface nif = NetworkInterface.getByName("lo");

0 commit comments

Comments
 (0)