Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kieker-TeeTime-Stages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeeTime
Kieker-TeeTime-Stages
Commits
0ef372c5
Commit
0ef372c5
authored
10 years ago
by
Christian Wulf
Browse files
Options
Downloads
Patches
Plain Diff
removed input5
parent
d6fda970
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/test/java/teetime/stage/opad/filter/AnomalyDetectionFilterTest.java
+1
-4
1 addition, 4 deletions
...teetime/stage/opad/filter/AnomalyDetectionFilterTest.java
src/test/resources/logback-test.xml
+2
-0
2 additions, 0 deletions
src/test/resources/logback-test.xml
with
3 additions
and
4 deletions
src/test/java/teetime/stage/opad/filter/AnomalyDetectionFilterTest.java
+
1
−
4
View file @
0ef372c5
...
...
@@ -29,7 +29,6 @@ import java.util.Collection;
import
java.util.List
;
import
org.junit.Before
;
import
org.junit.Ignore
;
import
org.junit.Test
;
import
teetime.util.Pair
;
...
...
@@ -46,7 +45,6 @@ public class AnomalyDetectionFilterTest {
private
StorableDetectionResult
input2
;
private
StorableDetectionResult
input3
;
private
StorableDetectionResult
input4
;
private
StorableDetectionResult
input5
;
private
List
<
StorableDetectionResult
>
inputElements
;
private
List
<
StorableDetectionResult
>
resultsNormalPort
;
...
...
@@ -75,7 +73,6 @@ public class AnomalyDetectionFilterTest {
}
@Test
@Ignore
(
"maybe a problem in; org.hamcrest.collection.IsIterableContainingInOrder.contains"
)
public
void
theOutputPortAnnormalShouldForwardElements
()
{
test
(
adf
).
and
().
send
(
input3
,
input4
).
to
(
adf
.
getInputPort
())
.
and
().
receive
(
resultsNormalPort
).
from
(
adf
.
getOutputPortNormal
())
...
...
@@ -103,6 +100,6 @@ public class AnomalyDetectionFilterTest {
.
start
();
assertThat
(
exceptions
,
is
(
empty
()));
assertThat
(
resultsAnnormalPort
,
is
(
not
(
empty
())));
assertThat
(
resultsAnnormalPort
,
contains
(
input3
,
input4
,
input5
));
assertThat
(
resultsAnnormalPort
,
contains
(
input3
,
input4
));
}
}
This diff is collapsed.
Click to expand it.
src/test/resources/logback-test.xml
+
2
−
0
View file @
0ef372c5
...
...
@@ -20,6 +20,8 @@
</encoder>
</appender>
<!-- <logger name="teetime" level="TRACE" /> -->
<logger
name=
"util"
level=
"INFO"
/>
<root
level=
"ERROR"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment