Skip to content
Snippets Groups Projects
Commit 850160f7 authored by Christian Wulf's avatar Christian Wulf
Browse files

removed dependency on junit in StageTester

parent a0a98d2b
No related branches found
No related tags found
No related merge requests found
......@@ -18,8 +18,6 @@ package teetime.framework.test;
import java.util.ArrayList;
import java.util.List;
import junit.framework.AssertionFailedError;
import teetime.framework.Analysis;
import teetime.framework.AnalysisConfiguration;
import teetime.framework.InputPort;
......@@ -85,7 +83,7 @@ public final class StageTester {
@SuppressWarnings("unchecked")
public StageTester to(final InputPort<I> port) {
if (port.getOwningStage() != stage) {
throw new AssertionFailedError();
throw new AssertionError();
}
this.port = (InputPort<Object>) port;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment