org.jdom2.test.util.ListTest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdom Show documentation
Show all versions of jdom Show documentation
A complete, Java-based solution for accessing, manipulating,
and outputting XML data
The newest version!
package org.jdom2.test.util;
import java.util.ArrayList;
import java.util.List;
@SuppressWarnings("javadoc")
public final class ListTest extends AbstractTestList {
public ListTest() {
super(Integer.class, true);
}
@Override
public List buildEmptyList() {
return new ArrayList();
}
@Override
public Integer[] buildSampleContent() {
return new Integer[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
}
@Override
public Object[] buildIllegalClassContent() {
return new Object[]{};
}
@Override
public Integer[] buildIllegalArgumentContent() {
return new Integer[0];
}
@Override
public Integer[] buildAdditionalContent() {
return new Integer[0];
}
}