s/Cocoa/Foundation/

llvm-svn: 276065
This commit is contained in:
Enrico Granata 2016-07-19 23:58:23 +00:00
parent 554efb28d2
commit 1d2e609b01
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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];