erav / junit-ext

Automatically exported from code.google.com/p/junit-ext
0 stars 0 forks source link

NosuchMehod <init> error with Preconditions tag. #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Created a Precondition class that implements the Precondition interface;
Created a constructor taking int[] param;

2. Annotate a Test method with the Preconditions tag. Use the @Context tag
to pass-in a int[]

3. Run the JUnit test case

What is the expected output? What do you see instead?
Expected: The test method should run with the Precondition class invoked at
the earlier

Actual: It throws a Runtime exception; NoSuchMethodError exception<init>
not found in the specific Preconditon class

What version of the product are you using? On what operating system?
Junit-ext-1.0-junit-4.5-RC3 jar;
OS: Cent OS

Please provide any additional information below.
Context param in the test class:
@ Context int[] strArray = {1,2};

Original issue reported on code.google.com by psoma....@gmail.com on 8 Dec 2009 at 7:28

GoogleCodeExporter commented 8 years ago

Original comment by psoma....@gmail.com on 8 Dec 2009 at 8:00

Attachments: