forked from Mattriplex/silver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various improvements/fixes to the unit tests:
- refactored commonly used operations into TestHelpers.scala - build.sbt: * disabled running tests in parallel (caused nondeterministic test failures; resolver/typechecker seems to not be thread-safe) * pre-load SLF4J logger factory to prevent racy initialisation problems of Logback - disabled a test for the domain instance generation code (looks plain wrong) - renamed a misspelled test directory (hygienicMacros) - worked around a nondeterminism issue in a regex rewriter test
- Loading branch information
1 parent
048610f
commit b6492ea
Showing
27 changed files
with
409 additions
and
541 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
src/test/resources/transformations/DisjunctionToInhaleExhale/simple.sil
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
method main() returns () | ||
{ | ||
var i: Bool := true | ||
var j: Bool := false | ||
var m: Bool := false | ||
|
||
assert(i || j) | ||
} | ||
assert(i || m) | ||
} |
6 changes: 3 additions & 3 deletions
6
src/test/resources/transformations/DisjunctionToInhaleExhale/simpleRef.sil
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
method main() returns () | ||
{ | ||
var i: Bool := true | ||
var j: Bool := false | ||
var m: Bool := false | ||
|
||
assert([(true ? i : j), i || j]) | ||
} | ||
assert([(true ? i : m), i || m]) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.