protected Object[] testsFor(Class<? extends LogTest> testClass) throws Throwable {
  List<Object> tests=new ArrayList<>();
  for (int i=1; i < 10; i++) {
    LogTest test=testClass.newInstance();
    test.entriesPerSegment=i;
    test.entryPadding=i / 3;
    tests.add(test);
  }
  return tests.toArray(new Object[tests.size()]);
}

protected Object [ ] testsFor ( Class < ? extends LogTest > testClass ) throws Throwable { List < Object > tests = new ArrayList < > ( ) ; for ( int i = 1 ; i < 10 ; i ++ ) { LogTest test = testClass . newInstance ( ) ; test . entriesPerSegment = i ; test . entryPadding = i / 3 ; tests . add ( test ) ; } return tests . toArray ( new Object [ tests . size ( ) ] ) ; }
returns a set of tests to run for varied log configurations .
