[Lldb-commits] [lldb] r250081 - Fix test for change in a summary string (objects -> elements).

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 12 12:00:28 PDT 2015


Author: jingham
Date: Mon Oct 12 14:00:28 2015
New Revision: 250081

URL: http://llvm.org/viewvc/llvm-project?rev=250081&view=rev
Log:
Fix test for change in a summary string (objects -> elements).

Modified:
    lldb/trunk/test/lang/objc/hidden-ivars/TestHiddenIvars.py

Modified: lldb/trunk/test/lang/objc/hidden-ivars/TestHiddenIvars.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/hidden-ivars/TestHiddenIvars.py?rev=250081&r1=250080&r2=250081&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/hidden-ivars/TestHiddenIvars.py (original)
+++ lldb/trunk/test/lang/objc/hidden-ivars/TestHiddenIvars.py Mon Oct 12 14:00:28 2015
@@ -129,14 +129,14 @@ class HiddenIvarsTestCase(TestBase):
             substrs = ["= 3"])
 
         self.expect("expression k.filteredDataSource", VARIABLES_DISPLAYED_CORRECTLY,
-            substrs = [' = 0x', '"2 objects"'])
+            substrs = [' = 0x', '"2 elements"'])
 
         if strip:
             self.expect("expression *(k)", VARIABLES_DISPLAYED_CORRECTLY,
-                substrs = ["foo = 2", ' = 0x', '"2 objects"'])
+                substrs = ["foo = 2", ' = 0x', '"2 elements"'])
         else:            
             self.expect("expression *(k)", VARIABLES_DISPLAYED_CORRECTLY,
-                substrs = ["foo = 2", "bar = 3", '_filteredDataSource = 0x', '"2 objects"'])
+                substrs = ["foo = 2", "bar = 3", '_filteredDataSource = 0x', '"2 elements"'])
 
     def frame_var(self, strip):
         self.common_setup(strip)
@@ -160,14 +160,14 @@ class HiddenIvarsTestCase(TestBase):
             substrs = ["= 2"])
 
         self.expect("frame variable k->_filteredDataSource", VARIABLES_DISPLAYED_CORRECTLY,
-            substrs = [' = 0x', '"2 objects"'])
+            substrs = [' = 0x', '"2 elements"'])
 
         if strip:
             self.expect("frame variable *k", VARIABLES_DISPLAYED_CORRECTLY,
-                substrs = ["foo = 2", '_filteredDataSource = 0x', '"2 objects"'])
+                substrs = ["foo = 2", '_filteredDataSource = 0x', '"2 elements"'])
         else:
             self.expect("frame variable *k", VARIABLES_DISPLAYED_CORRECTLY,
-                substrs = ["foo = 2", "bar = 3", '_filteredDataSource = 0x', '"2 objects"'])
+                substrs = ["foo = 2", "bar = 3", '_filteredDataSource = 0x', '"2 elements"'])
 
                        
 if __name__ == '__main__':




More information about the lldb-commits mailing list