Comments (2)
Ah, the cause is the infamous $
method :) If you code it like this
public Object[] primitiveArray() {
return new Object[]{new Object[]{new int[]{0, 1}}};
}
public Object[] objectArray() {
return new Object[]{new Object[]{new Integer[]{0, 1}}};
}
then it works. Up to you guys if you still want to tackle it.
from junitparams.
We decided not to support $
method as it was producing too much confusion and problems. Check javadocs for this method.
from junitparams.
Related Issues (20)
- Allow @Parameters(source = SomeClass.class) to have non-static provide* methods
- Better exception for missing parameters HOT 5
- Method used in Parameters(method="") is shown as unused in intelliJ HOT 2
- Make class name optional in @TestCaseName
- Escaped comma with "\\" shows as "\" in Idea RUN HOT 1
- Maven can't read artifact for version 1.1.1 HOT 1
- Question - Can we pass multiple files in the FileParameters annotation?
- Question about custom ParametersProvider (@CustomParameters) HOT 1
- @FileParameters does not respect quotes around columns in a CSV
- status of this project HOT 1
- JUnitParams cannot be used with JUnit 5's @ExtendWith mechanism
- Some tests failed with newer version of junit HOT 1
- Feature of splitting the array HOT 1
- Incorrect method 'description' evaluation (description is null) leading to NPE and build crash in maven
- How to executing single method in Android Studio?
- How to extend FileParameters to read from json lines, rather than csv, in order to allow structure? HOT 1
- "Starting 0 tests" when running instrumentation test HOT 1
- Adding a possibility to define custom TestCaseNamingStrategy HOT 1
- Fix variable font conversion from AWT to Skiko HOT 1
- Is this project still alive?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from junitparams.