Examples of SpecClassFileFinder


Examples of org.spockframework.buildsupport.SpecClassFileFinder

  private List<String> findSpecs() throws MojoExecutionException {
    final List<String> specNames;

    try {
      List<File> specFiles = new SpecClassFileFinder().findRunnableSpecs(testOutputDirectory);
      specNames = new ArrayList<String>(specFiles.size());
      for (File file : specFiles) {
        String path = file.getAbsolutePath();
        String name = path.substring(testOutputDirectory.getAbsolutePath().length() + 1,
            path.length() - ".class".length()).replace(File.separatorChar, '.');
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.