summaryrefslogtreecommitdiff
path: root/BCT/RegressionTests/TranslationTest
diff options
context:
space:
mode:
authorGravatar t-espave <unknown>2011-08-05 16:53:53 -0700
committerGravatar t-espave <unknown>2011-08-05 16:53:53 -0700
commit3f2f6602aaac740808fa88363d782897b6128fd0 (patch)
treef0af33a4f7d61d9beae1c09a4abd7822f0a58b86 /BCT/RegressionTests/TranslationTest
parentad3d0b71e79f1943a0f2eb8792592075af44d5e4 (diff)
(phone bct) nav graph building (mostly) automated
Diffstat (limited to 'BCT/RegressionTests/TranslationTest')
-rw-r--r--BCT/RegressionTests/TranslationTest/GeneralHeapInput.txt4
-rw-r--r--BCT/RegressionTests/TranslationTest/SplitFieldsHeapInput.txt4
2 files changed, 8 insertions, 0 deletions
diff --git a/BCT/RegressionTests/TranslationTest/GeneralHeapInput.txt b/BCT/RegressionTests/TranslationTest/GeneralHeapInput.txt
index 59d9be9b..0ea68d94 100644
--- a/BCT/RegressionTests/TranslationTest/GeneralHeapInput.txt
+++ b/BCT/RegressionTests/TranslationTest/GeneralHeapInput.txt
@@ -324,6 +324,7 @@ procedure {:inline 1} System.Windows.Controls.Control.set_IsEnabled$System.Boole
implementation System.Windows.Controls.Control.set_IsEnabled$System.Boolean($this: Ref, value$in: bool)
{
+ $Exception:=null;
isControlEnabled[$this] := value$in;
}
@@ -337,6 +338,7 @@ implementation System.Windows.Controls.Control.get_IsEnabled($this: Ref) returns
{
var enabledness: bool;
+ $Exception:=null;
enabledness := isControlEnabled[$this];
$result := Box2Ref(Bool2Box(enabledness));
}
@@ -351,6 +353,7 @@ implementation System.Windows.Controls.Primitives.ToggleButton.set_IsChecked$Sys
{
var check: bool;
+ $Exception:=null;
check := Box2Bool(Ref2Box(value$in));
isControlChecked[$this] := check;
}
@@ -365,6 +368,7 @@ implementation System.Windows.Controls.Primitives.ToggleButton.get_IsChecked($th
{
var isChecked: bool;
+ $Exception:=null;
isChecked := isControlChecked[$this];
$result := Box2Ref(Bool2Box(isChecked));
}
diff --git a/BCT/RegressionTests/TranslationTest/SplitFieldsHeapInput.txt b/BCT/RegressionTests/TranslationTest/SplitFieldsHeapInput.txt
index d93b6815..6c7ba975 100644
--- a/BCT/RegressionTests/TranslationTest/SplitFieldsHeapInput.txt
+++ b/BCT/RegressionTests/TranslationTest/SplitFieldsHeapInput.txt
@@ -322,6 +322,7 @@ procedure {:inline 1} System.Windows.Controls.Control.set_IsEnabled$System.Boole
implementation System.Windows.Controls.Control.set_IsEnabled$System.Boolean($this: Ref, value$in: bool)
{
+ $Exception:=null;
isControlEnabled[$this] := value$in;
}
@@ -335,6 +336,7 @@ implementation System.Windows.Controls.Control.get_IsEnabled($this: Ref) returns
{
var enabledness: bool;
+ $Exception:=null;
enabledness := isControlEnabled[$this];
$result := Box2Ref(Bool2Box(enabledness));
}
@@ -349,6 +351,7 @@ implementation System.Windows.Controls.Primitives.ToggleButton.set_IsChecked$Sys
{
var check: bool;
+ $Exception:=null;
check := Box2Bool(Ref2Box(value$in));
isControlChecked[$this] := check;
}
@@ -363,6 +366,7 @@ implementation System.Windows.Controls.Primitives.ToggleButton.get_IsChecked($th
{
var isChecked: bool;
+ $Exception:=null;
isChecked := isControlChecked[$this];
$result := Box2Ref(Bool2Box(isChecked));
}