Skip to content

Commit 5c0e9b7

Browse files
committed
Added specified imports for unit tests.
1 parent 541905f commit 5c0e9b7

File tree

7 files changed

+53
-13
lines changed

7 files changed

+53
-13
lines changed

src/test/java/com/github/underscore/CollectionsTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
package com.github.underscore;
2525

2626
import static java.util.Arrays.asList;
27-
import static org.junit.Assert.*;
27+
import static org.junit.Assert.assertEquals;
28+
import static org.junit.Assert.assertFalse;
29+
import static org.junit.Assert.assertTrue;
2830

2931
import java.util.ArrayDeque;
3032
import java.util.ArrayList;

src/test/java/com/github/underscore/ObjectsTest.java

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,20 @@
2424
package com.github.underscore;
2525

2626
import static java.util.Arrays.asList;
27-
import static org.junit.Assert.*;
28-
29-
import java.util.*;
27+
import static org.junit.Assert.assertEquals;
28+
import static org.junit.Assert.assertFalse;
29+
import static org.junit.Assert.assertNull;
30+
import static org.junit.Assert.assertTrue;
31+
32+
import java.util.ArrayList;
33+
import java.util.Arrays;
34+
import java.util.Collection;
35+
import java.util.Collections;
36+
import java.util.HashMap;
37+
import java.util.LinkedHashMap;
38+
import java.util.List;
39+
import java.util.Map;
40+
import java.util.Set;
3041
import java.util.function.Function;
3142
import java.util.function.Predicate;
3243
import org.junit.Test;

src/test/java/com/github/underscore/UnderscoreTest.java

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,18 @@
2525

2626
import static java.util.Arrays.asList;
2727
import static java.util.Collections.singletonList;
28-
import static org.junit.Assert.*;
29-
30-
import java.util.*;
28+
import static org.junit.Assert.assertArrayEquals;
29+
import static org.junit.Assert.assertEquals;
30+
import static org.junit.Assert.assertFalse;
31+
import static org.junit.Assert.assertNull;
32+
import static org.junit.Assert.assertTrue;
33+
import static org.junit.Assert.fail;
34+
35+
import java.util.Iterator;
36+
import java.util.LinkedHashMap;
37+
import java.util.List;
38+
import java.util.Map;
39+
import java.util.Objects;
3140
import java.util.function.Predicate;
3241
import org.junit.Test;
3342

src/test/java/com/github/underscore/UtilityTest.java

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,18 @@
2424
package com.github.underscore;
2525

2626
import static java.util.Arrays.asList;
27-
import static org.junit.Assert.*;
28-
29-
import java.util.*;
27+
import static org.junit.Assert.assertEquals;
28+
import static org.junit.Assert.assertFalse;
29+
import static org.junit.Assert.assertTrue;
30+
31+
import java.util.ArrayList;
32+
import java.util.Arrays;
33+
import java.util.Collections;
34+
import java.util.Date;
35+
import java.util.HashMap;
36+
import java.util.LinkedHashMap;
37+
import java.util.List;
38+
import java.util.Map;
3039
import java.util.function.Supplier;
3140
import org.junit.Test;
3241

src/test/java/com/github/underscore/lodash/LodashTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525

2626
import static java.util.Arrays.asList;
2727
import static java.util.Collections.singletonList;
28-
import static org.junit.Assert.*;
28+
import static org.junit.Assert.assertArrayEquals;
29+
import static org.junit.Assert.assertEquals;
30+
import static org.junit.Assert.assertNull;
2931

3032
import com.github.underscore.Tuple;
3133
import java.util.ArrayList;

src/test/java/com/github/underscore/lodash/MathTest.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@
2929

3030
import java.math.BigDecimal;
3131
import java.math.BigInteger;
32-
import java.util.*;
32+
import java.util.ArrayList;
33+
import java.util.Collections;
34+
import java.util.HashSet;
35+
import java.util.List;
3336
import java.util.function.Function;
3437
import org.junit.Test;
3538

src/test/java/com/github/underscore/lodash/StringTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@
2424
package com.github.underscore.lodash;
2525

2626
import static java.util.Arrays.asList;
27-
import static org.junit.Assert.*;
27+
import static org.junit.Assert.assertEquals;
28+
import static org.junit.Assert.assertFalse;
29+
import static org.junit.Assert.assertNull;
30+
import static org.junit.Assert.assertTrue;
31+
import static org.junit.Assert.fail;
2832

2933
import com.github.underscore.Tuple;
3034
import com.github.underscore.lodash.Json.JsonStringBuilder;

0 commit comments

Comments
 (0)