Normalize test method names
This commit is contained in:
parent
eba4b8cbc5
commit
aa4a148bf0
|
@ -2249,7 +2249,7 @@ public class CollectionUtilsTest extends MockTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void transform1() {
|
||||
public void testTransform1() {
|
||||
List<Number> list = new ArrayList<>();
|
||||
list.add(1L);
|
||||
list.add(2L);
|
||||
|
@ -2273,7 +2273,7 @@ public class CollectionUtilsTest extends MockTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void transform2() {
|
||||
public void testTransform2() {
|
||||
final Set<Number> set = new HashSet<>();
|
||||
set.add(1L);
|
||||
set.add(2L);
|
||||
|
|
|
@ -274,7 +274,7 @@ public class FluentIterableTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void transform() {
|
||||
public void testTransform() {
|
||||
final Transformer<Integer, Integer> squared = object -> object * object;
|
||||
List<Integer> result = FluentIterable.of(iterableA).transform(squared).toList();
|
||||
assertEquals(10, result.size());
|
||||
|
@ -444,7 +444,7 @@ public class FluentIterableTest {
|
|||
|
||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
@Test
|
||||
public void toArray() {
|
||||
public void testToArray() {
|
||||
final Long[] arr = {1L, 2L, 3L, 4L, 5L};
|
||||
final Long[] result = FluentIterable.of(arr).toArray(Long.class);
|
||||
assertNotNull(result);
|
||||
|
|
|
@ -118,7 +118,7 @@ public class AllPredicateTest extends AbstractAnyAllOnePredicateTest<Integer> {
|
|||
* false predicate is actually evaluated
|
||||
*/
|
||||
@Test
|
||||
public void trueAndFalseCombined() {
|
||||
public void testTrueAndFalseCombined() {
|
||||
assertFalse(getPredicateInstance(false, null).evaluate(getTestValue()),
|
||||
"false predicate evaluated to true");
|
||||
assertFalse(getPredicateInstance(false, null, null).evaluate(getTestValue()),
|
||||
|
|
Loading…
Reference in New Issue