Skip to content

Commit

Permalink
Normalize test method names
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Nov 4, 2023
1 parent eba4b8c commit aa4a148
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2249,7 +2249,7 @@ public void testUnmodifiableCollection() {
}

@Test
public void transform1() {
public void testTransform1() {
List<Number> list = new ArrayList<>();
list.add(1L);
list.add(2L);
Expand All @@ -2273,7 +2273,7 @@ public void transform1() {
}

@Test
public void transform2() {
public void testTransform2() {
final Set<Number> set = new HashSet<>();
set.add(1L);
set.add(2L);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public void testSkip() {
}

@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());
Expand Down Expand Up @@ -444,7 +444,7 @@ public void testGet() {

@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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public void testAllTrue() {
* 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()),
Expand Down

0 comments on commit aa4a148

Please sign in to comment.