Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Wiki MergingWithOtherRunners #55

Open
GoogleCodeExporter opened this issue Mar 15, 2016 · 1 comment
Open

Update Wiki MergingWithOtherRunners #55

GoogleCodeExporter opened this issue Mar 15, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

I'm using 1.0.2 of JunitParams and the wiki entry MergingWithOtherRunners says

public class MyRunner extends BlockJUnit4ClassRunner {
   private ParameterisedTestClassRunner parameterisedRunner = new ParameterisedTestClassRunner();


but in fact ParameterisedTestClassRunner has no default C'tor.

I did something like this..
public abstract class MyTestRunner extends BlockJUnit4ClassRunner {

    private final ParameterisedTestClassRunner parameterisedRunner;

    public MyTestRunner (Class<?> klass) throws InitializationError {
        super(klass);
        parameterisedRunner = new ParameterisedTestClassRunner(super.getTestClass());
        // redirectJULToSLF4J();
    }

Original issue reported on code.google.com by [email protected] on 3 Jan 2014 at 7:29

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 14 Apr 2014 at 2:32

  • Changed state: Accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant