1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.commons.io.file;
19
20 import java.util.stream.Stream;
21
22 import org.junit.jupiter.params.provider.Arguments;
23
24 class TestArguments {
25
26 static Stream<Arguments> cleaningPathVisitors() {
27
28 return Stream.of(
29 Arguments.of(CleaningPathVisitor.withBigIntegerCounters()),
30 Arguments.of(CleaningPathVisitor.withLongCounters()));
31
32 }
33
34 static Stream<Arguments> countingPathVisitors() {
35
36 return Stream.of(
37 Arguments.of(CountingPathVisitor.withBigIntegerCounters()),
38 Arguments.of(CountingPathVisitor.withLongCounters()));
39
40 }
41
42 static Stream<Arguments> deletingPathVisitors() {
43
44 return Stream.of(
45 Arguments.of(DeletingPathVisitor.withBigIntegerCounters()),
46 Arguments.of(DeletingPathVisitor.withLongCounters()));
47
48 }
49
50 static Stream<Arguments> numberCounters() {
51
52 return Stream.of(
53 Arguments.of(Counters.longCounter()),
54 Arguments.of(Counters.bigIntegerCounter()));
55
56 }
57
58 static Stream<Arguments> pathCounters() {
59
60 return Stream.of(
61 Arguments.of(Counters.longPathCounters()),
62 Arguments.of(Counters.bigIntegerPathCounters()));
63
64 }
65 }