Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WS-17-18
assignment-tests
Commits
28f9cbd0
Commit
28f9cbd0
authored
Mar 02, 2018
by
jon.fehling
Browse files
fix bug with Terminal.concatOutput
parent
e946c8ae
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/final_assignment/task_1/tests/MassiveCornerCases.java
View file @
28f9cbd0
package
final_assignment.task_1.tests
;
import
edu.kit.informatik.Terminal
;
import
final_assignment.task_1.Assignment1TestBase
;
import
org.junit.jupiter.api.Disabled
;
import
org.junit.jupiter.api.DisplayName
;
...
...
@@ -16,6 +17,7 @@ public class MassiveCornerCases extends Assignment1TestBase {
for
(
final
File
fileEntry
:
folder
.
listFiles
())
{
log
.
info
(
"\nFile: "
+
fileEntry
.
getPath
());
testWithIOFile
(
fileEntry
.
getPath
());
clearData
();
}
}
}
src/final_assignment/task_1/tests/PerformanceTests.java
View file @
28f9cbd0
package
final_assignment.task_1.tests
;
import
edu.kit.informatik.Terminal
;
import
final_assignment.task_1.Assignment1TestBase
;
import
org.junit.jupiter.api.DisplayName
;
import
org.junit.jupiter.api.Test
;
...
...
@@ -15,6 +16,7 @@ public class PerformanceTests extends Assignment1TestBase {
String
args
[]
=
{
"torus"
,
"20"
,
"2"
};
for
(
int
i
=
0
;
i
<
20
;
i
++)
{
testUsingPairs
(
pairs
,
args
);
clearData
();
}
}
}
src/test/TestBase.java
View file @
28f9cbd0
...
...
@@ -214,6 +214,7 @@ public abstract class TestBase {
if
(
alwaysShowLog
)
printLog
();
logData
.
clear
();
Terminal
.
concatOutput
=
true
;
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment