org.spockframework.runtime
Class JUnitFilterAdapter

java.lang.Object
  extended by org.spockframework.runtime.JUnitFilterAdapter
All Implemented Interfaces:
IFeatureFilter

public class JUnitFilterAdapter
extends java.lang.Object
implements IFeatureFilter

Adapts an org.junit.runner.manipulation.Filter to an IMethodInfoFilter.

Author:
Peter Niederwieser

Constructor Summary
JUnitFilterAdapter(org.junit.runner.manipulation.Filter filter)
           
 
Method Summary
 boolean matches(FeatureInfo method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitFilterAdapter

public JUnitFilterAdapter(org.junit.runner.manipulation.Filter filter)
Method Detail

matches

public boolean matches(FeatureInfo method)
Specified by:
matches in interface IFeatureFilter


Copyright © 2013. All rights reserved