com.jparams.junit4.data.reader.DataReader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jparams-junit4 Show documentation
Show all versions of jparams-junit4 Show documentation
Parameterized JUnit4 Tests
package com.jparams.junit4.data.reader;
import com.jparams.junit4.data.Data;
import com.jparams.junit4.data.parser.DataParser;
import com.jparams.junit4.util.Joiner;
public class DataReader implements Reader {
@Override
public Object[][] readData(Data annotation) {
String lines = Joiner.join(annotation.value(), System.lineSeparator());
return DataParser.parse(lines);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy