Turn the EvaluateExpression (..., True) tests back on.

llvm-svn: 141375
This commit is contained in:
Jim Ingham 2011-10-07 18:02:54 +00:00
parent 102be44843
commit de4b919d27
2 changed files with 7 additions and 8 deletions

View File

@ -159,10 +159,9 @@ class DynamicValueTestCase(TestBase):
self.examine_value_object_of_this_ptr (this_static, this_dynamic, myB_loc)
# Get "this" using the EvaluateExpression:
# These tests fail for now because EvaluateExpression doesn't currently support dynamic typing...
#this_static = frame.EvaluateExpression ('this', False)
#this_dynamic = frame.EvaluateExpression ('this', True)
#self.examine_value_object_of_this_ptr (this_static, this_dynamic, myB_loc)
this_static = frame.EvaluateExpression ('this', False)
this_dynamic = frame.EvaluateExpression ('this', True)
self.examine_value_object_of_this_ptr (this_static, this_dynamic, myB_loc)
# The "frame var" code uses another path to get into children, so let's
# make sure that works as well:

View File

@ -147,10 +147,10 @@ class ObjCDynamicValueTestCase(TestBase):
self.examine_SourceDerived_ptr (object_dynamic)
# Get "this" using the EvaluateExpression:
# These tests fail for now because EvaluateExpression doesn't currently support dynamic typing...
#object_static = frame.EvaluateExpression ('object', noDynamic)
#object_dynamic = frame.EvaluateExpression ('object', useDynamic)
#self.examine_value_object_of_object_ptr (object_static, object_dynamic, myB_loc)
object_static = frame.EvaluateExpression ('object', noDynamic)
object_dynamic = frame.EvaluateExpression ('object', useDynamic)
del (object_static)
self.examine_SourceDerived_ptr (object_dynamic)
# Continue again to the handle_SourceBase and make sure we get the correct dynamic value.
# This one looks exactly the same, but in fact this is an "un-KVO'ed" version of SourceBase, so