// If the Berkeley filer was built in then test it too.
try {
Class filerClass = Class.forName("org.apache.xindice.core.filer.BerkeleyBTreeFiler");
Filer filer = (Filer) filerClass.newInstance();
suite.addTest(new FilerTestBase("BerkeleyFilerTestCase", filer){});
} catch (Exception e) {
// If the class wasn't built just ignore it.
}
return suite;