Commit 5ad440fb authored by František Haas's avatar František Haas

removed files committed by mistake

parent 90835ef7
package ch.usi.dag.disl.test.suite.aaaexample.app;
public class TargetClass {
public static void main(String[] args) {
System.out.println("app: TargetClass.main(..)");
}
}
package ch.usi.dag.disl.test.suite.aaaexample.instr;
import ch.usi.dag.disl.annotation.After;
import ch.usi.dag.disl.marker.BodyMarker;
public class DiSLClass {
@After(marker = BodyMarker.class, scope = "TargetClass.main")
public static void after() {
System.out.println("disl: after");
}
}
package ch.usi.dag.disl.test.suite.aaaexample.junit;
import org.junit.After;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import ch.usi.dag.disl.test.utils.ClientServerEvaluationRunner;
@RunWith(JUnit4.class)
public class ExampleTest {
ClientServerEvaluationRunner r = new ClientServerEvaluationRunner(this.getClass());
@Test
public void test()
throws Exception {
r.start();
r.waitFor();
r.assertIsFinished();
if (Boolean.parseBoolean(System.getProperty("disl.test.verbose"))) {
r.destroyIfRunningAndFlushOutputs();
}
r.assertIsSuccessfull();
r.assertEvaluationOut("evaluation.out.resource");
r.assertRestOutErrNull();
}
@After
public void cleanup() {
r.destroy();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment