use of com.vladsch.flexmark.spec.SpecExample in project flexmark-java by vsch.
the class ComboMultiMarkdownCompatibilitySpecTest method data.
@Parameterized.Parameters(name = "{0}")
public static List<Object[]> data() {
List<SpecExample> examples = SpecReader.readExamples(SPEC_RESOURCE);
List<Object[]> data = new ArrayList<Object[]>();
// NULL example runs full spec test
data.add(new Object[] { SpecExample.NULL });
for (SpecExample example : examples) {
data.add(new Object[] { example });
}
return data;
}
use of com.vladsch.flexmark.spec.SpecExample in project flexmark-java by vsch.
the class ComboPegdownCompatibilitySpecTest method data.
@Parameterized.Parameters(name = "{0}")
public static List<Object[]> data() {
List<SpecExample> examples = SpecReader.readExamples(SPEC_RESOURCE);
List<Object[]> data = new ArrayList<Object[]>();
// NULL example runs full spec test
data.add(new Object[] { SpecExample.NULL });
for (SpecExample example : examples) {
data.add(new Object[] { example });
}
return data;
}
use of com.vladsch.flexmark.spec.SpecExample in project flexmark-java by vsch.
the class ComboCommonMarkCompatibilitySpecTest method data.
@Parameterized.Parameters(name = "{0}")
public static List<Object[]> data() {
List<SpecExample> examples = SpecReader.readExamples(SPEC_RESOURCE);
List<Object[]> data = new ArrayList<Object[]>();
// NULL example runs full spec test
data.add(new Object[] { SpecExample.NULL });
for (SpecExample example : examples) {
data.add(new Object[] { example });
}
return data;
}
use of com.vladsch.flexmark.spec.SpecExample in project flexmark-java by vsch.
the class ComboCoreDirectionalSpecTest method data.
@Parameterized.Parameters(name = "{0}")
public static List<Object[]> data() {
List<SpecExample> examples = SpecReader.readExamples(SPEC_RESOURCE);
List<Object[]> data = new ArrayList<Object[]>();
// NULL example runs full spec test
data.add(new Object[] { SpecExample.NULL });
for (SpecExample example : examples) {
data.add(new Object[] { example });
}
return data;
}
use of com.vladsch.flexmark.spec.SpecExample in project flexmark-java by vsch.
the class ComboGfmTaskListSpecTest method data.
@Parameterized.Parameters(name = "{0}")
public static List<Object[]> data() {
List<SpecExample> examples = SpecReader.readExamples(SPEC_RESOURCE);
List<Object[]> data = new ArrayList<Object[]>();
// NULL example runs full spec test
data.add(new Object[] { SpecExample.NULL });
for (SpecExample example : examples) {
data.add(new Object[] { example });
}
return data;
}
Aggregations