コード例 #1
0
 @Override
 public TestLauncher withJvmTestMethods(String testClass, String... methods) {
   withJvmTestMethods(testClass, CollectionUtils.toList(methods));
   return this;
 }
コード例 #2
0
 @Override
 public TestLauncher withJvmTestClasses(Iterable<String> testClasses) {
   testClassNames.addAll(CollectionUtils.toList(testClasses));
   return this;
 }
コード例 #3
0
 @Override
 public TestLauncher withTests(Iterable<? extends TestOperationDescriptor> descriptors) {
   operationDescriptors.addAll(CollectionUtils.toList(descriptors));
   return this;
 }
コード例 #4
0
 @Override
 public TestLauncher withJvmTestClasses(String... classNames) {
   testClassNames.addAll(CollectionUtils.toList(classNames));
   return this;
 }
コード例 #5
0
 private <T> void addAllReversed(List<T> list, TreeSet<T> set) {
   List<T> elements = CollectionUtils.toList(set);
   Collections.reverse(elements);
   list.addAll(elements);
 }