Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
AF3
Commits
b85bc4e1
Commit
b85bc4e1
authored
Mar 23, 2018
by
Johannes Eder
Browse files
dummy test message
parent
2519f190
Changes
2
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.exploration.smt/trunk/test-src/org/fortiss/af3/exploration/ui/featuretest/CreateJUnitTestFile.java
View file @
b85bc4e1
...
...
@@ -123,6 +123,7 @@ public class CreateJUnitTestFile {
" if(expSolution.getSolutionState().getValue() != SolutionState.UNSAT_VALUE)\n"
+
" checkConstraints(ruleSets, allocationTable, allocs);\n"
+
" System.out.println();\n"
+
" Assert.assertEquals(\"Test error message. Assertion failed.\", true, false);\n"
+
"}\n"
+
"\n"
+
"private void checkConstraints(EList<RuleSet> ruleSets,\n"
+
...
...
org.fortiss.af3.exploration.smt/trunk/test-src/org/fortiss/af3/exploration/ui/featuretest/GenericTest.java
View file @
b85bc4e1
...
...
@@ -87,6 +87,7 @@ public class GenericTest {
if
(
expSolution
.
getSolutionState
().
getValue
()
!=
SolutionState
.
UNSAT_VALUE
)
checkConstraints
(
ruleSets
,
allocationTable
,
allocs
);
System
.
out
.
println
();
Assert
.
assertEquals
(
"Test error message. Assertion failed."
,
true
,
false
);
}
private
void
checkConstraints
(
EList
<
RuleSet
>
ruleSets
,
...
...
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