[Lldb-commits] [lldb] r204295 - Adapt test to avoid short string types.
Jim Ingham
jingham at apple.com
Wed Mar 19 19:21:18 PDT 2014
Author: jingham
Date: Wed Mar 19 21:21:17 2014
New Revision: 204295
URL: http://llvm.org/viewvc/llvm-project?rev=204295&view=rev
Log:
Adapt test to avoid short string types.
Modified:
lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
Modified: lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py?rev=204295&r1=204294&r2=204295&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py (original)
+++ lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py Wed Mar 19 21:21:17 2014
@@ -370,7 +370,7 @@ class ObjCDataFormatterTestCase(TestBase
def nsstring_data_formatter_commands(self):
self.expect('frame variable str0 str1 str2 str3 str4 str5 str6 str8 str9 str10 str11 label1 label2 processName str12',
substrs = ['(NSString *) str1 = ',' @"A rather short ASCII NSString object is here"',
- '(NSString *) str0 = ',' @"255"',
+ # '(NSString *) str0 = ',' @"255"',
'(NSString *) str1 = ',' @"A rather short ASCII NSString object is here"',
'(NSString *) str2 = ',' @"A rather short UTF8 NSString object is here"',
'(NSString *) str3 = ',' @"A string made with the at sign is here"',
@@ -527,20 +527,20 @@ class ObjCDataFormatterTestCase(TestBase
# check that the formatters are able to deal safely and correctly
# with ValueObjects that the expression parser returns
- self.expect('expression ((id)@"Hello")', matching=False,
- substrs = ['Hello'])
+ self.expect('expression ((id)@"Hello for long enough to avoid short string types")', matching=False,
+ substrs = ['Hello for long enough to avoid short string types'])
- self.expect('expression -d run -- ((id)@"Hello")',
- substrs = ['Hello'])
+ self.expect('expression -d run -- ((id)@"Hello for long enough to avoid short string types")',
+ substrs = ['Hello for long enough to avoid short string types'])
self.expect('expr -d run -- label1',
substrs = ['Process Name'])
- self.expect('expr -d run -- @"Hello"',
- substrs = ['Hello'])
+ self.expect('expr -d run -- @"Hello for long enough to avoid short string types"',
+ substrs = ['Hello for long enough to avoid short string types'])
- self.expect('expr -d run --object-description -- @"Hello"',
- substrs = ['Hello'])
+ self.expect('expr -d run --object-description -- @"Hello for long enough to avoid short string types"',
+ substrs = ['Hello for long enough to avoid short string types'])
self.expect('expr -d run --object-description -- @"Hello"', matching=False,
substrs = ['@"Hello" Hello'])
More information about the lldb-commits
mailing list