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

utils.sacha.mains.CheckLoopMain Maven / Gradle / Ivy

The newest version!
package utils.sacha.mains;

/** checks that a Spoon transformation is semantic-preserving */
public class CheckLoopMain {

	public static void main(String[] args) {

//
//		// sets the source or binary classpath
//		// semanticPreservingLoop.setSourceClassPath("foo");
//		// semanticPreservingLoop.dependsOn("foo.jar")
//		// or
//		setEclipseProject("projectName");
//
//		// runs the test folder
//		// ITestResult res = semanticPreservingLoop.testDirectory("/dir/test");
//		// or
//		ITestResult res = runAllTestsInClasspath();
//
//		// spoons the main folder
//		spoon(new SpoonConfigImpl());
//
//		// re-runs the tests
//		ITestResult res2 = runAllTestsInDirectory("");
//
//		// compares both runs, should be the same
//		assert res.equals(res2);
//	}
//
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy