org.spockframework.buildsupport
Class SpecClassFileFinder

java.lang.Object
  extended by org.spockframework.buildsupport.SpecClassFileFinder

public class SpecClassFileFinder
extends java.lang.Object

Finds all class files below a base directory that contain a runnable spec.

Author:
Peter Niederwieser

Constructor Summary
SpecClassFileFinder()
           
 
Method Summary
 java.util.List<java.io.File> findRunnableSpecs(java.io.File baseDir)
           
 boolean isRunnableSpec(java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecClassFileFinder

public SpecClassFileFinder()
Method Detail

findRunnableSpecs

public java.util.List<java.io.File> findRunnableSpecs(java.io.File baseDir)
                                               throws java.io.IOException
Throws:
java.io.IOException

isRunnableSpec

public boolean isRunnableSpec(java.io.File file)
                       throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2013. All rights reserved