mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 03:47:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
28
media/webrtc/trunk/tools/gyp/test/mac/xcuitest/Info.plist
Normal file
28
media/webrtc/trunk/tools/gyp/test/mac/xcuitest/Info.plist
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string></string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.yourcompany.${PRODUCT_NAME}</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>${PRODUCT_NAME}</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>BNDL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
// Copyright (c) 2013 Google Inc. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface MyAppDelegate : NSObject<UIApplicationDelegate>
|
||||
@end
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
// Copyright (c) 2013 Google Inc. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#import "MyAppDelegate.h"
|
||||
|
||||
|
||||
@implementation MyAppDelegate
|
||||
@synthesize window;
|
||||
|
||||
- (BOOL)application:(UIApplication *)application
|
||||
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
||||
self.window = [[UIWindow alloc] init];
|
||||
self.window.rootViewController = [[UIViewController alloc] init];
|
||||
[self.window makeKeyAndVisible];
|
||||
return YES;
|
||||
}
|
||||
|
||||
@end
|
||||
15
media/webrtc/trunk/tools/gyp/test/mac/xcuitest/TestCase.m
Normal file
15
media/webrtc/trunk/tools/gyp/test/mac/xcuitest/TestCase.m
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// Copyright (c) 2013 Google Inc. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#import <XCTest/XCTest.h>
|
||||
|
||||
@interface TestCase : XCTestCase
|
||||
@end
|
||||
|
||||
@implementation TestCase
|
||||
- (void)testFoo {
|
||||
XCUIApplication *foo = [[XCUIApplication alloc] init];
|
||||
XCTAssertNotNil(foo, @"expected non-nil object");
|
||||
}
|
||||
@end
|
||||
15
media/webrtc/trunk/tools/gyp/test/mac/xcuitest/main.m
Normal file
15
media/webrtc/trunk/tools/gyp/test/mac/xcuitest/main.m
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// Copyright (c) 2013 Google Inc. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#import "MyAppDelegate.h"
|
||||
|
||||
int main(int argc, char * argv[]) {
|
||||
@autoreleasepool {
|
||||
UIApplicationMain(argc, argv,
|
||||
nil, NSStringFromClass([MyAppDelegate class]));
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
foo
|
||||
69
media/webrtc/trunk/tools/gyp/test/mac/xcuitest/test.gyp
Normal file
69
media/webrtc/trunk/tools/gyp/test/mac/xcuitest/test.gyp
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
# Copyright (c) 2013 Google Inc. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'target_defaults': {
|
||||
'xcode_settings': {
|
||||
'SDKROOT': 'iphoneos',
|
||||
'FRAMEWORK_SEARCH_PATHS': [
|
||||
'$(inherited)',
|
||||
'$(DEVELOPER_FRAMEWORKS_DIR)',
|
||||
],
|
||||
'OTHER_LDFLAGS': [
|
||||
'$(inherited)',
|
||||
'-ObjC',
|
||||
],
|
||||
'GCC_PREFIX_HEADER': '',
|
||||
'CLANG_ENABLE_OBJC_ARC': 'YES',
|
||||
'INFOPLIST_FILE': 'Info.plist',
|
||||
},
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'testApp',
|
||||
'type': 'executable',
|
||||
'mac_bundle': 1,
|
||||
'sources': [
|
||||
'MyAppDelegate.h',
|
||||
'MyAppDelegate.m',
|
||||
'main.m',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'tests',
|
||||
'type': 'loadable_module',
|
||||
'mac_bundle': 1,
|
||||
'mac_xcuitest_bundle': 1,
|
||||
'sources': [
|
||||
'TestCase.m',
|
||||
],
|
||||
'dependencies': [
|
||||
'testApp',
|
||||
],
|
||||
'mac_bundle_resources': [
|
||||
'resource.txt',
|
||||
],
|
||||
'variables': {
|
||||
# This must *not* be set for xctest ui tests.
|
||||
'xctest_host': '',
|
||||
},
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/XCTest.framework',
|
||||
]
|
||||
},
|
||||
'xcode_settings': {
|
||||
'WRAPPER_EXTENSION': 'xctest',
|
||||
'TEST_TARGET_NAME': 'testApp',
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue