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

fixed using wrong result list

parent a67d940c
No related branches found
No related tags found
No related merge requests found
......@@ -27,8 +27,6 @@ import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import teetime.stage.opad.filter.AnomalyDetectionFilter;
import kieker.tools.opad.record.StorableDetectionResult;
/**
......@@ -67,7 +65,7 @@ public class AnomalyDetectionFilterTest {
test(adf).and().send(input1, input2).to(adf.getInputPort()).and().receive(resultsNormalPort).from(adf.getOutputPortNormal()).start();
assertThat(resultsNormalPort, contains(input1, input2));
test(adf).and().send(input1, input2).to(adf.getInputPort()).and().receive(resultsNormalPort).from(adf.getOutputPortAnnormal()).start();
test(adf).and().send(input1, input2).to(adf.getInputPort()).and().receive(resultsAnnormalPort).from(adf.getOutputPortAnnormal()).start();
assertEquals(0, resultsAnnormalPort.size());
}
......
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