org.junit.runners.parameterized.BlockJUnit4ClassRunnerWithParameters Java Examples

The following examples show how to use org.junit.runners.parameterized.BlockJUnit4ClassRunnerWithParameters. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Live.java    From denominator with Apache License 2.0 5 votes vote down vote up
protected List<Runner> createRunners(Class<?> klass) throws InitializationError {
  List<Runner> result = new ArrayList<Runner>();
  TestWithParameters test = new TestWithParameters(graph.manager().toString(), getTestClass(),
                                                   Arrays.<Object>asList(graph.manager()));
  result.add(new BlockJUnit4ClassRunnerWithParameters(test));
  return Collections.unmodifiableList(result);
}