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.assertEquals;
import static org.junit.Assert.assertFalse; 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.Instant;
import java.time.LocalDate; 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.Instant;
import java.time.LocalDateTime; 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.LocalDateTime;
import java.time.ZoneId; 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.LocalDate;
import java.time.ZoneId; 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; import static org.junit.Assert.assertEquals;
@ -12,7 +12,7 @@ import java.util.Date;
import org.junit.Test; import org.junit.Test;
import com.baeldung.java9.datetime.DateToLocalDateConverter; import com.baeldung.datetolocaldate.DateToLocalDateConverter;
/** /**
* JUnits for {@link DateToLocalDateConverter} class. * 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; import static org.junit.Assert.assertEquals;
@ -12,7 +12,7 @@ import java.util.Date;
import org.junit.Test; import org.junit.Test;
import com.baeldung.java9.datetime.DateToLocalDateTimeConverter; import com.baeldung.datetolocaldate.DateToLocalDateTimeConverter;
/** /**
* JUnits for {@link DateToLocalDateTimeConverter} class. * 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; import static org.junit.Assert.assertEquals;
@ -11,6 +11,8 @@ import java.util.Date;
import org.junit.Test; import org.junit.Test;
import com.baeldung.datetolocaldate.LocalDateTimeToDateConverter;
/** /**
* *
* JUnits for {@link LocalDateTimeToDateConverter} class. * 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; import static org.junit.Assert.assertEquals;
@ -11,6 +11,8 @@ import java.util.Date;
import org.junit.Test; import org.junit.Test;
import com.baeldung.datetolocaldate.LocalDateToDateConverter;
/** /**
* *
* JUnits for {@link LocalDateToDateConverter} class. * JUnits for {@link LocalDateToDateConverter} class.

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,8 @@
package org.baeldung.mockito; package org.baeldung.mockito;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import org.baeldung.mockito.voidmethods.MyList;
import org.junit.Test; import org.junit.Test;
import org.mockito.ArgumentCaptor; import org.mockito.ArgumentCaptor;
import org.mockito.InOrder; 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.junit.Assert.assertEquals;
import static org.mockito.ArgumentMatchers.any; 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; import java.util.AbstractList;
class MyList extends AbstractList<String> { public class MyList extends AbstractList<String> {
@Override @Override
public String get(final int index) { public String get(final int index) {