forked from OSchip/llvm-project
parent
554efb28d2
commit
1d2e609b01
|
@ -254,7 +254,7 @@ class ObjCDataFormatterTestCase(TestBase):
|
|||
def nsbundle_data_formatter_commands(self):
|
||||
self.expect('frame variable bundle_string bundle_url main_bundle',
|
||||
substrs = ['(NSBundle *) bundle_string = ',' @"/System/Library/Frameworks/Accelerate.framework"',
|
||||
'(NSBundle *) bundle_url = ',' @"/System/Library/Frameworks/Cocoa.framework"',
|
||||
'(NSBundle *) bundle_url = ',' @"/System/Library/Frameworks/Foundation.framework"',
|
||||
'(NSBundle *) main_bundle = ','data-formatter-objc'])
|
||||
|
||||
def nsexception_data_formatter_commands(self):
|
||||
|
|
|
@ -463,7 +463,7 @@ int main (int argc, const char * argv[])
|
|||
NSError **nserrorptr = &nserror;
|
||||
|
||||
NSBundle* bundle_string = [[NSBundle alloc] initWithPath:@"/System/Library/Frameworks/Accelerate.framework"];
|
||||
NSBundle* bundle_url = [[NSBundle alloc] initWithURL:[[NSURL alloc] initWithString:@"file://localhost/System/Library/Frameworks/Cocoa.framework"]];
|
||||
NSBundle* bundle_url = [[NSBundle alloc] initWithURL:[[NSURL alloc] initWithString:@"file://localhost/System/Library/Frameworks/Foundation.framework"]];
|
||||
|
||||
NSBundle* main_bundle = [NSBundle mainBundle];
|
||||
|
||||
|
|
Loading…
Reference in New Issue