BAEL-16980 Slice 7 | The top 100 articles should have their own package in the module (#7663)

This commit is contained in:
Dhawal Kapil 2019-09-01 01:00:33 +05:30 committed by Josh Cummings
parent f5dcc8e57b
commit 51bd347f6a
16 changed files with 29 additions and 14 deletions

View File

@ -1,4 +1,4 @@
package com.baeldung.java8;
package com.baeldung.concurrent.executorservice;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;

View File

@ -1,7 +1,7 @@
/**
*
*/
package com.baeldung.java9.datetime;
package com.baeldung.datetolocaldate;
import java.time.Instant;
import java.time.LocalDate;

View File

@ -1,7 +1,7 @@
/**
*
*/
package com.baeldung.java9.datetime;
package com.baeldung.datetolocaldate;
import java.time.Instant;
import java.time.LocalDateTime;

View File

@ -1,7 +1,7 @@
/**
*
*/
package com.baeldung.java9.datetime;
package com.baeldung.datetolocaldate;
import java.time.LocalDateTime;
import java.time.ZoneId;

View File

@ -1,7 +1,7 @@
/**
*
*/
package com.baeldung.java9.datetime;
package com.baeldung.datetolocaldate;
import java.time.LocalDate;
import java.time.ZoneId;

View File

@ -1,7 +1,7 @@
/**
*
*/
package com.baeldung.java9.datetime;
package com.baeldung.datetolocaldate;
import static org.junit.Assert.assertEquals;
@ -12,7 +12,7 @@ import java.util.Date;
import org.junit.Test;
import com.baeldung.java9.datetime.DateToLocalDateConverter;
import com.baeldung.datetolocaldate.DateToLocalDateConverter;
/**
* JUnits for {@link DateToLocalDateConverter} class.

View File

@ -1,7 +1,7 @@
/**
*
*/
package com.baeldung.java9.datetime;
package com.baeldung.datetolocaldate;
import static org.junit.Assert.assertEquals;
@ -12,7 +12,7 @@ import java.util.Date;
import org.junit.Test;
import com.baeldung.java9.datetime.DateToLocalDateTimeConverter;
import com.baeldung.datetolocaldate.DateToLocalDateTimeConverter;
/**
* JUnits for {@link DateToLocalDateTimeConverter} class.

View File

@ -1,7 +1,7 @@
/**
*
*/
package com.baeldung.java9.datetime;
package com.baeldung.datetolocaldate;
import static org.junit.Assert.assertEquals;
@ -11,6 +11,8 @@ import java.util.Date;
import org.junit.Test;
import com.baeldung.datetolocaldate.LocalDateTimeToDateConverter;
/**
*
* JUnits for {@link LocalDateTimeToDateConverter} class.

View File

@ -1,7 +1,7 @@
/**
*
*/
package com.baeldung.java9.datetime;
package com.baeldung.datetolocaldate;
import static org.junit.Assert.assertEquals;
@ -11,6 +11,8 @@ import java.util.Date;
import org.junit.Test;
import com.baeldung.datetolocaldate.LocalDateToDateConverter;
/**
*
* JUnits for {@link LocalDateToDateConverter} class.

View File

@ -1,5 +1,7 @@
package org.baeldung.mockito;
import org.baeldung.mockito.voidmethods.MyList;
public final class FinalList extends MyList {
@Override

View File

@ -6,6 +6,8 @@ import static org.junit.Assert.assertNotEquals;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import org.baeldung.mockito.voidmethods.MyList;
public class MockFinals {
@Test

View File

@ -11,6 +11,8 @@ import static org.mockito.Matchers.anyInt;
import static org.mockito.Matchers.anyString;
import static org.mockito.Mockito.*;
import org.baeldung.mockito.voidmethods.MyList;
public class MockitoConfigExamplesIntegrationTest {
// tests

View File

@ -1,6 +1,9 @@
package org.baeldung.mockito;
import static org.mockito.Mockito.*;
import org.baeldung.mockito.voidmethods.MyList;
import static org.junit.Assert.assertThat;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.containsString;

View File

@ -1,6 +1,8 @@
package org.baeldung.mockito;
import com.google.common.collect.Lists;
import org.baeldung.mockito.voidmethods.MyList;
import org.junit.Test;
import org.mockito.ArgumentCaptor;
import org.mockito.InOrder;

View File

@ -1,4 +1,4 @@
package org.baeldung.mockito;
package org.baeldung.mockito.voidmethods;
import static org.junit.Assert.assertEquals;
import static org.mockito.ArgumentMatchers.any;

View File

@ -1,8 +1,8 @@
package org.baeldung.mockito;
package org.baeldung.mockito.voidmethods;
import java.util.AbstractList;
class MyList extends AbstractList<String> {
public class MyList extends AbstractList<String> {
@Override
public String get(final int index) {