package net.ceos.project.poi.annotated.core;

import java.util.List;

import org.testng.annotations.Test;

import net.ceos.project.poi.annotated.bean.PerformanceObject;
import net.ceos.project.poi.annotated.bean.PerformanceObjectBuilder;
import net.ceos.project.poi.annotated.definition.ExtensionFileType;

public class PerformanceTest {

	/**
	 * Test one basic object
	 */
	@Test
	public void testMarshalMultiObjectPerf() throws Exception {
		List<PerformanceObject> collection = PerformanceObjectBuilder.buildListOfPerformanceObject(5000);

		IEngine en = new Engine();

		en.marshalAsCollection(collection, "performance_test_list", ExtensionFileType.XLS);

	}
}

@@ -304,70 +304,204 @@
 e;%0A%0A
-public class PerformanceTest %7B%0A%0A%09/**%0A%09 * Test one basic object
+/**%0A * Test performance of the library.%0A * %0A * @version 1.0%0A * @author Carlos CRISTO ABREU%0A */%0Apublic class PerformanceTest %7B%0A%0A%09/**%0A%09 * Test the performance of generating one file with 5000 lines.
 %0A%09 *
@@ -700,17 +700,16 @@
 gine();%0A
-%0A
 %09%09en.mar
@@ -786,14 +786,13 @@
 e.XLS);%0A
-%0A
 %09%7D%0A%7D%0A

Update comments