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

org.jdom2.test.util.ListTest Maven / Gradle / Ivy

Go to download

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];
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy