public void testFilteredClassifier(){
  Instances data;
  int i;
  if (m_FilteredClassifier == null) {
    return;
  }
  try {
    data=getFilteredClassifierData();
    m_FilteredClassifier.buildClassifier(data);
    for (i=0; i < data.numInstances(); i++) {
      m_FilteredClassifier.classifyInstance(data.instance(i));
    }
  }
 catch (  Exception e) {
    fail("Problem with FilteredClassifier: " + e.toString());
  }
}

public void testFilteredClassifier ( ) { Instances data ; int i ; if ( m_FilteredClassifier == null ) { return ; } try { data = getFilteredClassifierData ( ) ; m_FilteredClassifier . buildClassifier ( data ) ; for ( i = 0 ; i < data . numInstances ( ) ; i ++ ) { m_FilteredClassifier . classifyInstance ( data . instance ( i ) ) ; } } catch ( Exception e ) { fail ( "Problem with FilteredClassifier: " + e . toString ( ) ) ; } }
tests the filter in conjunction with the filteredclassifier
