summaryrefslogtreecommitdiff
path: root/Source/VCGeneration/VC.cs
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2014-07-06 23:36:08 +0200
committerGravatar wuestholz <unknown>2014-07-06 23:36:08 +0200
commit03ddba11bfb066c2fc2b0f73aaa8d958e6a9d190 (patch)
treec409845e69f3316fe989555e136595742f1ca300 /Source/VCGeneration/VC.cs
parent40efa1496ae36400e0f334a215b86371a56a6b9c (diff)
Added more tests and worked on adding support for "canned errors".
Diffstat (limited to 'Source/VCGeneration/VC.cs')
-rw-r--r--Source/VCGeneration/VC.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/Source/VCGeneration/VC.cs b/Source/VCGeneration/VC.cs
index 505f18b7..9aa764e2 100644
--- a/Source/VCGeneration/VC.cs
+++ b/Source/VCGeneration/VC.cs
@@ -1481,7 +1481,16 @@ namespace VC {
ModelViewInfo mvInfo;
var gotoCmdOrigins = PassifyImpl(impl, out mvInfo);
- // TODO(wuestholz): Report all canned failing assertions for this implementation.
+ // Report all canned failing assertions for this implementation.
+ if (impl.CannedFailingAssertions != null)
+ {
+ foreach (var a in impl.CannedFailingAssertions)
+ {
+ // TODO(wuestholz): Implement this.
+ // var cex = AssertCmdToCounterexample(a, ...);
+ // callback.OnCounterexample(cex, ...);
+ }
+ }
// If "expand" attribute is supplied, expand any assertion of conjunctions into multiple assertions, one per conjunct
foreach (var b in impl.Blocks)