Package wyvern.tools.tests.utils

Examples of wyvern.tools.tests.utils.TestSuiteParser


  @Parameterized.Parameters(name = "{0}")
  public static Iterable<Object[]> data() {
    List<TestCase> cases = Arrays.asList(files).stream().map(file->fileRoot + file).map(file -> {
      try (InputStream is = FileTestRunner.class.getClassLoader().getResourceAsStream(file)) {
        try (InputStreamReader isr = new InputStreamReader(is)) {
          return (List<TestCase>)(new TestSuiteParser().parse(isr, file));
        }
      } catch (Exception e) {
        throw new RuntimeException(e);
      }
    }).flatMap(icases -> icases.stream()).collect(Collectors.toList());
View Full Code Here

TOP

Related Classes of wyvern.tools.tests.utils.TestSuiteParser

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.