package caperutxa.dimoni.framework.executer;

import java.io.FileNotFoundException;
import java.io.IOException;

import org.iq80.snappy.Main;
import org.junit.Before;
import org.junit.Test;

import caperutxa.dimoni.framework.config.Configuration;

public class TestExecutionTest {

	TestExecution executer;
	
	String[] args = {"-component=XMLAPI",
			"-environment=stage",
			//"-testscenario=bookroom",
			"-technology=selenium",
			//"-trigger=smoke",
			//"-custom=customTest"
			};
	
	@Before
	public void before() throws FileNotFoundException, IOException {
		executer = new TestExecution();
		Configuration.frameworkPropertiesFile = "src/test/resources/properties/frameworkTest.properties";
		Configuration.defaultFrameworkConfiguration();
		Configuration.frameworkProperties.setProperty("test_list_file", "c:/Temp/automation/testlistSample.txt");
		Configuration.parseParameters(args);
		Configuration.getTestList();
	}
	
	@Test
	public void runTestTest() {
		//executer.runTest();
	}
	
	@Test
	public void fullProcess() throws Exception {
		String[] args = { "-component=XMLAPI" };
		//Main.main(args);
	}
}

@@ -110,37 +110,8 @@
 n;%0A%0A
-import org.iq80.snappy.Main;%0A
 impo
@@ -344,110 +344,29 @@
 %0A%09%09%09
-//%22-testscenario=bookroom%22,%0A%09%09%09%22-technology=selenium%22,%0A%09%09%09//%22-trigger=smoke%22,%0A%09%09%09//%22-custom=customTest
+%22-technology=selenium
 %22%0A%09%09
@@ -817,71 +817,449 @@
 %0A%09%0A%09
-@Test%0A%09public void runTestTest() %7B%0A%09%09//executer.runTest();%0A%09%7D%0A%09
+/**%0A%09 * The code is commented intentionally%0A%09 * just check that the set-up is correct%0A%09 * %0A%09 * The test is an integration test%0A%09 * because it needs external installation to run tests%0A%09 */%0A%09@Test%0A%09public void runTestTest() %7B%0A%09%09//executer.runTest();%0A%09%7D%0A%09%0A%09/**%0A%09 * The code is commented intentionally%0A%09 * just check that the set-up is correct%0A%09 * %0A%09 * The test is an integration test%0A%09 * because it needs external installation to run tests%0A%09 */
 %0A%09@T
@@ -1310,16 +1310,18 @@
 ion %7B%0A%09%09
+//
 String%5B%5D

Remove wrong shaggy import