-
Notifications
You must be signed in to change notification settings - Fork 480
[tvOS]2nd: tvos build #149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
f18f73e
55cea02
8ac396a
c247ab2
40a7096
83b5b2e
b22c296
23c22dd
b78b1b7
cd64a4c
9c8043b
5f67634
4a22b19
d7215bd
b1b1ab8
8832197
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| github "KazuCocoa/YYCache" "caee2af85b765738f450952a8e177571e31473ee" | ||
| github "appium/RoutingHTTPServer" "v1.0.2" | ||
| github "appium/YYCache" "1.0.5" | ||
| github "robbiehanson/CocoaAsyncSocket" "7.6.3" |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,80 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <Scheme | ||
| LastUpgradeVersion = "1010" | ||
| version = "1.3"> | ||
| <BuildAction | ||
| parallelizeBuildables = "YES" | ||
| buildImplicitDependencies = "YES"> | ||
| <BuildActionEntries> | ||
| <BuildActionEntry | ||
| buildForTesting = "YES" | ||
| buildForRunning = "YES" | ||
| buildForProfiling = "YES" | ||
| buildForArchiving = "YES" | ||
| buildForAnalyzing = "YES"> | ||
| <BuildableReference | ||
| BuildableIdentifier = "primary" | ||
| BlueprintIdentifier = "641EE2C42240BAB800173FCB" | ||
| BuildableName = "WebDriverAgentLib_tvOS.framework" | ||
| BlueprintName = "WebDriverAgentLib_tvOS" | ||
| ReferencedContainer = "container:WebDriverAgent.xcodeproj"> | ||
| </BuildableReference> | ||
| </BuildActionEntry> | ||
| </BuildActionEntries> | ||
| </BuildAction> | ||
| <TestAction | ||
| buildConfiguration = "Debug" | ||
| selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| shouldUseLaunchSchemeArgsEnv = "YES"> | ||
| <Testables> | ||
| </Testables> | ||
| <AdditionalOptions> | ||
| </AdditionalOptions> | ||
| </TestAction> | ||
| <LaunchAction | ||
| buildConfiguration = "Debug" | ||
| selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| launchStyle = "0" | ||
| useCustomWorkingDirectory = "NO" | ||
| ignoresPersistentStateOnLaunch = "NO" | ||
| debugDocumentVersioning = "YES" | ||
| debugServiceExtension = "internal" | ||
| allowLocationSimulation = "YES"> | ||
| <MacroExpansion> | ||
| <BuildableReference | ||
| BuildableIdentifier = "primary" | ||
| BlueprintIdentifier = "641EE2C42240BAB800173FCB" | ||
| BuildableName = "WebDriverAgentLib_tvOS.framework" | ||
| BlueprintName = "WebDriverAgentLib_tvOS" | ||
| ReferencedContainer = "container:WebDriverAgent.xcodeproj"> | ||
| </BuildableReference> | ||
| </MacroExpansion> | ||
| <AdditionalOptions> | ||
| </AdditionalOptions> | ||
| </LaunchAction> | ||
| <ProfileAction | ||
| buildConfiguration = "Release" | ||
| shouldUseLaunchSchemeArgsEnv = "YES" | ||
| savedToolIdentifier = "" | ||
| useCustomWorkingDirectory = "NO" | ||
| debugDocumentVersioning = "YES"> | ||
| <MacroExpansion> | ||
| <BuildableReference | ||
| BuildableIdentifier = "primary" | ||
| BlueprintIdentifier = "641EE2C42240BAB800173FCB" | ||
| BuildableName = "WebDriverAgentLib_tvOS.framework" | ||
| BlueprintName = "WebDriverAgentLib_tvOS" | ||
| ReferencedContainer = "container:WebDriverAgent.xcodeproj"> | ||
| </BuildableReference> | ||
| </MacroExpansion> | ||
| </ProfileAction> | ||
| <AnalyzeAction | ||
| buildConfiguration = "Debug"> | ||
| </AnalyzeAction> | ||
| <ArchiveAction | ||
| buildConfiguration = "Release" | ||
| revealArchiveInOrganizer = "YES"> | ||
| </ArchiveAction> | ||
| </Scheme> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,121 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <Scheme | ||
| LastUpgradeVersion = "1010" | ||
| version = "1.3"> | ||
| <BuildAction | ||
| parallelizeBuildables = "YES" | ||
| buildImplicitDependencies = "YES"> | ||
| <BuildActionEntries> | ||
| <BuildActionEntry | ||
| buildForTesting = "YES" | ||
| buildForRunning = "YES" | ||
| buildForProfiling = "YES" | ||
| buildForArchiving = "YES" | ||
| buildForAnalyzing = "YES"> | ||
| <BuildableReference | ||
| BuildableIdentifier = "primary" | ||
| BlueprintIdentifier = "641EE2D92240BBE300173FCB" | ||
| BuildableName = "WebDriverAgentRunner_tvOS.xctest" | ||
| BlueprintName = "WebDriverAgentRunner_tvOS" | ||
| ReferencedContainer = "container:WebDriverAgent.xcodeproj"> | ||
| </BuildableReference> | ||
| </BuildActionEntry> | ||
| </BuildActionEntries> | ||
| </BuildAction> | ||
| <TestAction | ||
| buildConfiguration = "Debug" | ||
| selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| shouldUseLaunchSchemeArgsEnv = "YES"> | ||
| <Testables> | ||
| <TestableReference | ||
| skipped = "NO"> | ||
| <BuildableReference | ||
| BuildableIdentifier = "primary" | ||
| BlueprintIdentifier = "641EE2D92240BBE300173FCB" | ||
| BuildableName = "WebDriverAgentRunner_tvOS.xctest" | ||
| BlueprintName = "WebDriverAgentRunner_tvOS" | ||
| ReferencedContainer = "container:WebDriverAgent.xcodeproj"> | ||
| </BuildableReference> | ||
| </TestableReference> | ||
| </Testables> | ||
| <MacroExpansion> | ||
| <BuildableReference | ||
| BuildableIdentifier = "primary" | ||
| BlueprintIdentifier = "641EE2D92240BBE300173FCB" | ||
| BuildableName = "WebDriverAgentRunner_tvOS.xctest" | ||
| BlueprintName = "WebDriverAgentRunner_tvOS" | ||
| ReferencedContainer = "container:WebDriverAgent.xcodeproj"> | ||
| </BuildableReference> | ||
| </MacroExpansion> | ||
| <AdditionalOptions> | ||
| </AdditionalOptions> | ||
| </TestAction> | ||
| <LaunchAction | ||
| buildConfiguration = "Debug" | ||
| selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| launchStyle = "0" | ||
| useCustomWorkingDirectory = "NO" | ||
| ignoresPersistentStateOnLaunch = "NO" | ||
| debugDocumentVersioning = "YES" | ||
| debugServiceExtension = "internal" | ||
| allowLocationSimulation = "YES"> | ||
| <MacroExpansion> | ||
| <BuildableReference | ||
| BuildableIdentifier = "primary" | ||
| BlueprintIdentifier = "641EE2D92240BBE300173FCB" | ||
| BuildableName = "WebDriverAgentRunner_tvOS.xctest" | ||
| BlueprintName = "WebDriverAgentRunner_tvOS" | ||
| ReferencedContainer = "container:WebDriverAgent.xcodeproj"> | ||
| </BuildableReference> | ||
| </MacroExpansion> | ||
| <EnvironmentVariables> | ||
| <EnvironmentVariable | ||
| key = "USE_PORT" | ||
| value = "$(USE_PORT)" | ||
| isEnabled = "YES"> | ||
| </EnvironmentVariable> | ||
| <EnvironmentVariable | ||
| key = "UPGRADE_TIMESTAMP" | ||
| value = "$(UPGRADE_TIMESTAMP)" | ||
| isEnabled = "YES"> | ||
| </EnvironmentVariable> | ||
| <EnvironmentVariable | ||
| key = "MJPEG_SERVER_PORT" | ||
| value = "$(MJPEG_SERVER_PORT)" | ||
| isEnabled = "YES"> | ||
| </EnvironmentVariable> | ||
| <EnvironmentVariable | ||
| key = "WDA_PRODUCT_BUNDLE_IDENTIFIER" | ||
| value = "$(WDA_PRODUCT_BUNDLE_IDENTIFIER)" | ||
| isEnabled = "YES"> | ||
| </EnvironmentVariable> | ||
| </EnvironmentVariables> | ||
| <AdditionalOptions> | ||
| </AdditionalOptions> | ||
| </LaunchAction> | ||
| <ProfileAction | ||
| buildConfiguration = "Release" | ||
| shouldUseLaunchSchemeArgsEnv = "YES" | ||
| savedToolIdentifier = "" | ||
| useCustomWorkingDirectory = "NO" | ||
| debugDocumentVersioning = "YES"> | ||
| <MacroExpansion> | ||
| <BuildableReference | ||
| BuildableIdentifier = "primary" | ||
| BlueprintIdentifier = "641EE2D92240BBE300173FCB" | ||
| BuildableName = "WebDriverAgentRunner_tvOS.xctest" | ||
| BlueprintName = "WebDriverAgentRunner_tvOS" | ||
| ReferencedContainer = "container:WebDriverAgent.xcodeproj"> | ||
| </BuildableReference> | ||
| </MacroExpansion> | ||
| </ProfileAction> | ||
| <AnalyzeAction | ||
| buildConfiguration = "Debug"> | ||
| </AnalyzeAction> | ||
| <ArchiveAction | ||
| buildConfiguration = "Release" | ||
| revealArchiveInOrganizer = "YES"> | ||
| </ArchiveAction> | ||
| </Scheme> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
mykola-mokhnach marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <!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>en</string> | ||
| <key>CFBundleExecutable</key> | ||
| <string>$(EXECUTABLE_NAME)</string> | ||
| <key>CFBundleIdentifier</key> | ||
| <string>com.facebook.wda.lib</string> | ||
| <key>CFBundleInfoDictionaryVersion</key> | ||
| <string>6.0</string> | ||
| <key>CFBundleName</key> | ||
| <string>$(PRODUCT_NAME)</string> | ||
| <key>CFBundlePackageType</key> | ||
| <string>FMWK</string> | ||
| <key>CFBundleShortVersionString</key> | ||
| <string>1.0</string> | ||
| <key>CFBundleSignature</key> | ||
| <string>????</string> | ||
| <key>CFBundleVersion</key> | ||
| <string>$(CURRENT_PROJECT_VERSION)</string> | ||
| <key>NSPrincipalClass</key> | ||
| <string></string> | ||
| </dict> | ||
| </plist> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| /** | ||
| * Copyright (c) 2018-present, Facebook, Inc. | ||
| * All rights reserved. | ||
| * | ||
| * This source code is licensed under the BSD-style license found in the | ||
| * LICENSE file in the root directory of this source tree. An additional grant | ||
| * of patent rights can be found in the PATENTS file in the same directory. | ||
| */ | ||
|
|
||
| #import <XCTest/XCTest.h> | ||
| #import "FBElement.h" | ||
|
|
||
| NS_ASSUME_NONNULL_BEGIN | ||
|
|
||
| @interface XCUIApplication (FBFocused) | ||
|
|
||
| /** | ||
| Return current focused element | ||
| */ | ||
| - (id<FBElement>) fb_focusedElement; | ||
|
||
|
|
||
| @end | ||
|
|
||
| NS_ASSUME_NONNULL_END | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| /** | ||
| * Copyright (c) 2018-present, Facebook, Inc. | ||
| * All rights reserved. | ||
| * | ||
| * This source code is licensed under the BSD-style license found in the | ||
| * LICENSE file in the root directory of this source tree. An additional grant | ||
| * of patent rights can be found in the PATENTS file in the same directory. | ||
| */ | ||
|
|
||
| #import "XCUIApplication+FBFocused.h" | ||
| #import "XCUIElement+FBWebDriverAttributes.h" | ||
|
|
||
| @implementation XCUIApplication (FBFocused) | ||
|
|
||
| - (id<FBElement>) fb_focusedElement | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will move into XCUIApplication+FBHelpers.m in the next PR |
||
| { | ||
| XCUIElementQuery *query = [self descendantsMatchingType:XCUIElementTypeAny]; | ||
| return [query elementMatchingPredicate: [NSPredicate predicateWithFormat:@"hasFocus == true"]]; | ||
| } | ||
|
|
||
| @end | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will change to appium/YYCache after appium/YYCache#1