com.googlecode.lightest.core.filter
Interface ITestFilter

All Known Implementing Classes:
AndFilter, AnnotationContainsFilter, AnnotationEqualsFilter, AnnotationFilter, ComparisonFilter, FilterGroup, NotFilter, OrFilter

public interface ITestFilter

This class represents criteria to use for selecting a set of test methods to run. Implementations should choose an aspect to filter across, for example a declared method annotation.

Author:
hchai

Method Summary
 String filterString()
          Returns a canonical String representation of the filter.
 boolean test(Method m)
          Returns true if the method passes the filter, and false otherwise.
 

Method Detail

test

boolean test(Method m)
Returns true if the method passes the filter, and false otherwise.

Parameters:
m - the method being filtered

filterString

String filterString()
Returns a canonical String representation of the filter.



Copyright © 2009. All Rights Reserved.