
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.google.common.base.Joiner;
import com.jparams.junit4.data.Data;
import com.jparams.junit4.data.parser.DataParser;
public class DataReader implements Reader {
@Override
public Object[][] readData(Data annotation) {
String lines = Joiner.on(System.lineSeparator()).join(annotation.value());
return DataParser.parse(lines);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy