Normalize test method names

This commit is contained in:
Gary Gregory 2023-11-04 08:38:59 -04:00
parent eba4b8cbc5
commit aa4a148bf0
3 changed files with 5 additions and 5 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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()),