This commit is contained in:
DOHA 2016-10-29 11:50:29 +02:00
parent d426ea75b4
commit ba093502a1
10 changed files with 11 additions and 11 deletions

View File

@ -7,7 +7,7 @@ import java.time.Month;
import org.junit.Assert; import org.junit.Assert;
import org.junit.Test; import org.junit.Test;
public class UseLocalDateTimeTest { public class UseLocalDateTimeUnitTest {
UseLocalDateTime useLocalDateTime = new UseLocalDateTime(); UseLocalDateTime useLocalDateTime = new UseLocalDateTime();

View File

@ -7,7 +7,7 @@ import java.time.LocalDateTime;
import org.junit.Assert; import org.junit.Assert;
import org.junit.Test; import org.junit.Test;
public class UseLocalDateTest { public class UseLocalDateUnitTest {
UseLocalDate useLocalDate = new UseLocalDate(); UseLocalDate useLocalDate = new UseLocalDate();

View File

@ -5,7 +5,7 @@ import java.time.LocalTime;
import org.junit.Assert; import org.junit.Assert;
import org.junit.Test; import org.junit.Test;
public class UseLocalTimeTest { public class UseLocalTimeUnitTest {
UseLocalTime useLocalTime = new UseLocalTime(); UseLocalTime useLocalTime = new UseLocalTime();

View File

@ -6,7 +6,7 @@ import java.time.Period;
import org.junit.Assert; import org.junit.Assert;
import org.junit.Test; import org.junit.Test;
public class UsePeriodTest { public class UsePeriodUnitTest {
UsePeriod usingPeriod=new UsePeriod(); UsePeriod usingPeriod=new UsePeriod();
@Test @Test

View File

@ -7,7 +7,7 @@ import java.time.ZonedDateTime;
import org.junit.Assert; import org.junit.Assert;
import org.junit.Test; import org.junit.Test;
public class UseZonedDateTimeTest { public class UseZonedDateTimeUnitTest {
UseZonedDateTime zonedDateTime=new UseZonedDateTime(); UseZonedDateTime zonedDateTime=new UseZonedDateTime();

View File

@ -13,7 +13,7 @@ import java.util.function.BiFunction;
import static com.baeldung.doublecolon.ComputerUtils.*; import static com.baeldung.doublecolon.ComputerUtils.*;
public class TestComputerUtils { public class ComputerUtilsUnitTest {
@Before @Before
public void setup() { public void setup() {

View File

@ -17,9 +17,9 @@ import java.util.Map;
import static java.util.stream.Collectors.joining; import static java.util.stream.Collectors.joining;
public class EncoderDecoderTest { public class EncoderDecoderUnitTest {
private static final Logger LOGGER = LoggerFactory.getLogger(EncoderDecoderTest.class); private static final Logger LOGGER = LoggerFactory.getLogger(EncoderDecoderUnitTest.class);
private static final String testUrl = "http://www.baeldung.com?key1=value+1&key2=value%40%21%242&key3=value%253"; private static final String testUrl = "http://www.baeldung.com?key1=value+1&key2=value%40%21%242&key3=value%253";
private String encodeValue(String value) { private String encodeValue(String value) {

View File

@ -9,7 +9,7 @@ import java.util.List;
import static junit.framework.TestCase.assertTrue; import static junit.framework.TestCase.assertTrue;
public class PizzaTest { public class PizzaUnitTest {
@Test @Test
public void givenPizaOrder_whenReady_thenDeliverable() { public void givenPizaOrder_whenReady_thenDeliverable() {

View File

@ -10,7 +10,7 @@ import java.io.IOException;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertFalse;
public class UDPTest { public class UDPIntegrationTest {
private EchoClient client; private EchoClient client;
@Before @Before

View File

@ -7,7 +7,7 @@ import java.net.URL;
import org.junit.Test; import org.junit.Test;
public class UrlTest { public class UrlUnitTest {
@Test @Test
public void givenUrl_whenCanIdentifyProtocol_thenCorrect() throws MalformedURLException { public void givenUrl_whenCanIdentifyProtocol_thenCorrect() throws MalformedURLException {