All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jparams.junit4.data.reader.DataReader Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
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