diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index d5cf5dcc..fec22c94 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -6,12 +6,12 @@ jobs: # First machine, runs BP tests batch 1 integration_tests1: name: Instance Test 1 - runs-on: macos-latest + runs-on: macos-11 steps: # actions/checkout@v2 but we use the SHA1 because tags can be re-written in git - uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 - - name: Select Xcode 12.4 - run: sudo xcode-select -s /Applications/Xcode_12.4.app + - name: Select Xcode 12.5 + run: sudo xcode-select -s /Applications/Xcode_12.5.app - name: Run Bluepill tests run: ./scripts/bluepill.sh instance_tests1 - name: Capture xcresult files @@ -25,12 +25,12 @@ jobs: # Second machine, runs BP tests batch 2 integration_tests2: name: Instance Test 2 - runs-on: macos-latest + runs-on: macos-11 steps: # actions/checkout@v2 but we use the SHA1 because tags can be re-written in git - uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 - - name: Select Xcode 12.4 - run: sudo xcode-select -s /Applications/Xcode_12.4.app + - name: Select Xcode 12.5 + run: sudo xcode-select -s /Applications/Xcode_12.5.app - name: Run Bluepill tests run: ./scripts/bluepill.sh instance_tests2 - name: Capture xcresult files @@ -44,12 +44,12 @@ jobs: # Third machine, runs Bluepill tests and makes release build build: name: Bluepill Test and build - runs-on: macos-latest + runs-on: macos-11 steps: # actions/checkout@v2 but we use the SHA1 because tags can be re-written in git - uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 - - name: Select Xcode 12.4 - run: sudo xcode-select -s /Applications/Xcode_12.4.app + - name: Select Xcode 12.5 + run: sudo xcode-select -s /Applications/Xcode_12.5.app - name: Run Bluepill tests run: ./scripts/bluepill.sh runner_tests - name: Capture xcresult files diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 52343684..44d9cc81 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -11,12 +11,12 @@ jobs: # First machine, runs BP tests batch 1 integration_tests1: name: Instance Test 1 - runs-on: macos-latest + runs-on: macos-11 steps: # actions/checkout@v2 but we use the SHA1 because tags can be re-written in git - uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 - - name: Select Xcode 12.4 - run: sudo xcode-select -s /Applications/Xcode_12.4.app + - name: Select Xcode 12.5 + run: sudo xcode-select -s /Applications/Xcode_12.5.app - name: Run Bluepill tests run: ./scripts/bluepill.sh instance_tests1 - name: Capture xcresult files @@ -30,12 +30,12 @@ jobs: # Second machine, runs BP tests batch 2 integration_tests2: name: Instance Test 2 - runs-on: macos-latest + runs-on: macos-11 steps: # actions/checkout@v2 but we use the SHA1 because tags can be re-written in git - uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 - - name: Select Xcode 12.4 - run: sudo xcode-select -s /Applications/Xcode_12.4.app + - name: Select Xcode 12.5 + run: sudo xcode-select -s /Applications/Xcode_12.5.app - name: Run Bluepill tests run: ./scripts/bluepill.sh instance_tests2 - name: Capture xcresult files @@ -49,12 +49,12 @@ jobs: # Third machine, runs Bluepill tests and makes release build build: name: Bluepill Test and build - runs-on: macos-latest + runs-on: macos-11 steps: # actions/checkout@v2 but we use the SHA1 because tags can be re-written in git - uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 - - name: Select Xcode 12.4 - run: sudo xcode-select -s /Applications/Xcode_12.4.app + - name: Select Xcode 12.5 + run: sudo xcode-select -s /Applications/Xcode_12.5.app - name: Run Bluepill tests run: ./scripts/bluepill.sh runner_tests - name: Capture xcresult files diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 957cf927..61a057cc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,12 +9,12 @@ jobs: # First machine, runs BP tests batch 1 integration_tests1: name: Instance Test 1 - runs-on: macos-latest + runs-on: macos-11 steps: # actions/checkout@v2 but we use the SHA1 because tags can be re-written in git - uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 - - name: Select Xcode 12.4 - run: sudo xcode-select -s /Applications/Xcode_12.4.app + - name: Select Xcode 12.5 + run: sudo xcode-select -s /Applications/Xcode_12.5.app - name: Run Bluepill tests run: ./scripts/bluepill.sh instance_tests1 - name: Capture xcresult files @@ -28,12 +28,12 @@ jobs: # Second machine, runs BP tests batch 2 integration_tests2: name: Instance Test 2 - runs-on: macos-latest + runs-on: macos-11 steps: # actions/checkout@v2 but we use the SHA1 because tags can be re-written in git - uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 - - name: Select Xcode 12.4 - run: sudo xcode-select -s /Applications/Xcode_12.4.app + - name: Select Xcode 12.5 + run: sudo xcode-select -s /Applications/Xcode_12.5.app - name: Run Bluepill tests run: ./scripts/bluepill.sh instance_tests2 - name: Capture xcresult files @@ -47,15 +47,15 @@ jobs: # Third machine, runs Bluepill tests and makes release build build: name: BP Test and build - runs-on: macos-latest + runs-on: macos-11 steps: # actions/checkout@v2 but we use the sha because tags can be rewritten in git - uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 - name: Report event trigger data run: | echo "Event ${{ github.event_name }}, ref: ${{ github.ref }}" - - name: Select Xcode 12.4 - run: sudo xcode-select -s /Applications/Xcode_12.4.app + - name: Select Xcode 12.5 + run: sudo xcode-select -s /Applications/Xcode_12.5.app - name: Run Bluepill tests run: ./scripts/bluepill.sh runner_tests - name: Capture xcresult files diff --git a/BPSampleApp/BPSampleAppTests/BPSampleAppTests.m b/BPSampleApp/BPSampleAppTests/BPSampleAppTests.m index 458c5f50..8bc73d64 100644 --- a/BPSampleApp/BPSampleAppTests/BPSampleAppTests.m +++ b/BPSampleApp/BPSampleAppTests/BPSampleAppTests.m @@ -28,7 +28,7 @@ - (void)tearDown { } // Make sure we don't pick up random helper functions that just happen to have _test in their names. -void a_function_that_is_not_a_test() { +void a_function_that_is_not_a_test(void) { return; } diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f1aff26..f72fecbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ All notable changes are documented in this file. ## [Unreleased] ### Added +- Support for Xcode 12.5 - A Changelog :-) ### Changed @@ -15,6 +16,7 @@ All notable changes are documented in this file. ### Deprecated ### Removed +- Support for Xcode versions 12.4 and older. ### Fixed diff --git a/bp/bp.xcodeproj/project.pbxproj b/bp/bp.xcodeproj/project.pbxproj index d26156cd..c13143fb 100644 --- a/bp/bp.xcodeproj/project.pbxproj +++ b/bp/bp.xcodeproj/project.pbxproj @@ -76,10 +76,10 @@ BA180A141DBB088100D7D130 /* testScheme.xcscheme in Resources */ = {isa = PBXBuildFile; fileRef = BA180A131DBB088100D7D130 /* testScheme.xcscheme */; }; BA1896B5217916A5000CEC36 /* CoreSimulator.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B324B91C1F280AD100AAE2BC /* CoreSimulator.framework */; }; BA1896BA21795E06000CEC36 /* Bluepill.m in Sources */ = {isa = PBXBuildFile; fileRef = BA944BCF1D76A39A00A4BDA3 /* Bluepill.m */; }; - BA1949361E4AF82F00881887 /* BPTestBundleConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = BA1949351E4AF82F00881887 /* BPTestBundleConnection.m */; }; - BA1949371E4AF82F00881887 /* BPTestBundleConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = BA1949351E4AF82F00881887 /* BPTestBundleConnection.m */; }; - BA19493A1E4AF83E00881887 /* BPTestDaemonConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = BA1949391E4AF83E00881887 /* BPTestDaemonConnection.m */; }; - BA19493B1E4AF83E00881887 /* BPTestDaemonConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = BA1949391E4AF83E00881887 /* BPTestDaemonConnection.m */; }; + BA1949361E4AF82F00881887 /* BPTMDRunnerConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = BA1949351E4AF82F00881887 /* BPTMDRunnerConnection.m */; }; + BA1949371E4AF82F00881887 /* BPTMDRunnerConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = BA1949351E4AF82F00881887 /* BPTMDRunnerConnection.m */; }; + BA19493A1E4AF83E00881887 /* BPTMDControlConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = BA1949391E4AF83E00881887 /* BPTMDControlConnection.m */; }; + BA19493B1E4AF83E00881887 /* BPTMDControlConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = BA1949391E4AF83E00881887 /* BPTMDControlConnection.m */; }; BA4800EA1DC2C74600026972 /* BPAppNegativeTests-results.xml in Resources */ = {isa = PBXBuildFile; fileRef = BA4800E91DC2C74600026972 /* BPAppNegativeTests-results.xml */; }; BA4BCFAC1DC3FA3D00592FA4 /* crash_tests_attempt_1.xml in Resources */ = {isa = PBXBuildFile; fileRef = BA4BCFAB1DC3FA3D00592FA4 /* crash_tests_attempt_1.xml */; }; BA4BCFD11DC4888800592FA4 /* hanging_tests.xml in Resources */ = {isa = PBXBuildFile; fileRef = BA4BCFD01DC4888800592FA4 /* hanging_tests.xml */; }; @@ -202,10 +202,10 @@ BA180A131DBB088100D7D130 /* testScheme.xcscheme */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = testScheme.xcscheme; sourceTree = ""; }; BA1896B321791683000CEC36 /* CoreSimulator */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = CoreSimulator; path = ../../../../../Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator; sourceTree = ""; }; BA1896B6217916F8000CEC36 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Platforms/MacOSX.platform/Developer/Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; - BA1949341E4AF82F00881887 /* BPTestBundleConnection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BPTestBundleConnection.h; sourceTree = ""; }; - BA1949351E4AF82F00881887 /* BPTestBundleConnection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BPTestBundleConnection.m; sourceTree = ""; }; - BA1949381E4AF83E00881887 /* BPTestDaemonConnection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BPTestDaemonConnection.h; sourceTree = ""; }; - BA1949391E4AF83E00881887 /* BPTestDaemonConnection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BPTestDaemonConnection.m; sourceTree = ""; }; + BA1949341E4AF82F00881887 /* BPTMDRunnerConnection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BPTMDRunnerConnection.h; sourceTree = ""; }; + BA1949351E4AF82F00881887 /* BPTMDRunnerConnection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BPTMDRunnerConnection.m; sourceTree = ""; }; + BA1949381E4AF83E00881887 /* BPTMDControlConnection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BPTMDControlConnection.h; sourceTree = ""; }; + BA1949391E4AF83E00881887 /* BPTMDControlConnection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BPTMDControlConnection.m; sourceTree = ""; }; BA34F5E21D6D75E30063B17F /* SimulatorHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SimulatorHelper.h; sourceTree = ""; }; BA34F5E31D6D75E30063B17F /* SimulatorHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SimulatorHelper.m; sourceTree = ""; }; BA34F5E61D6D78120063B17F /* XCTestConfiguration.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XCTestConfiguration.h; sourceTree = ""; }; @@ -307,6 +307,7 @@ C45476AB1FD762B4006C7D9E /* uitest-failed.log */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "uitest-failed.log"; sourceTree = ""; }; C467E5491DC930D200BC80EE /* BPCLITests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BPCLITests.m; sourceTree = ""; }; C469B1571FE1A41F002246BF /* crash_tests_with_retry_attempt_1.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = crash_tests_with_retry_attempt_1.xml; sourceTree = ""; }; + C47411F7264F4C3F000F84D1 /* XcodeKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XcodeKit.framework; path = Library/Frameworks/XcodeKit.framework; sourceTree = DEVELOPER_DIR; }; C487CB1A226A36F500CC5BC2 /* BPVersion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BPVersion.h; sourceTree = ""; }; C49EEB7A2254142B002CC956 /* crash_tests_attempt_2.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = crash_tests_attempt_2.xml; sourceTree = ""; }; C49EEB7C2254166D002CC956 /* crash_tests_with_retry_attempt_2.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = crash_tests_with_retry_attempt_2.xml; sourceTree = ""; }; @@ -352,10 +353,10 @@ isa = PBXGroup; children = ( C487CB1A226A36F500CC5BC2 /* BPVersion.h */, - BA1949341E4AF82F00881887 /* BPTestBundleConnection.h */, - BA1949351E4AF82F00881887 /* BPTestBundleConnection.m */, - BA1949381E4AF83E00881887 /* BPTestDaemonConnection.h */, - BA1949391E4AF83E00881887 /* BPTestDaemonConnection.m */, + BA1949341E4AF82F00881887 /* BPTMDRunnerConnection.h */, + BA1949351E4AF82F00881887 /* BPTMDRunnerConnection.m */, + BA1949381E4AF83E00881887 /* BPTMDControlConnection.h */, + BA1949391E4AF83E00881887 /* BPTMDControlConnection.m */, BA954F551D6D1AB3007D011D /* PrivateHeaders */, BA34F5E21D6D75E30063B17F /* SimulatorHelper.h */, BA34F5E31D6D75E30063B17F /* SimulatorHelper.m */, @@ -437,6 +438,7 @@ 7A79018D1D5D136F004D4325 /* Frameworks */ = { isa = PBXGroup; children = ( + C47411F7264F4C3F000F84D1 /* XcodeKit.framework */, BA1896B6217916F8000CEC36 /* XCTest.framework */, BA1896B321791683000CEC36 /* CoreSimulator */, B324B91C1F280AD100AAE2BC /* CoreSimulator.framework */, @@ -824,10 +826,10 @@ files = ( 7A7E7BC01DF22CE1007928F3 /* BPExecutionContext.m in Sources */, 7A564C0D1DA817DE001BCEC2 /* BPReporters.m in Sources */, - BA1949361E4AF82F00881887 /* BPTestBundleConnection.m in Sources */, + BA1949361E4AF82F00881887 /* BPTMDRunnerConnection.m in Sources */, 7A202A411DB0066100D935E3 /* BPWriter.m in Sources */, 7A564C0F1DA817DE001BCEC2 /* BPTreeParser.m in Sources */, - BA19493A1E4AF83E00881887 /* BPTestDaemonConnection.m in Sources */, + BA19493A1E4AF83E00881887 /* BPTMDControlConnection.m in Sources */, 7ADBB1471DCBBC0E00DC4E8D /* BPTreeAssembler.m in Sources */, 7A4D7A861DDBB156001E085D /* BPExitStatus.m in Sources */, BA944BD01D76A39A00A4BDA3 /* Bluepill.m in Sources */, @@ -865,7 +867,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - BA19493B1E4AF83E00881887 /* BPTestDaemonConnection.m in Sources */, + BA19493B1E4AF83E00881887 /* BPTMDControlConnection.m in Sources */, BAB24F711DB5DBED00867756 /* SimulatorHelperTests.m in Sources */, 7A4D7A811DDA5FA1001E085D /* BPTreeParserTests.m in Sources */, 018D5C1225B4FF4200B0314B /* BPIntTestCase.m in Sources */, @@ -877,7 +879,7 @@ BA180A091DBB00FA00D7D130 /* BPUtilsTests.m in Sources */, 7A4D7A871DDBB156001E085D /* BPExitStatus.m in Sources */, BA1809B81DB89B5600D7D130 /* BluepillTests.m in Sources */, - BA1949371E4AF82F00881887 /* BPTestBundleConnection.m in Sources */, + BA1949371E4AF82F00881887 /* BPTMDRunnerConnection.m in Sources */, 7A7E7BC11DF22CE1007928F3 /* BPExecutionContext.m in Sources */, BAD558D71DB6DCB100C9A5CD /* BPWriter.m in Sources */, 7AAE7AAF1DB7DC1E009B5549 /* BPRegexTests.m in Sources */, @@ -1019,10 +1021,38 @@ buildSettings = { DEPLOYMENT_LOCATION = NO; "DEVELOPER_PRIVATE_FRAMEWORKS_DIR[arch=*]" = /Library/Developer/PrivateFrameworks/; - HEADER_SEARCH_PATHS = "$(SRCROOT)/.."; + FRAMEWORK_SEARCH_PATHS = ( + "\"/Library/Developer/PrivateFrameworks\"", + "\"$(PRIVATE_FRAMEWORKS_DIR)\"", + "\"$(DEVELOPER_PRIVATE_FRAMEWORKS_DIR)\"", + "\"$(DEVELOPER_DIR)/Platforms/MacOSX.platform/Developer/Library/Frameworks\"", + "\"$(DEVELOPER_DIR)/Library/PrivateFrameworks\"", + "\"$(DEVELOPER_DIR)/../SharedFrameworks\"", + "\"$(DEVELOPER_DIR)/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks\"", + ); + HEADER_SEARCH_PATHS = ( + "$(SRCROOT)/..", + "$(SRCROOT)/src", + ); INFOPLIST_FILE = "$(SRCROOT)/src/Info.plist"; MACOSX_DEPLOYMENT_TARGET = 10.15; OTHER_CFLAGS = "-DBP_USE_PRIVATE_FRAMEWORKS"; + OTHER_LDFLAGS = ( + "-weak_framework", + DVTFoundation, + "-weak_framework", + DVTiPhoneSimulatorRemoteClient, + "-weak_framework", + CoreSimulator, + "-weak_framework", + XCTest, + "-weak_framework", + DTXConnectionServices, + "-weak_framework", + SimulatorKit, + "-weak_framework", + XCTAutomationSupport, + ); "PRIVATE_FRAMEWORKS_DIR[arch=*]" = /Library/Developer/PrivateFrameworks/; PRODUCT_BUNDLE_IDENTIFIER = com.linkedin.bp; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -1034,10 +1064,38 @@ buildSettings = { DEPLOYMENT_LOCATION = NO; "DEVELOPER_PRIVATE_FRAMEWORKS_DIR[arch=*]" = /Library/Developer/PrivateFrameworks/; - HEADER_SEARCH_PATHS = "$(SRCROOT)/.."; + FRAMEWORK_SEARCH_PATHS = ( + "\"/Library/Developer/PrivateFrameworks\"", + "\"$(PRIVATE_FRAMEWORKS_DIR)\"", + "\"$(DEVELOPER_PRIVATE_FRAMEWORKS_DIR)\"", + "\"$(DEVELOPER_DIR)/Platforms/MacOSX.platform/Developer/Library/Frameworks\"", + "\"$(DEVELOPER_DIR)/Library/PrivateFrameworks\"", + "\"$(DEVELOPER_DIR)/../SharedFrameworks\"", + "\"$(DEVELOPER_DIR)/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks\"", + ); + HEADER_SEARCH_PATHS = ( + "$(SRCROOT)/..", + "$(SRCROOT)/src", + ); INFOPLIST_FILE = "$(SRCROOT)/src/Info.plist"; MACOSX_DEPLOYMENT_TARGET = 10.15; OTHER_CFLAGS = "-DBP_USE_PRIVATE_FRAMEWORKS"; + OTHER_LDFLAGS = ( + "-weak_framework", + DVTFoundation, + "-weak_framework", + DVTiPhoneSimulatorRemoteClient, + "-weak_framework", + CoreSimulator, + "-weak_framework", + XCTest, + "-weak_framework", + DTXConnectionServices, + "-weak_framework", + SimulatorKit, + "-weak_framework", + XCTAutomationSupport, + ); "PRIVATE_FRAMEWORKS_DIR[arch=*]" = /Library/Developer/PrivateFrameworks/; PRODUCT_BUNDLE_IDENTIFIER = com.linkedin.bp; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -1064,7 +1122,10 @@ DYLIB_CURRENT_VERSION = 1; FRAMEWORK_VERSION = A; GCC_C_LANGUAGE_STANDARD = gnu11; - HEADER_SEARCH_PATHS = "$(SRCROOT)/.."; + HEADER_SEARCH_PATHS = ( + "$(SRCROOT)/..", + "$(SRCROOT)/src", + ); INFOPLIST_FILE = "$(SRCROOT)/src/Info.plist"; MACH_O_TYPE = staticlib; MACOSX_DEPLOYMENT_TARGET = 10.15; @@ -1098,7 +1159,10 @@ DYLIB_CURRENT_VERSION = 1; FRAMEWORK_VERSION = A; GCC_C_LANGUAGE_STANDARD = gnu11; - HEADER_SEARCH_PATHS = "$(SRCROOT)/.."; + HEADER_SEARCH_PATHS = ( + "$(SRCROOT)/..", + "$(SRCROOT)/src", + ); INFOPLIST_FILE = "$(SRCROOT)/src/Info.plist"; MACH_O_TYPE = staticlib; MACOSX_DEPLOYMENT_TARGET = 10.15; @@ -1117,10 +1181,29 @@ buildSettings = { COMBINE_HIDPI_IMAGES = YES; DEVELOPMENT_TEAM = 57Y47U492U; - HEADER_SEARCH_PATHS = "$(SRCROOT)/.."; + HEADER_SEARCH_PATHS = ( + "$(SRCROOT)/..", + "$(SRCROOT)/src", + ); INFOPLIST_FILE = tests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "\"$(DEVELOPER_DIR)/Library/PrivateFrameworks\""; OTHER_CFLAGS = "-DBP_USE_PRIVATE_FRAMEWORKS"; + OTHER_LDFLAGS = ( + "-weak_framework", + DVTFoundation, + "-weak_framework", + DVTiPhoneSimulatorRemoteClient, + "-weak_framework", + CoreSimulator, + "-weak_framework", + XCTest, + "-weak_framework", + DTXConnectionServices, + "-weak_framework", + SimulatorKit, + "-weak_framework", + XCTAutomationSupport, + ); "PRIVATE_FRAMEWORKS_DIR[arch=*]" = /Library/Developer/PrivateFrameworks/; PRODUCT_BUNDLE_IDENTIFIER = LI.BPInstanceTests; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -1133,10 +1216,29 @@ buildSettings = { COMBINE_HIDPI_IMAGES = YES; DEVELOPMENT_TEAM = 57Y47U492U; - HEADER_SEARCH_PATHS = "$(SRCROOT)/.."; + HEADER_SEARCH_PATHS = ( + "$(SRCROOT)/..", + "$(SRCROOT)/src", + ); INFOPLIST_FILE = tests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "\"$(DEVELOPER_DIR)/Library/PrivateFrameworks\""; OTHER_CFLAGS = "-DBP_USE_PRIVATE_FRAMEWORKS"; + OTHER_LDFLAGS = ( + "-weak_framework", + DVTFoundation, + "-weak_framework", + DVTiPhoneSimulatorRemoteClient, + "-weak_framework", + CoreSimulator, + "-weak_framework", + XCTest, + "-weak_framework", + DTXConnectionServices, + "-weak_framework", + SimulatorKit, + "-weak_framework", + XCTAutomationSupport, + ); "PRIVATE_FRAMEWORKS_DIR[arch=*]" = /Library/Developer/PrivateFrameworks/; PRODUCT_BUNDLE_IDENTIFIER = LI.BPInstanceTests; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/bp/src/BPConstants.h b/bp/src/BPConstants.h index f5ce3f72..3ee1a3d0 100644 --- a/bp/src/BPConstants.h +++ b/bp/src/BPConstants.h @@ -10,9 +10,9 @@ #import #pragma mark - Version Constants -#define BP_DEFAULT_XCODE_VERSION "12.4" -#define BP_DEFAULT_RUNTIME "iOS 14.4" -#define BP_DEFAULT_BASE_SDK "14.4" +#define BP_DEFAULT_XCODE_VERSION "12.5" +#define BP_DEFAULT_RUNTIME "iOS 14.5" +#define BP_DEFAULT_BASE_SDK "14.5" #define BP_DEFAULT_DEVICE_TYPE "iPhone 8" diff --git a/bp/src/BPTMDControlConnection.h b/bp/src/BPTMDControlConnection.h new file mode 100644 index 00000000..223e4e82 --- /dev/null +++ b/bp/src/BPTMDControlConnection.h @@ -0,0 +1,25 @@ +// +// BPTMDControlConnection.h +// Bluepill-cli +// +// Created by Keqiu Hu on 2/7/17. +// Copyright © 2017 LinkedIn. All rights reserved. +// + +#import +#import "PrivateHeaders/XCTest/XCTMessagingChannel_IDEToRunner-Protocol.h" +#import "PrivateHeaders/DTXConnectionServices/DTXConnection.h" +#import "PrivateHeaders/CoreSimulator/SimDevice.h" + + +// CoreSimulator +#import "BPSimulator.h" + +DTXConnection *connectToTestManager(SimDevice *device); + +@interface BPTMDControlConnection : NSObject +@property (nonatomic, assign) pid_t testRunnerPid; +@property (nonatomic, strong) SimDevice *device; +- (instancetype)initWithSimDevice:(SimDevice *)device andTestRunnerPID: (pid_t) pid; +- (void)connectWithTimeout:(NSTimeInterval)timeout; +@end diff --git a/bp/src/BPTMDControlConnection.m b/bp/src/BPTMDControlConnection.m new file mode 100644 index 00000000..ada7e654 --- /dev/null +++ b/bp/src/BPTMDControlConnection.m @@ -0,0 +1,159 @@ +// +// BPTMDControlConnection.m +// Bluepill-cli +// +// Created by Keqiu Hu on 2/7/17. +// Copyright © 2017 LinkedIn. All rights reserved. +// + +#import "BPTMDControlConnection.h" +#import "BPUtils.h" +#import "BPConstants.h" + +// XCTAutomationSupport framework +#import "PrivateHeaders/XCTAutomationSupport/XCElementSnapshot.h" +//#import "PrivateHeaders/XCTAutomationSupport/XCTCapabilities.h" +//#import "PrivateHeaders/XCTAutomationSupport/XCTCapabilitiesBuilder.h" + +// XCTest framework +#import "PrivateHeaders/XCTest/XCActivityRecord.h" +#import "PrivateHeaders/XCTest/XCTMessagingChannel_IDEToRunner-Protocol.h" +#import "PrivateHeaders/XCTest/XCTMessagingChannel_IDEToDaemon-Protocol.h" +#import "PrivateHeaders/XCTest/XCTMessagingChannel_DaemonToIDE-Protocol.h" + +// DTX framework +#import "PrivateHeaders/DTXConnectionServices/DTXConnection.h" +#import "PrivateHeaders/XCTest/DTXConnection-XCTestAdditions.h" +#import "PrivateHeaders/DTXConnectionServices/DTXProxyChannel.h" +#import "PrivateHeaders/XCTest/DTXProxyChannel-XCTestAdditions.h" +#import "PrivateHeaders/DTXConnectionServices/DTXRemoteInvocationReceipt.h" +#import "PrivateHeaders/DTXConnectionServices/DTXTransport.h" +#import "PrivateHeaders/DTXConnectionServices/DTXSocketTransport.h" + +// CoreSimulator +#import "PrivateHeaders/CoreSimulator/SimDevice.h" + +// sys +#import +#import + +// runtime +#import + +static const NSString * const testManagerEnv = @"TESTMANAGERD_SIM_SOCK"; + +@interface BPTMDControlConnection() +@property (nonatomic, assign) BOOL connected; +@end + +@implementation BPTMDControlConnection + +- (instancetype)initWithSimDevice:(SimDevice *)device andTestRunnerPID: (pid_t) pid { + self = [super init]; + if (self) { + self.device = device; + self.testRunnerPid = pid; + } + return self; +} + +- (void)connectWithTimeout:(NSTimeInterval)timeout { + [self connect]; + // Poll connection status till it passes. + [BPUtils runWithTimeOut:timeout until:^BOOL{ + return self.connected; + }]; + if (!self.connected) { + [BPUtils printInfo:ERROR withString:@"Timeout establishing a control session!"]; + } + [BPUtils printInfo:DEBUGINFO withString:@"connected to testmanagerd"]; +} + +- (void)connect { + DTXConnection *connection = connectToTestManager(self.device); + [connection registerDisconnectHandler:^{ + [BPUtils printInfo:INFO withString:@"Daemon connection Disconnected."]; + }]; + [connection resume]; + + DTXProxyChannel *channel = [connection + xct_makeProxyChannelWithRemoteInterface:@protocol(XCTMessagingChannel_IDEToDaemon) + exportedInterface:@protocol(XCTMessagingChannel_DaemonToIDE)]; + [channel xct_setAllowedClassesForTestingProtocols]; + [channel setExportedObject:self queue:dispatch_get_main_queue()]; + id daemonProxy = (id)channel.remoteObjectProxy; + DTXRemoteInvocationReceipt *receipt = [daemonProxy _IDE_initiateControlSessionForTestProcessID:@(self.testRunnerPid) protocolVersion:@(BP_TM_PROTOCOL_VERSION)]; + + [receipt handleCompletion:^(NSNumber *version, NSError *error) { + if (error) { + [BPUtils printInfo:ERROR withString:@"Error with daemon connection: %@", error]; + return; + } + NSInteger daemonProtocolVersion = version.integerValue; + [BPUtils printInfo:INFO withString:@"Test manager daemon control session started (%ld)", (long)daemonProtocolVersion]; + self.connected = TRUE; + }]; +} + +DTXConnection* connectToTestManager(SimDevice *device) { + if (!device) return nil; + + NSString *testManagerSocketPath = [device getenv:@"TESTMANAGERD_SIM_SOCK" error:nil]; + const char *socketPath = testManagerSocketPath.UTF8String; + + // struct sockaddr_un below only has 104 bytes for sun_path field so + // we fail early here + if (strnlen(socketPath, 1024) >= 104) { + [BPUtils printInfo:ERROR withString:@"socket path too long (103 max): %s", socketPath]; + return nil; + } + int socketFD = socket(AF_UNIX, SOCK_STREAM, 0); + if (socketFD == -1) { + [BPUtils printInfo:ERROR withString:@"socket(): %s", strerror(errno)]; + return nil; + } + struct sockaddr_un remote; + remote.sun_family = AF_UNIX; + strncpy(remote.sun_path, socketPath, 104); + socklen_t length = (socklen_t)(strnlen(remote.sun_path, 1024) + sizeof(remote.sun_family) + sizeof(remote.sun_len)); + if (connect(socketFD, (struct sockaddr *)&remote, length) == -1) { + [BPUtils printInfo:ERROR withString:@"ERROR connecting socket"]; + } + DTXTransport *transport = [[objc_lookUpClass("DTXSocketTransport") alloc] initWithConnectedSocket:socketFD disconnectAction:^{ + [BPUtils printInfo:INFO withString:@"DTXSocketTransport disconnected"]; + }]; + return [[objc_lookUpClass("DTXConnection") alloc] initWithTransport:transport]; +} + +#pragma mark XCTMessagingChannel_DaemonToIDE methods + +- (id)_XCT_logDebugMessage:(NSString *)arg1 { + [BPUtils printInfo:DEBUGINFO withString:@"_XCT_logDebugMessage is unimplemented"]; + return nil; +} + +- (id)_XCT_reportSelfDiagnosisIssue:(NSString *)arg1 description:(NSString *)arg2 { + [BPUtils printInfo:DEBUGINFO withString:@"_XCT_reportSelfDiagnosisIssue is unimplemented"]; + return nil; +} + +- (id)_XCT_handleCrashReportData:(NSData *)arg1 fromFileWithName:(NSString *)arg2 { + [BPUtils printInfo:DEBUGINFO withString:@"_XCT_handleCrashReportData is unimplemented"]; + return nil; +} + +#pragma mark Handy methods for unimplemented stuff + +- (NSString *)unknownMessageForSelector:(SEL)aSelector +{ + return [NSString stringWithFormat:@"Received call for unhandled method (%@). Probably you should have a look at _IDETestManagerAPIMediator in IDEFoundation.framework and implement it. Good luck!", NSStringFromSelector(aSelector)]; +} + +// This will add more logs when unimplemented method from XCTMessagingChannel_DaemonToIDE protocol is called +- (id)handleUnimplementedXCTRequest:(SEL)aSelector { + [BPUtils printInfo:DEBUGINFO withString:@"TMD: unimplemented: %s", sel_getName(aSelector)]; + NSAssert(nil, [self unknownMessageForSelector:_cmd]); + return nil; +} + +@end diff --git a/bp/src/BPTestBundleConnection.h b/bp/src/BPTMDRunnerConnection.h similarity index 79% rename from bp/src/BPTestBundleConnection.h rename to bp/src/BPTMDRunnerConnection.h index 4e784171..474d7136 100644 --- a/bp/src/BPTestBundleConnection.h +++ b/bp/src/BPTMDRunnerConnection.h @@ -1,5 +1,5 @@ // -// BPTestBundleConnection.h +// BPTMDRunnerConnection.h // Bluepill-cli // // Created by Keqiu Hu on 2/7/17. @@ -8,14 +8,15 @@ #import #import "BPExecutionContext.h" +#import "BPTMDControlConnection.h" #import "BPSimulator.h" -// This is a small subset of XCTestManager_IDEInterface protocol +// This is the small subset of XCTMessagingChannel_RunnerToIDE protocol that Bluepill implements @protocol BPTestBundleConnectionDelegate - (void)_XCT_launchProcessWithPath:(NSString *)path bundleID:(NSString *)bundleID arguments:(NSArray *)arguments environmentVariables:(NSDictionary *)environment; @end -@interface BPTestBundleConnection : NSObject +@interface BPTMDRunnerConnection : NSObject @property (nonatomic, strong) BPExecutionContext *context; @property (nonatomic, strong) BPSimulator *simulator; @property (nonatomic, copy) void (^completionBlock)(NSError *, pid_t); diff --git a/bp/src/BPTestBundleConnection.m b/bp/src/BPTMDRunnerConnection.m similarity index 59% rename from bp/src/BPTestBundleConnection.m rename to bp/src/BPTMDRunnerConnection.m index 37852fa7..fd04c328 100644 --- a/bp/src/BPTestBundleConnection.m +++ b/bp/src/BPTMDRunnerConnection.m @@ -6,23 +6,28 @@ // Copyright © 2017 LinkedIn. All rights reserved. // -#import "BPTestBundleConnection.h" -#import "BPUtils.h" -#import "BPTestDaemonConnection.h" +#import "BPTMDRunnerConnection.h" +#import "BPTMDControlConnection.h" #import "BPConstants.h" +#import "BPUtils.h" #import "SimulatorHelper.h" #import "BPConfiguration.h" +// XCTAutomationSupport framework +#import "PrivateHeaders/XCTAutomationSupport/XCElementSnapshot.h" + // XCTest framework -#import "PrivateHeaders/XCTest/XCTestManager_IDEInterface-Protocol.h" -#import "PrivateHeaders/XCTest/XCTestManager_TestsInterface-Protocol.h" -#import "PrivateHeaders/XCTest/XCTestManager_ManagerInterface-Protocol.h" -#import "PrivateHeaders/XCTest/XCTestManager_DaemonConnectionInterface-Protocol.h" -#import "PrivateHeaders/XCTest/XCTestDriverInterface-Protocol.h" +#import "PrivateHeaders/XCTest/XCTMessagingChannel_IDEToRunner-Protocol.h" +#import "PrivateHeaders/XCTest/XCTMessagingChannel_RunnerToIDE-Protocol.h" +#import "PrivateHeaders/XCTest/XCTMessagingChannel_DaemonToIDE-Protocol.h" +#import "PrivateHeaders/XCTest/XCTMessagingChannel_IDEToDaemon-Protocol.h" + // DTX framework #import "PrivateHeaders/DTXConnectionServices/DTXConnection.h" +#import "PrivateHeaders/XCTest/DTXConnection-XCTestAdditions.h" #import "PrivateHeaders/DTXConnectionServices/DTXProxyChannel.h" +#import "PrivateHeaders/XCTest/DTXProxyChannel-XCTestAdditions.h" #import "PrivateHeaders/DTXConnectionServices/DTXRemoteInvocationReceipt.h" #import "PrivateHeaders/DTXConnectionServices/DTXTransport.h" #import "PrivateHeaders/DTXConnectionServices/DTXSocketTransport.h" @@ -37,12 +42,9 @@ // runtime #import -static const NSString * const testManagerEnv = @"TESTMANAGERD_SIM_SOCK"; - -@interface BPTestBundleConnection() +@interface BPTMDRunnerConnection() -@property (atomic, nullable, strong) id testBundleProxy; -@property (atomic, nullable, strong, readwrite) DTXConnection *testBundleConnection; +@property (atomic, nullable, strong) id testRunnerProxy; @property (nonatomic, weak) id interface; @property (nonatomic, assign) BOOL connected; @@ -55,7 +57,7 @@ @interface BPTestBundleConnection() @end -@implementation BPTestBundleConnection +@implementation BPTMDRunnerConnection - (instancetype)initWithContext:(BPExecutionContext *)context andInterface:(id)interface { self = [super init]; @@ -77,66 +79,64 @@ - (void)connectWithTimeout:(NSTimeInterval)timeout { return self.connected; }]; if (!self.connected) { - [BPUtils printInfo:ERROR withString:@"Timeout establishing a control session!"]; + [BPUtils printInfo:ERROR withString:@"Timeout establishing a runner session!"]; } } - (void)connect { dispatch_async(self.queue, ^{ - DTXTransport *transport = [self connectTransport]; - DTXConnection *connection = [[objc_lookUpClass("DTXConnection") alloc] initWithTransport:transport]; + + DTXConnection *connection = connectToTestManager(self.context.runner.device); + [connection registerDisconnectHandler:^{ // This is called when the task is abruptly terminated (e.g. if the test times out) [self stopVideoRecording:YES]; [BPUtils printInfo:INFO withString:@"DTXConnection disconnected."]; }]; + [connection - handleProxyRequestForInterface:@protocol(XCTestManager_IDEInterface) - peerInterface:@protocol(XCTestDriverInterface) + xct_handleProxyRequestForInterface:@protocol(XCTMessagingChannel_RunnerToIDE) + peerInterface:@protocol(XCTMessagingChannel_IDEToRunner) handler:^(DTXProxyChannel *channel){ [BPUtils printInfo:INFO withString:@"Got proxy channel request from test bundle"]; [channel setExportedObject:self queue:dispatch_get_main_queue()]; - id interface = channel.remoteObjectProxy; - self.testBundleProxy = interface; + self.testRunnerProxy = (id)channel.remoteObjectProxy; }]; - self.testBundleConnection = connection; - [self.testBundleConnection resume]; - + [connection resume]; dispatch_async(dispatch_get_main_queue(), ^{ - DTXProxyChannel *proxyChannel = [self.testBundleConnection - makeProxyChannelWithRemoteInterface:@protocol(XCTestManager_DaemonConnectionInterface) - exportedInterface:@protocol(XCTestManager_IDEInterface)]; - [proxyChannel setExportedObject:self queue:dispatch_get_main_queue()]; - id remoteProxy = (id) proxyChannel.remoteObjectProxy; + [BPUtils printInfo:DEBUGINFO withString:@"Starting session"]; + + DTXProxyChannel *channel = [connection + xct_makeProxyChannelWithRemoteInterface:@protocol(XCTMessagingChannel_IDEToDaemon) + exportedInterface:@protocol(XCTMessagingChannel_DaemonToIDE)]; + [channel xct_setAllowedClassesForTestingProtocols]; + [channel setExportedObject:self queue:dispatch_get_main_queue()]; + id daemonProxy = (id)channel.remoteObjectProxy; NSString *path = NSBundle.mainBundle.bundlePath; if (![path.pathExtension isEqualToString:@"app"]) { path = NSBundle.mainBundle.executablePath; } - __block DTXRemoteInvocationReceipt *receipt = [remoteProxy + __block DTXRemoteInvocationReceipt *receipt = [daemonProxy _IDE_initiateSessionWithIdentifier:self.context.config.sessionIdentifier forClient:[self clientProcessUniqueIdentifier] atPath:path protocolVersion:@(BP_DAEMON_PROTOCOL_VERSION)]; [receipt handleCompletion:^(NSNumber *version, NSError *error){ if (error || !version) { - [BPUtils printInfo:ERROR withString:@"Retry count: %@", error]; + [BPUtils printInfo:ERROR withString:@"Error starting session: %@", error]; return; } - [proxyChannel cancel]; + [BPUtils printInfo:DEBUGINFO withString:@"Session started"]; + [channel cancel]; + self.connected = TRUE; }]; - }); - }); -} -- (void)startTestPlan { - dispatch_async(self.queue, ^{ - [BPUtils printInfo:INFO withString:@"Test plan started!"]; - [self.testBundleProxy _IDE_startExecutingTestPlanWithProtocolVersion:@(BP_TM_PROTOCOL_VERSION)]; + }); }); } -- (NSString *)clientProcessUniqueIdentifier { +- (NSString *) clientProcessUniqueIdentifier{ static dispatch_once_t onceToken; static NSString *_clientProcessUniqueIdentifier; dispatch_once(&onceToken, ^{ @@ -145,77 +145,9 @@ - (NSString *)clientProcessUniqueIdentifier { return _clientProcessUniqueIdentifier; } -- (int)testManagerSocket { - int socketFD = socket(AF_UNIX, SOCK_STREAM, 0); - if (socketFD == -1) { - [BPUtils printInfo:ERROR withString:@"Error in creating socketFD"]; - return -1; - } - NSString *socketString = [self.simulator.device getenv:testManagerEnv error:nil]; - const char *socketPath = socketString.UTF8String; - - if(![[NSFileManager new] fileExistsAtPath:socketString]) { - [BPUtils printInfo:ERROR withString:@"Does not exist - %@", socketString]; - return -1; - } - if(strnlen(socketPath, 1024) >= 104) { - [BPUtils printInfo:ERROR withString:@"Socket path is too big %@", socketString]; - return -1; - } - struct sockaddr_un remote; - remote.sun_family = AF_UNIX; - strncpy(remote.sun_path, socketPath, 104); - socklen_t length = (socklen_t)(strnlen(remote.sun_path, 1024) + sizeof(remote.sun_family) + sizeof(remote.sun_len)); - if (connect(socketFD, (struct sockaddr *)&remote, length) == -1) { - [BPUtils printInfo:ERROR withString:@"Failed to connect to socket"]; - return -1; - } - return socketFD; -} - -- (DTXTransport *)connectTransport { - if ([NSThread isMainThread]) {assert(NO);} - int socketFD = [self testManagerSocket]; - if (socketFD == -1) { - [BPUtils printInfo:ERROR withString:@"Failed to get socket fd to test bundle."]; - return NULL; - } - DTXTransport *transport = [[objc_lookUpClass("DTXSocketTransport") alloc] initWithConnectedSocket:socketFD disconnectAction:^{ - [BPUtils printInfo:INFO withString:@"Socket transport disconneted"]; - }]; - if (!transport) { - [BPUtils printInfo:ERROR withString:@"Transport creation failed."]; - return NULL; - } - return transport; -} - -#pragma mark XCTestDriverInterface - -- (id)_XCT_didBeginExecutingTestPlan { - [BPUtils printInfo:INFO withString:@"_XCT_didBeginExecutingTestPlan"]; - return nil; -} - -- (id)_XCT_didFinishExecutingTestPlan { - [BPUtils printInfo:INFO withString:@"_XCT_didFinishExecutingTestPlan"]; - return nil; -} - -- (id)_XCT_testBundleReadyWithProtocolVersion:(NSNumber *)protocolVersion minimumVersion:(NSNumber *)minimumVersion { - self.connected = YES; - [BPUtils printInfo:INFO withString:@"Test bundle is connected.protocolVersion= %@, minimumVersion = %@", protocolVersion, minimumVersion]; - return nil; -} - -- (id)_XCT_didBeginInitializingForUITesting { - [BPUtils printInfo:INFO withString:@"Start initialization UI tests"]; - return nil; -} - -- (id)_XCT_initializationForUITestingDidFailWithError:(NSError *__strong)errPtr { - [BPUtils printInfo:INFO withString:@"_XCT_initializationForUITestingDidFailWithError is %@", errPtr]; - return nil; +- (void)startTestPlan { + [BPUtils printInfo:INFO withString:@"Test plan started!"]; + [self.testRunnerProxy _IDE_startExecutingTestPlanWithProtocolVersion:@(BP_TM_PROTOCOL_VERSION)]; } #pragma mark - Video Recording @@ -263,11 +195,11 @@ - (void)stopVideoRecording:(BOOL)forced [BPUtils printInfo:DEBUGINFO withString:@"Stopping video recording task with pid %d and command: %@", [task processIdentifier], [BPUtils getCommandStringForTask:task]]; [task interrupt]; [task waitUntilExit]; - + if ([task terminationStatus] != 0) { [BPUtils printInfo:ERROR withString:@"Video task was interrupted, but exited with non-zero status %d", [task terminationStatus]]; } - + NSString *filePath = [[task arguments].lastObject componentsSeparatedByString:@" "].lastObject; if (![[NSFileManager defaultManager] fileExistsAtPath:filePath]) { [BPUtils printInfo:ERROR withString:@"Video recording file missing, expected at path %@!", filePath]; @@ -275,93 +207,103 @@ - (void)stopVideoRecording:(BOOL)forced self.recordVideoTask = nil; } -#pragma mark - XCTestManager_IDEInterface protocol -#pragma mark Process Launch Delegation +#pragma mark - XCTMessagingChannel_RunnerToIDE +#pragma mark XCTMessagingRole_DebugLogging -- (id)_XCT_launchProcessWithPath:(NSString *)path bundleID:(NSString *)bundleID arguments:(NSArray *)arguments environmentVariables:(NSDictionary *)environment -{ - NSMutableDictionary *env = [[NSMutableDictionary alloc] init]; - [env addEntriesFromDictionary:[SimulatorHelper appLaunchEnvironmentWithBundleID:bundleID device:nil config:_context.config]]; - [env addEntriesFromDictionary:environment]; - NSDictionary *options = @{ - @"arguments": arguments, - @"environment": env, - }; - NSError *error; - DTXRemoteInvocationReceipt *receipt = [objc_lookUpClass("DTXRemoteInvocationReceipt") new]; - [BPUtils printInfo:DEBUGINFO withString:@"Installing UITargetApp: %@", path]; - [self.simulator.device installApplication:[NSURL fileURLWithPath:path] withOptions:@{kCFBundleIdentifier: bundleID} error:&error]; - if (error) { - [BPUtils printInfo:ERROR withString:@"Launch application during UI tests failed %@", error]; - return nil; - } - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection Launching app: %@ with options %@", bundleID, options]; - - self.appProcessPID = [self.simulator.device launchApplicationWithID:bundleID options:options error:&error]; - self.bundleID = bundleID; - if (error) { - [BPUtils printInfo:ERROR withString:@"Launch application during UI tests failed %@", error]; - return nil; - } - id token = @(receipt.hash); - [receipt invokeCompletionWithReturnValue:token error:error]; - return receipt; +// This looks like tested application logs +- (id)_XCT_logDebugMessage:(NSString *)debugMessage { + [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection debug message: %@", debugMessage]; + return nil; } -- (id)_XCT_getProgressForLaunch:(id)token { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnectionTest process requested launch process status with token %@", token]; - DTXRemoteInvocationReceipt *receipt = [objc_lookUpClass("DTXRemoteInvocationReceipt") new]; - [receipt invokeCompletionWithReturnValue:@1 error:nil]; - return receipt; +#pragma mark XCTMessagingRole_TestReporting + +- (id)_XCT_testCaseWithIdentifier:(XCTTestIdentifier *)arg1 didFinishWithStatus:(NSString *)arg2 duration:(NSNumber *)arg3 { + return nil; } -- (id)_XCT_terminateProcess:(id)token { - NSError *error; - kill(self.appProcessPID, SIGINT); - DTXRemoteInvocationReceipt *receipt = [objc_lookUpClass("DTXRemoteInvocationReceipt") new]; - [receipt invokeCompletionWithReturnValue:token error:error]; - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection_XCT_terminateProcess with token %@", token]; - return receipt; + +- (id)_XCT_testCaseWithIdentifier:(XCTTestIdentifier *)arg1 didRecordExpectedFailure:(XCTExpectedFailure *)arg2 { + return nil; } -#pragma mark iOS 10.x -- (id)_XCT_handleCrashReportData:(NSData *)arg1 fromFileWithName:(NSString *)arg2 { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection_XCT_handleCrashReportData : %@, from file with name: %@", arg1, arg2]; + +- (id)_XCT_testCaseWithIdentifier:(XCTTestIdentifier *)arg1 didRecordIssue:(XCTIssue *)arg2 { return nil; } -#pragma mark Test Suite Progress -- (id)_XCT_testSuite:(NSString *)tests didStartAt:(NSString *)time { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection_XCT_testSuite: %@, start %@", tests, time]; +- (id)_XCT_testCaseWithIdentifier:(XCTTestIdentifier *)arg1 didStallOnMainThreadInFile:(NSString *)arg2 line:(NSNumber *)arg3 { return nil; } -- (id)_XCT_testCaseDidStartForTestClass:(NSString *)testClass method:(NSString *)method { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection_XCT_testCaseDidStartForTestClass: %@ and method: %@", testClass, method]; - if ([self shouldRecordVideo]) { - [self startVideoRecordingForTestClass:testClass method:method]; - } + +- (id)_XCT_testCaseWithIdentifier:(XCTTestIdentifier *)arg1 wasSkippedWithMessage:(NSString *)arg2 sourceCodeContext:(XCTSourceCodeContext *)arg3 { return nil; } -- (id)_XCT_testCaseDidFailForTestClass:(NSString *)testClass method:(NSString *)method withMessage:(NSString *)message file:(NSString *)file line:(NSNumber *)line { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection_XCT_testCaseDidFailForTestClass: %@, method: %@, withMessage: %@, file: %@, line: %@", testClass, method, message, file, line]; +- (id)_XCT_testCaseDidStartWithIdentifier:(XCTTestIdentifier *)arg1 { return nil; } -// This looks like tested application logs -- (id)_XCT_logDebugMessage:(NSString *)debugMessage { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection debug message: %@", debugMessage]; + +- (id)_XCT_testCaseDidStartWithIdentifier:(XCTTestIdentifier *)arg1 iteration:(NSNumber *)arg2 { + return nil; +} + +- (id)_XCT_testSuiteWithIdentifier:(XCTTestIdentifier *)arg1 didFinishAt:(NSString *)arg2 runCount:(NSNumber *)arg3 skipCount:(NSNumber *)arg4 failureCount:(NSNumber *)arg5 expectedFailureCount:(NSNumber *)arg6 uncaughtExceptionCount:(NSNumber *)arg7 testDuration:(NSNumber *)arg8 totalDuration:(NSNumber *)arg9 { + return nil; +} + + +- (id)_XCT_testSuiteWithIdentifier:(XCTTestIdentifier *)arg1 didRecordIssue:(XCTIssue *)arg2 { return nil; } -- (id)_XCT_logMessage:(NSString *)message { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection log message: %@", message]; + +- (id)_XCT_testSuiteWithIdentifier:(XCTTestIdentifier *)arg1 didStartAt:(NSString *)arg2 { + return nil; +} + +- (id)_XCT_didFinishExecutingTestPlan { + [BPUtils printInfo:INFO withString:@"_XCT_didFinishExecutingTestPlan"]; return nil; } +- (id)_XCT_didBeginExecutingTestPlan { + [BPUtils printInfo:INFO withString:@"_XCT_didBeginExecutingTestPlan"]; + return nil; +} + +- (id)_XCT_testBundleReadyWithProtocolVersion:(NSNumber *)protocolVersion minimumVersion:(NSNumber *)minimumVersion { + self.connected = YES; + [BPUtils printInfo:INFO withString:@"Test bundle is connected. ProtocolVersion= %@, minimumVersion = %@", protocolVersion, minimumVersion]; + return nil; +} + +- (id)_XCT_testRunnerReadyWithCapabilities:(XCTCapabilities *)capabilities { + self.connected = YES; + [BPUtils printInfo:INFO withString:@"Test bundle is connected. Capabilities = %@", capabilities]; + return nil; +} + +- (id)_XCT_reportTestWithIdentifier:(XCTTestIdentifier *)arg1 didExceedExecutionTimeAllowance:(NSNumber *)arg2 { + return nil; +} + +- (id)_XCT_didFailToBootstrapWithError:(NSError *)error { + [BPUtils printInfo:ERROR withString:@"failed to bootstrap: %@", error]; + return nil; +} + +#pragma mark - XCTMessagingRole_TestReporting_Legacy + +- (id)_XCT_testCase:(NSString *)arg1 method:(NSString *)arg2 didStallOnMainThreadInFile:(NSString *)arg3 line:(NSNumber *)arg4 { + [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection: testCase: %@, method: %@, didStallOnMainThreadInFile: %@, line: %@", arg1, arg2, arg3, arg4]; + return [self handleUnimplementedXCTRequest:_cmd]; +} + - (id)_XCT_testCaseDidFinishForTestClass:(NSString *)testClass method:(NSString *)method withStatus:(NSString *)statusString duration:(NSNumber *)duration { [BPUtils printInfo:DEBUGINFO withString: @"BPTestBundleConnection_XCT_testCaseDidFinishForTestClass: %@, method: %@, withStatus: %@, duration: %@", testClass, method, statusString, duration]; if ([self shouldRecordVideo]) { @@ -370,112 +312,184 @@ - (id)_XCT_testCaseDidFinishForTestClass:(NSString *)testClass method:(NSString return nil; } -- (id)_XCT_testSuite:(NSString *)arg1 didFinishAt:(NSString *)time runCount:(NSNumber *)count withFailures:(NSNumber *)failureCount unexpected:(NSNumber *)unexpectedCount testDuration:(NSNumber *)testDuration totalDuration:(NSNumber *)totalTime { - [BPUtils printInfo:DEBUGINFO withString: @"BPTestBundleConnection_XCT_testSuite: %@, didFinishAt: %@, runCount: %@, withFailures: %@, unexpectedCount: %@, testDuration: %@, totalDuration: %@", arg1, time, count, failureCount, unexpectedCount, testDuration, totalTime]; +- (id)_XCT_testCaseDidFailForTestClass:(NSString *)testClass method:(NSString *)method withMessage:(NSString *)message file:(NSString *)file line:(NSNumber *)line { + [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection_XCT_testCaseDidFailForTestClass: %@, method: %@, withMessage: %@, file: %@, line: %@", testClass, method, message, file, line]; + return nil; +} + +- (id)_XCT_testCaseWasSkippedForTestClass:(NSString *)arg1 method:(NSString *)arg2 withMessage:(NSString *)arg3 file:(NSString *)arg4 line:(NSNumber *)arg5 { + return nil; +} +- (id)_XCT_testCaseDidStartForTestClass:(NSString *)testClass method:(NSString *)method { + [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection_XCT_testCaseDidStartForTestClass: %@ and method: %@", testClass, method]; if ([self shouldRecordVideo]) { - [self stopVideoRecording:YES]; + [self startVideoRecordingForTestClass:testClass method:method]; } return nil; } -- (id)_XCT_testMethod:(NSString *)arg1 ofClass:(NSString *)arg2 didMeasureMetric:(NSDictionary *)arg3 file:(NSString *)arg4 line:(NSNumber *)arg5 { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection_XCT_testMethod: %@, ofClass: %@, didMeasureMetric: %@, file: %@, line: %@", arg1, arg2, arg3, arg4, arg5]; +- (id)_XCT_testSuite:(NSString *)tests didStartAt:(NSString *)time { + [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection_XCT_testSuite: %@, start %@", tests, time]; return nil; } -- (id)_XCT_testCase:(NSString *)arg1 method:(NSString *)arg2 didFinishActivity:(XCActivityRecord *)arg3 { - [BPUtils printInfo:DEBUGINFO withString: @"BPTestBundleConnection_XCT_testCase %@, method: %@, didFinishActivity: %@", arg1, arg2, arg3]; +- (id)_XCT_testSuite:(NSString *)arg1 didFinishAt:(NSString *)time runCount:(NSNumber *)count withFailures:(NSNumber *)failureCount unexpected:(NSNumber *)unexpectedCount testDuration:(NSNumber *)testDuration totalDuration:(NSNumber *)totalTime { + [BPUtils printInfo:DEBUGINFO withString: @"BPTestBundleConnection_XCT_testSuite: %@, didFinishAt: %@, runCount: %@, withFailures: %@, unexpectedCount: %@, testDuration: %@, totalDuration: %@", arg1, time, count, failureCount, unexpectedCount, testDuration, totalTime]; + + if ([self shouldRecordVideo]) { + [self stopVideoRecording:YES]; + } return nil; } -- (id)_XCT_testCase:(NSString *)arg1 method:(NSString *)arg2 willStartActivity:(XCActivityRecord *)arg3 { - [BPUtils printInfo:DEBUGINFO withString: @"BPTestBundleConnection_XCT_testCase %@, method: %@, willStartActivity: %@", arg1, arg2, arg3]; +- (id)_XCT_testSuite:(NSString *)arg1 didFinishAt:(NSString *)arg2 runCount:(NSNumber *)arg3 skipCount:(NSNumber *)arg4 failureCount:(NSNumber *)arg5 expectedFailureCount:(NSNumber *)arg6 uncaughtExceptionCount:(NSNumber *)arg7 testDuration:(NSNumber *)arg8 totalDuration:(NSNumber *)arg9 { return nil; } -#pragma mark - Unimplemented -- (id)_XCT_nativeFocusItemDidChangeAtTime:(NSNumber *)arg1 parameterSnapshot:(XCElementSnapshot *)arg2 applicationSnapshot:(XCElementSnapshot *)arg3 { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection nativeFocusItemDidChangeAtATime"]; - return [self handleUnimplementedXCTRequest:_cmd]; +- (id)_XCT_testSuite:(NSString *)arg1 didFinishAt:(NSString *)arg2 runCount:(NSNumber *)arg3 skipCount:(NSNumber *)arg4 failureCount:(NSNumber *)arg5 unexpectedFailureCount:(NSNumber *)arg6 testDuration:(NSNumber *)arg7 totalDuration:(NSNumber *)arg8 { + return nil; } -- (id)_XCT_recordedEventNames:(NSArray *)arg1 timestamp:(NSNumber *)arg2 duration:(NSNumber *)arg3 startLocation:(NSDictionary *)arg4 startElementSnapshot:(XCElementSnapshot *)arg5 startApplicationSnapshot:(XCElementSnapshot *)arg6 endLocation:(NSDictionary *)arg7 endElementSnapshot:(XCElementSnapshot *)arg8 endApplicationSnapshot:(XCElementSnapshot *)arg9 { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection recordedEventNames, ag1: %@", arg1]; - return [self handleUnimplementedXCTRequest:_cmd]; +#pragma mark XCTMessagingRole_SelfDiagnosisIssueReporting + +- (id)_XCT_reportSelfDiagnosisIssue:(NSString *)arg1 description:(NSString *)arg2 { + return nil; } -- (id)_XCT_recordedOrientationChange:(NSString *)arg1 { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection: recordedOrientationChange: %@", arg1]; - return [self handleUnimplementedXCTRequest:_cmd]; +#pragma mark XCTMessagingRole_UIAutomation + +- (id)_XCT_getProgressForLaunch:(id)token { + [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnectionTest process requested launch process status with token %@", token]; + DTXRemoteInvocationReceipt *receipt = [objc_lookUpClass("DTXRemoteInvocationReceipt") new]; + [receipt invokeCompletionWithReturnValue:@1 error:nil]; + return receipt; } -- (id)_XCT_recordedFirstResponderChangedWithApplicationSnapshot:(XCElementSnapshot *)arg1 { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection: recordedFirstResponderChanged"]; - return [self handleUnimplementedXCTRequest:_cmd]; +- (id)_XCT_terminateProcess:(id)token { + NSError *error = nil; + if (kill(self.appProcessPID, SIGINT) != 0) { + error = [[NSError alloc] initWithDomain:NSPOSIXErrorDomain + code:errno userInfo:nil]; + } + DTXRemoteInvocationReceipt *receipt = [objc_lookUpClass("DTXRemoteInvocationReceipt") new]; + [receipt invokeCompletionWithReturnValue:token error:error]; + [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection_XCT_terminateProcess with token %@", token]; + return receipt; } -- (id)_XCT_exchangeCurrentProtocolVersion:(NSNumber *)arg1 minimumVersion:(NSNumber *)arg2 { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection: exhangeCurrentProtocolVersion: %@, minimumVersion: %@", arg1, arg2]; - return [self handleUnimplementedXCTRequest:_cmd]; +- (id)_XCT_launchProcessWithPath:(NSString *)path bundleID:(NSString *)bundleID arguments:(NSArray *)arguments environmentVariables:(NSDictionary *)environment +{ + NSMutableDictionary *env = [[NSMutableDictionary alloc] init]; + [env addEntriesFromDictionary:[SimulatorHelper appLaunchEnvironmentWithBundleID:bundleID device:nil config:_context.config]]; + [env addEntriesFromDictionary:environment]; + NSDictionary *options = @{ + @"arguments": arguments, + @"environment": env, + }; + NSError *error; + DTXRemoteInvocationReceipt *receipt = [objc_lookUpClass("DTXRemoteInvocationReceipt") new]; + [BPUtils printInfo:DEBUGINFO withString:@"Installing UITargetApp: %@", path]; + [self.simulator.device installApplication:[NSURL fileURLWithPath:path] withOptions:@{kCFBundleIdentifier: bundleID} error:&error]; + if (error) { + [BPUtils printInfo:ERROR withString:@"Launch application during UI tests failed %@", error]; + return nil; + } + [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection Launching app: %@ with options %@", bundleID, options]; + + self.appProcessPID = [self.simulator.device launchApplicationWithID:bundleID options:options error:&error]; + self.bundleID = bundleID; + if (error) { + [BPUtils printInfo:ERROR withString:@"Launch application during UI tests failed %@", error]; + } + id token = @(receipt.hash); + [receipt invokeCompletionWithReturnValue:token error:error]; + return receipt; } -- (id)_XCT_recordedKeyEventsWithApplicationSnapshot:(XCElementSnapshot *)arg1 characters:(NSString *)arg2 charactersIgnoringModifiers:(NSString *)arg3 modifierFlags:(NSNumber *)arg4 { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection: recordedKeyEventsWithApplicationSnapshot"]; - return [self handleUnimplementedXCTRequest:_cmd]; +- (id)_XCT_initializationForUITestingDidFailWithError:(NSError *__strong)errPtr { + [BPUtils printInfo:INFO withString:@"_XCT_initializationForUITestingDidFailWithError is %@", errPtr]; + return nil; } -- (id)_XCT_recordedEventNames:(NSArray *)arg1 duration:(NSNumber *)arg2 startLocation:(NSDictionary *)arg3 startElementSnapshot:(XCElementSnapshot *)arg4 startApplicationSnapshot:(XCElementSnapshot *)arg5 endLocation:(NSDictionary *)arg6 endElementSnapshot:(XCElementSnapshot *)arg7 endApplicationSnapshot:(XCElementSnapshot *)arg8 { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection: recordedEventNames: %@", arg1]; - return [self handleUnimplementedXCTRequest:_cmd]; +- (id)_XCT_didBeginInitializingForUITesting { + [BPUtils printInfo:INFO withString:@"Start initialization UI tests"]; + return nil; } -- (id)_XCT_recordedKeyEventsWithCharacters:(NSString *)arg1 charactersIgnoringModifiers:(NSString *)arg2 modifierFlags:(NSNumber *)arg3 { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection: recordedKeyEventsWithCharacters: %@", arg1]; - return [self handleUnimplementedXCTRequest:_cmd]; +#pragma mark XCTMessagingRole_ActivityReporting + +- (id)_XCT_testCaseWithIdentifier:(XCTTestIdentifier *)arg1 didFinishActivity:(XCActivityRecord *)arg2 { + return nil; } -- (id)_XCT_recordedEventNames:(NSArray *)arg1 duration:(NSNumber *)arg2 startElement:(XCAccessibilityElement *)arg3 startApplicationSnapshot:(XCElementSnapshot *)arg4 endElement:(XCAccessibilityElement *)arg5 endApplicationSnapshot:(XCElementSnapshot *)arg6 { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection: recordedEventsName: %@, duration: %@", arg1, arg2]; - return [self handleUnimplementedXCTRequest:_cmd]; +- (id)_XCT_testCaseWithIdentifier:(XCTTestIdentifier *)arg1 willStartActivity:(XCActivityRecord *)arg2 { + return nil; } -- (id)_XCT_recordedEvent:(NSString *)arg1 targetElementID:(NSDictionary *)arg2 applicationSnapshot:(XCElementSnapshot *)arg3 { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection: recordedEvent: %@, targetElementID: %@", arg1, arg2]; - return [self handleUnimplementedXCTRequest:_cmd]; +#pragma mark XCTMessagingRole_ActivityReporting_Legacy + +- (id)_XCT_testCase:(NSString *)arg1 method:(NSString *)arg2 didFinishActivity:(XCActivityRecord *)arg3 { + [BPUtils printInfo:DEBUGINFO withString: @"BPTestBundleConnection_XCT_testCase %@, method: %@, didFinishActivity: %@", arg1, arg2, arg3]; + return nil; } -- (id)_XCT_recordedEvent:(NSString *)arg1 forElement:(NSString *)arg2 { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection: recordedEvent: %@, forElement: %@",arg1, arg2]; - return [self handleUnimplementedXCTRequest:_cmd]; +- (id)_XCT_testCase:(NSString *)arg1 method:(NSString *)arg2 willStartActivity:(XCActivityRecord *)arg3 { + [BPUtils printInfo:DEBUGINFO withString: @"BPTestBundleConnection_XCT_testCase %@, method: %@, willStartActivity: %@", arg1, arg2, arg3]; + return nil; } -- (id)_XCT_testCase:(NSString *)arg1 method:(NSString *)arg2 didStallOnMainThreadInFile:(NSString *)arg3 line:(NSNumber *)arg4 { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection: testCase: %@, method: %@, didStallOnMainThreadInFile: %@, line: %@", arg1, arg2, arg3, arg4]; - return [self handleUnimplementedXCTRequest:_cmd]; +#pragma mark XCTMessagingRole_PerformanceMeasurementReporting + +- (id)_XCT_testCaseWithIdentifier:(XCTTestIdentifier *)arg1 didMeasureMetric:(NSDictionary *)arg2 file:(NSString *)arg3 line:(NSNumber *)arg4 { + return nil; } -- (id)_XCT_testMethod:(NSString *)arg1 ofClass:(NSString *)arg2 didMeasureValues:(NSArray *)arg3 forPerformanceMetricID:(NSString *)arg4 name:(NSString *)arg5 withUnits:(NSString *)arg6 baselineName:(NSString *)arg7 baselineAverage:(NSNumber *)arg8 maxPercentRegression:(NSNumber *)arg9 maxPercentRelativeStandardDeviation:(NSNumber *)arg10 file:(NSString *)arg11 line:(NSNumber *)arg12 -{ - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection: testMethod..."]; - return [self handleUnimplementedXCTRequest:_cmd]; +#pragma mark XCTMessagingRole_PerformanceMeasurementReporting_Legacy + +- (id)_XCT_testMethod:(NSString *)arg1 ofClass:(NSString *)arg2 didMeasureMetric:(NSDictionary *)arg3 file:(NSString *)arg4 line:(NSNumber *)arg5 { + [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection_XCT_testMethod: %@, ofClass: %@, didMeasureMetric: %@, file: %@, line: %@", arg1, arg2, arg3, arg4, arg5]; + return nil; } -- (id)_XCT_testBundleReady { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection: testBundle Ready!"]; - return [self handleUnimplementedXCTRequest:_cmd]; + +#pragma mark - XCTMessagingChannel_DaemonToIDE + +#pragma mark XCTMessagingRole_DebugLogging + +// - (id)_XCT_logDebugMessage:(NSString *)debugMessage +// implemented above as part of the RunnerToIDE section + +#pragma mark XCTMessagingRole_SelfDiagnosisIssueReporting + +// - (id)_XCT_reportSelfDiagnosisIssue:(NSString *)arg1 description:(NSString *)arg2 +// implemented above as part of the RunnerToIDE section + +#pragma mark XCTMessagingRole_CrashReporting + +#pragma mark iOS 10.x +- (id)_XCT_handleCrashReportData:(NSData *)arg1 fromFileWithName:(NSString *)arg2 { + [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection_XCT_handleCrashReportData : %@, from file with name: %@", arg1, arg2]; + return nil; } +#pragma mark - Handle unimplemented selectors + - (NSString *)unknownMessageForSelector:(SEL)aSelector { [BPUtils printInfo:DEBUGINFO withString:@"BPTestBundleConnection: unknownMessageForSelector: %@", NSStringFromSelector(aSelector)]; return [NSString stringWithFormat:@"Received call for unhandled method (%@). Probably you should have a look at _IDETestManagerAPIMediator in IDEFoundation.framework and implement it. Good luck!", NSStringFromSelector(aSelector)]; } -// This will add more logs when unimplemented method from XCTestManager_IDEInterface protocol is called +// This will add more logs when unimplemented method from XCTMessagingChannel_IDEToRunner protocol is called - (id)handleUnimplementedXCTRequest:(SEL)aSelector { NSAssert(nil, [self unknownMessageForSelector:_cmd]); return nil; } +- (void)doesNotRecognizeSelector:(SEL)aSelector { + [BPUtils printInfo:DEBUGINFO withString:@"BP unhandled selector received: '%@'", NSStringFromSelector(aSelector)]; + [NSObject doesNotRecognizeSelector:aSelector]; +} + @end diff --git a/bp/src/BPTestDaemonConnection.h b/bp/src/BPTestDaemonConnection.h deleted file mode 100644 index 062ef0f0..00000000 --- a/bp/src/BPTestDaemonConnection.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// BPTestDaemonConnection.h -// Bluepill-cli -// -// Created by Keqiu Hu on 2/7/17. -// Copyright © 2017 LinkedIn. All rights reserved. -// - -#import -#import "PrivateHeaders/XCTest/XCTestManager_IDEInterface-Protocol.h" - -// CoreSimulator -#import "BPSimulator.h" - -@interface BPTestDaemonConnection : NSObject -@property (nonatomic, assign) pid_t testRunnerPid; -@property (nonatomic, strong) BPSimulator *simulator; -- (instancetype)initWithDevice:(BPSimulator *)device andInterface:(id)interface andTestRunnerPID: (pid_t) pid; -- (void)connectWithTimeout:(NSTimeInterval)timeout; -@end diff --git a/bp/src/BPTestDaemonConnection.m b/bp/src/BPTestDaemonConnection.m deleted file mode 100644 index e70d33a9..00000000 --- a/bp/src/BPTestDaemonConnection.m +++ /dev/null @@ -1,287 +0,0 @@ -// -// BPTestDaemonConnection.m -// Bluepill-cli -// -// Created by Keqiu Hu on 2/7/17. -// Copyright © 2017 LinkedIn. All rights reserved. -// - -#import "BPTestDaemonConnection.h" -#import "BPUtils.h" -#import "BPConstants.h" - -// XCTest framework -#import "PrivateHeaders/XCTest/XCTestManager_IDEInterface-Protocol.h" -#import "PrivateHeaders/XCTest/XCTestManager_TestsInterface-Protocol.h" -#import "PrivateHeaders/XCTest/XCTestManager_ManagerInterface-Protocol.h" -#import "PrivateHeaders/XCTest/XCTestManager_DaemonConnectionInterface-Protocol.h" -#import "PrivateHeaders/XCTest/XCTestDriverInterface-Protocol.h" - -// DTX framework -#import "PrivateHeaders/DTXConnectionServices/DTXConnection.h" -#import "PrivateHeaders/DTXConnectionServices/DTXProxyChannel.h" -#import "PrivateHeaders/DTXConnectionServices/DTXRemoteInvocationReceipt.h" -#import "PrivateHeaders/DTXConnectionServices/DTXTransport.h" -#import "PrivateHeaders/DTXConnectionServices/DTXSocketTransport.h" - -// CoreSimulator -#import "PrivateHeaders/CoreSimulator/SimDevice.h" - -// sys -#import -#import - -// runtime -#import - -static const NSString * const testManagerEnv = @"TESTMANAGERD_SIM_SOCK"; - -@interface BPTestDaemonConnection() -@property (nonatomic, strong) id interface; -@property (nonatomic, assign) BOOL connected; -@end - -@implementation BPTestDaemonConnection - -- (instancetype)initWithDevice:(BPSimulator *)simulator andInterface:(id)interface andTestRunnerPID: (pid_t) pid { - self = [super init]; - if (self) { - self.simulator = simulator; - self.interface = interface; - self.testRunnerPid = pid; - } - return self; -} - -- (void)connectWithTimeout:(NSTimeInterval)timeout { - [self connect]; - // Poll connection status till it passes. - [BPUtils runWithTimeOut:timeout until:^BOOL{ - return self.connected; - }]; - if (!self.connected) { - [BPUtils printInfo:ERROR withString:@"Timeout establishing a control session!"]; - } -} - -- (void)connect { - DTXTransport *transport = [self connectTransport]; - DTXConnection *connection = [[objc_lookUpClass("DTXConnection") alloc] initWithTransport:transport]; - [connection registerDisconnectHandler:^{ - [BPUtils printInfo:INFO withString:@"Daemon connection Disconnected."]; - }]; - [connection resume]; - - DTXProxyChannel *channel = [connection - makeProxyChannelWithRemoteInterface:@protocol(XCTestManager_DaemonConnectionInterface) - exportedInterface:@protocol(XCTestManager_IDEInterface)]; - - [channel setExportedObject:self queue:dispatch_get_main_queue()]; - id daemonProxy = (id)channel.remoteObjectProxy; - DTXRemoteInvocationReceipt *receipt = [daemonProxy _IDE_initiateControlSessionForTestProcessID:@(self.testRunnerPid) protocolVersion:@(BP_DAEMON_PROTOCOL_VERSION)]; - [receipt handleCompletion:^(NSNumber *version, NSError *error) { - if (error) { - [BPUtils printInfo:ERROR withString:@"Error with daemon connection: %@", [error localizedDescription]]; - return; - } - NSInteger daemonProtocolVersion = version.integerValue; - [BPUtils printInfo:INFO withString:@"Daemon ready to execute test plan (protocol version %ld)", (long)daemonProtocolVersion]; - self.connected = YES; - }]; -} - -- (int)testManagerSocket { - int socketFD = socket(AF_UNIX, SOCK_STREAM, 0); - NSString *socketString = [self.simulator.device getenv:testManagerEnv error:nil]; - const char *socketPath = socketString.UTF8String; - - struct sockaddr_un remote; - remote.sun_family = AF_UNIX; - strncpy(remote.sun_path, socketPath, 104); - socklen_t length = (socklen_t)(strnlen(remote.sun_path, 1024) + sizeof(remote.sun_family) + sizeof(remote.sun_len)); - if (connect(socketFD, (struct sockaddr *)&remote, length) == -1) { - [BPUtils printInfo:ERROR withString:@"ERROR connecting socket"]; - } - return socketFD; -} - -- (DTXTransport *)connectTransport { - int socketFD = [self testManagerSocket]; - DTXTransport *transport = [[objc_lookUpClass("DTXSocketTransport") alloc] initWithConnectedSocket:socketFD disconnectAction:^{ - [BPUtils printInfo:INFO withString:@"DTXSocketTransport disconnected"]; - }]; - return transport; -} - -#pragma mark - XCTestManager_IDEInterface protocol - -#pragma mark Process Launch Delegation - -- (id)_XCT_launchProcessWithPath:(NSString *)path bundleID:(NSString *)bundleID arguments:(NSArray *)arguments environmentVariables:(NSDictionary *)environment { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestDaemonConnection_XCT_launchProcessWithPath: %@, bundleID: %@, arguments: %@, environmentVariables: %@", path, bundleID, arguments, environment]; - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_getProgressForLaunch:(id)token { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestDaemonConnection_XCT_getProgressForLaunch token: %@", token]; - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_terminateProcess:(id)token { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestDaemonConnection_XCT_terminateProcess token: %@", token]; - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_didBeginExecutingTestPlan { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestDaemonConnection_XCT_didBeginExecutingTestPlan"]; - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_didFinishExecutingTestPlan { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestDaemonConnection_XCT_didFinishExecutingTestPlan"]; - return [self handleUnimplementedXCTRequest:_cmd]; -} - -#pragma mark iOS 10.x -- (id)_XCT_handleCrashReportData:(NSData *)arg1 fromFileWithName:(NSString *)arg2 { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestDaemonConnection_XCT_handleCrashReportData: %@, fromFileWithName: %@", arg1, arg2]; - return nil; -} - -- (id)_XCT_didBeginInitializingForUITesting { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestDaemonConnection_XCT_didBeginInitializingForUITesting"]; - return nil; -} - -- (id)_XCT_initializationForUITestingDidFailWithError:(NSError *__strong)errPtr { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestDaemonConnection_XCT_initializationForUITestingDidFailWithError : %@", errPtr]; - return nil; -} - -- (id)_XCT_testBundleReadyWithProtocolVersion:(NSNumber *)protocolVersion minimumVersion:(NSNumber *)minimumVersion { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestDaemonConnection_XCT_testBundleReadyWithProtocolVersion : %@, minimumVersion: %@", protocolVersion, minimumVersion]; - return nil; -} - -#pragma mark Test Suite Progress - -- (id)_XCT_testSuite:(NSString *)tests didStartAt:(NSString *)time { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestDaemonConnection_XCT_testSuite : %@, didStartAt: %@", tests, time]; - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_testCaseDidStartForTestClass:(NSString *)testClass method:(NSString *)method { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestDaemonConnection_XCT_testCaseDidStartForTestClass : %@, method: %@", testClass, method]; - return nil; -} - -- (id)_XCT_testCaseDidFailForTestClass:(NSString *)testClass method:(NSString *)method withMessage:(NSString *)message file:(NSString *)file line:(NSNumber *)line { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestDaemonConnection_XCT_testCaseDidFailForTestClass : %@, method: %@, withMessage: %@, file: %@, line: %@", testClass, method, message, file, line]; - return nil; -} - -- (id)_XCT_logDebugMessage:(NSString *)debugMessage { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestDaemonConnection_XCT_logDebugMessage: %@", debugMessage]; - return nil; -} - -- (id)_XCT_logMessage:(NSString *)message { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestDaemonConnection_XCT_logMessage: %@", message]; - return nil; -} - -- (id)_XCT_testCaseDidFinishForTestClass:(NSString *)testClass method:(NSString *)method withStatus:(NSString *)statusString duration:(NSNumber *)duration { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestDaemonConnection_XCT_testCaseDidFinishForTestClass: %@, method: %@, withStatus: %@, duration: %@", testClass, method, statusString, duration]; - return nil; -} - -- (id)_XCT_testSuite:(NSString *)arg1 didFinishAt:(NSString *)arg2 runCount:(NSNumber *)arg3 withFailures:(NSNumber *)arg4 unexpected:(NSNumber *)arg5 testDuration:(NSNumber *)arg6 totalDuration:(NSNumber *)arg7 { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestDaemonConnection_XCT_testSuite: %@, didFinishAt: %@, runCount: %@, withFailures: %@, unexpected: %@, testDuration: %@, totalDuration: %@", arg1, arg2, arg3, arg4, arg5, arg6, arg7]; - return nil; -} - -- (id)_XCT_testCase:(NSString *)arg1 method:(NSString *)arg2 didFinishActivity:(XCActivityRecord *)arg3 { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestDaemonConnection_XCT_testCase: %@, method: %@, didFinishActivity: %@", arg1, arg2, arg3]; - return nil; -} - -- (id)_XCT_testCase:(NSString *)arg1 method:(NSString *)arg2 willStartActivity:(XCActivityRecord *)arg3 { - [BPUtils printInfo:DEBUGINFO withString:@"BPTestDaemonConnection_XCT_testCase: %@, method: %@, willStartActivity: %@", arg1, arg2, arg3]; - return nil; -} - -#pragma mark - Unimplemented - -- (id)_XCT_nativeFocusItemDidChangeAtTime:(NSNumber *)arg1 parameterSnapshot:(XCElementSnapshot *)arg2 applicationSnapshot:(XCElementSnapshot *)arg3 { - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_recordedEventNames:(NSArray *)arg1 timestamp:(NSNumber *)arg2 duration:(NSNumber *)arg3 startLocation:(NSDictionary *)arg4 startElementSnapshot:(XCElementSnapshot *)arg5 startApplicationSnapshot:(XCElementSnapshot *)arg6 endLocation:(NSDictionary *)arg7 endElementSnapshot:(XCElementSnapshot *)arg8 endApplicationSnapshot:(XCElementSnapshot *)arg9 { - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_recordedOrientationChange:(NSString *)arg1 { - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_recordedFirstResponderChangedWithApplicationSnapshot:(XCElementSnapshot *)arg1 { - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_exchangeCurrentProtocolVersion:(NSNumber *)arg1 minimumVersion:(NSNumber *)arg2 { - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_recordedKeyEventsWithApplicationSnapshot:(XCElementSnapshot *)arg1 characters:(NSString *)arg2 charactersIgnoringModifiers:(NSString *)arg3 modifierFlags:(NSNumber *)arg4 { - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_recordedEventNames:(NSArray *)arg1 duration:(NSNumber *)arg2 startLocation:(NSDictionary *)arg3 startElementSnapshot:(XCElementSnapshot *)arg4 startApplicationSnapshot:(XCElementSnapshot *)arg5 endLocation:(NSDictionary *)arg6 endElementSnapshot:(XCElementSnapshot *)arg7 endApplicationSnapshot:(XCElementSnapshot *)arg8 { - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_recordedKeyEventsWithCharacters:(NSString *)arg1 charactersIgnoringModifiers:(NSString *)arg2 modifierFlags:(NSNumber *)arg3 { - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_recordedEventNames:(NSArray *)arg1 duration:(NSNumber *)arg2 startElement:(XCAccessibilityElement *)arg3 startApplicationSnapshot:(XCElementSnapshot *)arg4 endElement:(XCAccessibilityElement *)arg5 endApplicationSnapshot:(XCElementSnapshot *)arg6 { - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_recordedEvent:(NSString *)arg1 targetElementID:(NSDictionary *)arg2 applicationSnapshot:(XCElementSnapshot *)arg3 { - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_recordedEvent:(NSString *)arg1 forElement:(NSString *)arg2 { - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_testMethod:(NSString *)arg1 ofClass:(NSString *)arg2 didMeasureMetric:(NSDictionary *)arg3 file:(NSString *)arg4 line:(NSNumber *)arg5 { - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_testCase:(NSString *)arg1 method:(NSString *)arg2 didStallOnMainThreadInFile:(NSString *)arg3 line:(NSNumber *)arg4 { - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_testMethod:(NSString *)arg1 ofClass:(NSString *)arg2 didMeasureValues:(NSArray *)arg3 forPerformanceMetricID:(NSString *)arg4 name:(NSString *)arg5 withUnits:(NSString *)arg6 baselineName:(NSString *)arg7 baselineAverage:(NSNumber *)arg8 maxPercentRegression:(NSNumber *)arg9 maxPercentRelativeStandardDeviation:(NSNumber *)arg10 file:(NSString *)arg11 line:(NSNumber *)arg12 { - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (id)_XCT_testBundleReady { - return [self handleUnimplementedXCTRequest:_cmd]; -} - -- (NSString *)unknownMessageForSelector:(SEL)aSelector -{ - return [NSString stringWithFormat:@"Received call for unhandled method (%@). Probably you should have a look at _IDETestManagerAPIMediator in IDEFoundation.framework and implement it. Good luck!", NSStringFromSelector(aSelector)]; -} - -// This will add more logs when unimplemented method from XCTestManager_IDEInterface protocol is called -- (id)handleUnimplementedXCTRequest:(SEL)aSelector { - [BPUtils printInfo:DEBUGINFO withString:@"TMD: unimplemented: %s", sel_getName(aSelector)]; - NSAssert(nil, [self unknownMessageForSelector:_cmd]); - return nil; -} - -@end diff --git a/bp/src/BPUtils.m b/bp/src/BPUtils.m index a9c9754e..814bf3e6 100644 --- a/bp/src/BPUtils.m +++ b/bp/src/BPUtils.m @@ -49,6 +49,7 @@ @implementation BPUtils + (void)enableDebugOutput:(BOOL)enable { printDebugInfo = enable; + if (quiet && printDebugInfo == YES) quiet = NO; NSLog(@"Debug Enabled == %hhd", printDebugInfo); } diff --git a/bp/src/Bluepill.m b/bp/src/Bluepill.m index 08cca8a5..82a471ad 100644 --- a/bp/src/Bluepill.m +++ b/bp/src/Bluepill.m @@ -19,11 +19,15 @@ #import "BPExecutionContext.h" #import "BPHandler.h" #import -#import "BPTestBundleConnection.h" -#import "BPTestDaemonConnection.h" +#import "BPTMDControlConnection.h" +#import "BPTMDRunnerConnection.h" #import "BPXCTestFile.h" #import +// CoreSimulator +#import "PrivateHeaders/CoreSimulator/SimDevice.h" + + #define NEXT(x) { [Bluepill setDiagnosticFunction:#x from:__FUNCTION__ line:__LINE__]; CFRunLoopPerformBlock(CFRunLoopGetMain(), kCFRunLoopCommonModes, ^{ (x); }); } #define NEXT_AFTER(delay, x) { \ [Bluepill setDiagnosticFunction: #x from:__FUNCTION__ line:__LINE__]; \ @@ -432,12 +436,15 @@ - (void)connectTestBundleAndTestDaemonWithContext:(BPExecutionContext *)context // If the isTestRunnerContext is flipped on, don't connect testbundle again. return; } - BPTestBundleConnection *bConnection = [[BPTestBundleConnection alloc] initWithContext:context andInterface:self]; - BPTestDaemonConnection *dConnection = [[BPTestDaemonConnection alloc] initWithDevice:context.runner andInterface:nil andTestRunnerPID: context.pid]; + [BPUtils printInfo:DEBUGINFO withString:@"Connecting to testmanagerd"]; - [dConnection connectWithTimeout:180]; - [bConnection connectWithTimeout:180]; - [bConnection startTestPlan]; + BPTMDControlConnection *controlConnection = [[BPTMDControlConnection alloc] initWithSimDevice:context.runner.device andTestRunnerPID:context.pid]; + BPTMDRunnerConnection *runnerConnection = [[BPTMDRunnerConnection alloc] initWithContext:context andInterface:self]; + + [controlConnection connectWithTimeout:180]; + [runnerConnection connectWithTimeout:180]; + + [runnerConnection startTestPlan]; NEXT([self checkProcessWithContext:context]); } diff --git a/bp/src/PrivateHeaders/DTXConnectionServices/DTXSocketTransport.h b/bp/src/PrivateHeaders/DTXConnectionServices/DTXSocketTransport.h index a85bd303..da496aa6 100644 --- a/bp/src/PrivateHeaders/DTXConnectionServices/DTXSocketTransport.h +++ b/bp/src/PrivateHeaders/DTXConnectionServices/DTXSocketTransport.h @@ -25,7 +25,7 @@ - (unsigned long long)transmit:(const void *)arg1 ofLength:(unsigned long long)arg2; - (id)initWithRemoteAddress:(id)arg1; - (id)initWithLocalPort:(int)arg1; -- (id)initWithConnectedSocket:(int)arg1 disconnectAction:(CDUnknownBlockType)arg2; +- (id)initWithConnectedSocket:(int)arg1 disconnectAction:(id)arg2; - (void)_commonSocketTransportInit; - (void)_setupChannelWithConnectedSocket:(int)arg1 assumingOwnership:(BOOL)arg2 orDisconnectBlock:(CDUnknownBlockType)arg3; - (id)initWithLocalAddress:(id)arg1; diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/CDStructures.h b/bp/src/PrivateHeaders/XCTAutomationSupport/CDStructures.h new file mode 100644 index 00000000..b8215b6c --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/CDStructures.h @@ -0,0 +1,52 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#pragma mark Blocks + +typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown + +#pragma mark Named Structures + +struct CGPoint { + double x; + double y; +}; + +struct CGRect { + struct CGPoint origin; + struct CGSize size; +}; + +struct CGSize { + double width; + double height; +}; + +struct CGVector { + double dx; + double dy; +}; + +struct __va_list_tag { + unsigned int _field1; + unsigned int _field2; + void *_field3; + void *_field4; +}; + +struct atomic_flag { + _Atomic _Bool _Value; +}; + +#pragma mark Typedef'd Structures + +typedef struct { + unsigned long long _field1; + id *_field2; + unsigned long long *_field3; + unsigned long long _field4[5]; +} CDStruct_70511ce9; + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/NSArray-XCTElementQueryAdditions.h b/bp/src/PrivateHeaders/XCTAutomationSupport/NSArray-XCTElementQueryAdditions.h new file mode 100644 index 00000000..e7eb5ead --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/NSArray-XCTElementQueryAdditions.h @@ -0,0 +1,12 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface NSArray (XCTElementQueryAdditions) +- (id)_xct_objectAfterObject:(id)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/NSCoding-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/NSCoding-Protocol.h new file mode 100644 index 00000000..178f0b5c --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/NSCoding-Protocol.h @@ -0,0 +1,13 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSCoder; + +@protocol NSCoding +- (id)initWithCoder:(NSCoder *)arg1; +- (void)encodeWithCoder:(NSCoder *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/NSCopying-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/NSCopying-Protocol.h new file mode 100644 index 00000000..1ce18423 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/NSCopying-Protocol.h @@ -0,0 +1,10 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@protocol NSCopying +- (id)copyWithZone:(struct _NSZone *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/NSDictionary-AXAttributeAccessors.h b/bp/src/PrivateHeaders/XCTAutomationSupport/NSDictionary-AXAttributeAccessors.h new file mode 100644 index 00000000..71abd6f0 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/NSDictionary-AXAttributeAccessors.h @@ -0,0 +1,11 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface NSDictionary (AXAttributeAccessors) +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/NSError-XCTAutomationSupportErrors.h b/bp/src/PrivateHeaders/XCTAutomationSupport/NSError-XCTAutomationSupportErrors.h new file mode 100644 index 00000000..c0b13ea5 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/NSError-XCTAutomationSupportErrors.h @@ -0,0 +1,18 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface NSError (XCTAutomationSupportErrors) ++ (id)_xctas_errorWithDomain:(id)arg1 code:(long long)arg2 description:(id)arg3; ++ (id)_xctas_error:(long long)arg1 userInfo:(id)arg2 description:(id)arg3 arguments:(struct __va_list_tag [1])arg4; ++ (id)_xctas_error:(long long)arg1 userInfo:(id)arg2 description:(id)arg3; ++ (id)_xctas_error:(long long)arg1 description:(id)arg2; +@property(readonly) _Bool xctas_isProcessStallError; +@property(readonly) _Bool xctas_isUnknownElementError; +@property(readonly) _Bool xctas_isNoMatchingElementError; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/NSFastEnumeration-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/NSFastEnumeration-Protocol.h new file mode 100644 index 00000000..dd6c6224 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/NSFastEnumeration-Protocol.h @@ -0,0 +1,10 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@protocol NSFastEnumeration +- (unsigned long long)countByEnumeratingWithState:(CDStruct_70511ce9 *)arg1 objects:(id *)arg2 count:(unsigned long long)arg3; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/NSIndexPath-XCTConvenience.h b/bp/src/PrivateHeaders/XCTAutomationSupport/NSIndexPath-XCTConvenience.h new file mode 100644 index 00000000..7fc67bd2 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/NSIndexPath-XCTConvenience.h @@ -0,0 +1,12 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface NSIndexPath (XCTConvenience) +@property(readonly, copy) NSIndexPath *_xct_indexPathByRemovingFirstIndex; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/NSObject-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/NSObject-Protocol.h new file mode 100644 index 00000000..686450aa --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/NSObject-Protocol.h @@ -0,0 +1,33 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSString, Protocol; + +@protocol NSObject +@property(readonly, copy) NSString *description; +@property(readonly) Class superclass; +@property(readonly) unsigned long long hash; +- (struct _NSZone *)zone; +- (unsigned long long)retainCount; +- (id)autorelease; +- (oneway void)release; +- (id)retain; +- (_Bool)respondsToSelector:(SEL)arg1; +- (_Bool)conformsToProtocol:(Protocol *)arg1; +- (_Bool)isMemberOfClass:(Class)arg1; +- (_Bool)isKindOfClass:(Class)arg1; +- (_Bool)isProxy; +- (id)performSelector:(SEL)arg1 withObject:(id)arg2 withObject:(id)arg3; +- (id)performSelector:(SEL)arg1 withObject:(id)arg2; +- (id)performSelector:(SEL)arg1; +- (id)self; +- (Class)class; +- (_Bool)isEqual:(id)arg1; + +@optional +@property(readonly, copy) NSString *debugDescription; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/NSPredicate-XCTAutomationSupport.h b/bp/src/PrivateHeaders/XCTAutomationSupport/NSPredicate-XCTAutomationSupport.h new file mode 100644 index 00000000..7146ef25 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/NSPredicate-XCTAutomationSupport.h @@ -0,0 +1,18 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSSet; + +@interface NSPredicate (XCTAutomationSupport) +- (id)xct_matchedValuesOfClass:(Class)arg1 forKeyPath:(id)arg2; +- (id)_xct_requiredKeyPathsOrError:(id *)arg1; +@property(readonly, copy) NSSet *_xct_allExpressions; +@property(readonly) _Bool _xct_containsBlockOrFunctionPredicatesOrExpressions; +@property(readonly) _Bool _xct_supportsSecureCoding; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/NSSecureCoding-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/NSSecureCoding-Protocol.h new file mode 100644 index 00000000..d5e83cd4 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/NSSecureCoding-Protocol.h @@ -0,0 +1,12 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@protocol NSSecureCoding ++ (_Bool)supportsSecureCoding; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCAXCycleDetector.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCAXCycleDetector.h new file mode 100644 index 00000000..7e60b54f --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCAXCycleDetector.h @@ -0,0 +1,26 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, NSMutableOrderedSet; + +@interface XCAXCycleDetector : NSObject +{ + NSMutableOrderedSet *_elementStack; +} + ++ (id)_cycleDescriptionForElementStack:(id)arg1; +- (void).cxx_destruct; +@property(readonly) NSArray *currentElementPath; +- (id)_cycleDescriptionForElementWithCurrentStack:(id)arg1; +- (id)_cycleErrorForElement:(id)arg1; +- (void)untrackElement:(id)arg1; +- (_Bool)trackElement:(id)arg1 error:(id *)arg2; +- (id)init; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCAccessibilityElement.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCAccessibilityElement.h new file mode 100644 index 00000000..0ac0682f --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCAccessibilityElement.h @@ -0,0 +1,53 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import +#import + +@class NSData; + +@interface XCAccessibilityElement : NSObject +{ + int _processIdentifier; + const struct __AXUIElement *_AXUIElement; + unsigned long long _elementType; + unsigned long long _originPlatform; + NSData *_token; + unsigned long long _elementOrHash; + unsigned long long _elementID; +} + ++ (_Bool)supportsSecureCoding; ++ (id)deviceElement; ++ (id)elementWithProcessIdentifier:(int)arg1; ++ (id)elementWithProcessIdentifier:(int)arg1 originPlatform:(unsigned long long)arg2; ++ (id)elementWithAXUIElement:(struct __AXUIElement *)arg1; ++ (id)mockElementWithProcessIdentifier:(int)arg1 originPlatform:(unsigned long long)arg2 payload:(id)arg3; ++ (id)mockElementWithProcessIdentifier:(int)arg1 originPlatform:(unsigned long long)arg2; ++ (id)mockElementWithProcessIdentifier:(int)arg1 payload:(id)arg2; ++ (id)mockElementWithProcessIdentifier:(int)arg1; +- (void).cxx_destruct; +@property(readonly) unsigned long long elementID; // @synthesize elementID=_elementID; +@property(readonly) unsigned long long elementOrHash; // @synthesize elementOrHash=_elementOrHash; +@property(readonly, copy) NSData *token; // @synthesize token=_token; +@property(readonly) unsigned long long originPlatform; // @synthesize originPlatform=_originPlatform; +@property(readonly) unsigned long long elementType; // @synthesize elementType=_elementType; +@property(readonly) int processIdentifier; // @synthesize processIdentifier=_processIdentifier; +@property(readonly) const struct __AXUIElement *AXUIElement; // @synthesize AXUIElement=_AXUIElement; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (_Bool)isEqual:(id)arg1; +- (unsigned long long)hash; +- (id)description; +- (id)initWithAXUIElement:(struct __AXUIElement *)arg1 elementType:(unsigned long long)arg2 originPlatform:(unsigned long long)arg3; +- (id)initWithToken:(id)arg1 elementOrHash:(unsigned long long)arg2 elementID:(unsigned long long)arg3 pid:(int)arg4 elementType:(unsigned long long)arg5 originPlatform:(unsigned long long)arg6; +- (void)dealloc; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCDeviceEvent.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCDeviceEvent.h new file mode 100644 index 00000000..9a538f1b --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCDeviceEvent.h @@ -0,0 +1,47 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@interface XCDeviceEvent : NSObject +{ + unsigned char _buttonMask; + unsigned int _eventPage; + unsigned int _usage; + long long _displayID; + double _duration; + double _rotation; + long long _clicks; + unsigned long long _type; + struct CGVector _offset; +} + ++ (id)deviceEventWithDisplayID:(long long)arg1 knobRotation:(long long)arg2 duration:(double)arg3; ++ (id)deviceEventWithDisplayID:(long long)arg1 knobOffset:(struct CGVector)arg2 knobButtons:(unsigned char)arg3 duration:(double)arg4; ++ (id)deviceEventForDigitalCrownRotation:(double)arg1 velocity:(double)arg2; ++ (id)deviceEventWithDisplayID:(long long)arg1 page:(unsigned int)arg2 usage:(unsigned int)arg3 duration:(double)arg4; ++ (id)deviceEventWithPage:(unsigned int)arg1 usage:(unsigned int)arg2 duration:(double)arg3; ++ (_Bool)supportsSecureCoding; +@property struct CGVector offset; // @synthesize offset=_offset; +@property unsigned char buttonMask; // @synthesize buttonMask=_buttonMask; +@property unsigned long long type; // @synthesize type=_type; +@property long long clicks; // @synthesize clicks=_clicks; +@property double rotation; // @synthesize rotation=_rotation; +@property double duration; // @synthesize duration=_duration; +@property unsigned int usage; // @synthesize usage=_usage; +@property unsigned int eventPage; // @synthesize eventPage=_eventPage; +@property long long displayID; // @synthesize displayID=_displayID; +- (_Bool)isEqual:(id)arg1; +- (unsigned long long)hash; +@property(readonly) _Bool isButtonHoldEvent; +- (id)description; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCElementSnapshot.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCElementSnapshot.h new file mode 100644 index 00000000..43cd1616 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCElementSnapshot.h @@ -0,0 +1,166 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@import Foundation; + +@class NSArray, NSDictionary, NSEnumerator, NSIndexPath, NSSet, NSString, XCAccessibilityElement, XCTLocalizableStringInfo; +@protocol XCTElementSnapshotAttributeDataSource, XCUIElementSnapshotApplication; + +@interface XCElementSnapshot : NSObject +{ + _Bool _isMainWindow; + _Bool _enabled; + _Bool _selected; + _Bool _hasFocus; + _Bool _hasKeyboardFocus; + _Bool _isTruncatedValue; + _Bool _hasPrivilegedAttributeValues; + unsigned int _faultedInProperties; + id _application; + unsigned long long _generation; + id _dataSource; + long long _displayID; + NSString *_title; + NSString *_label; + id _value; + NSString *_placeholderValue; + unsigned long long _elementType; + unsigned long long _traits; + NSString *_identifier; + long long _verticalSizeClass; + long long _horizontalSizeClass; + NSArray *_children; + NSDictionary *_additionalAttributes; + NSArray *_userTestingAttributes; + NSSet *_disclosedChildRowAXElements; + XCAccessibilityElement *_accessibilityElement; + XCAccessibilityElement *_parentAccessibilityElement; + XCElementSnapshot *_parent; + XCTLocalizableStringInfo *_localizableStringInfo; + struct CGRect _frame; +} + ++ (unsigned long long)elementTypeForAccessibilityElement:(id)arg1 usingAXAttributes_iOS:(id)arg2 useLegacyElementType:(_Bool)arg3; ++ (unsigned long long)elementTypeForAccessibilityElement:(id)arg1 usingAXAttributes_macOS:(id)arg2 macCatalystStatusProvider:(id)arg3 useLegacyElementType:(_Bool)arg4; ++ (id)axAttributesForSnapshotAttributes:(id)arg1 isMacOS:(_Bool)arg2; ++ (id)requiredAXAttributesForElementSnapshotHierarchyOnMacOS:(_Bool)arg1; ++ (id)sanitizedElementSnapshotHierarchyAttributesForAttributes:(id)arg1 isMacOS:(_Bool)arg2; ++ (id)axAttributesForFaultingPropertiesOnMacOS:(_Bool)arg1; ++ (id)axAttributesForElementSnapshotKeyPaths:(id)arg1 isMacOS:(_Bool)arg2; ++ (id)elementWithAccessibilityElement:(id)arg1; ++ (_Bool)supportsSecureCoding; + +@property _Bool hasPrivilegedAttributeValues; // @synthesize hasPrivilegedAttributeValues=_hasPrivilegedAttributeValues; +@property(copy) XCTLocalizableStringInfo *localizableStringInfo; // @synthesize localizableStringInfo=_localizableStringInfo; +@property __weak XCElementSnapshot *parent; // @synthesize parent=_parent; +@property(retain) XCAccessibilityElement *parentAccessibilityElement; // @synthesize parentAccessibilityElement=_parentAccessibilityElement; +@property(readonly, copy, nonatomic) XCAccessibilityElement *accessibilityElement; // @synthesize accessibilityElement=_accessibilityElement; +@property unsigned int faultedInProperties; // @synthesize faultedInProperties=_faultedInProperties; +@property _Bool isTruncatedValue; // @synthesize isTruncatedValue=_isTruncatedValue; +@property(copy) NSDictionary *additionalAttributes; // @synthesize additionalAttributes=_additionalAttributes; +@property(readonly) _Bool isMacOS; +@property(readonly) _Bool isTopLevelTouchBarElement; +@property(readonly) _Bool isTouchBarElement; +- (_Bool)_isAncestorOfElement:(id)arg1; +- (_Bool)_isDescendantOfElement:(id)arg1; +@property(readonly) NSSet *uniqueDescendantSubframes; +@property(readonly) _Bool isRemote; +@property(readonly) XCElementSnapshot *rootElement; +@property(readonly) double centerY; +@property(readonly) double centerX; +@property(readonly) struct CGPoint center; +@property(readonly) struct CGRect visibleFrame; +@property(readonly) NSArray *disclosedChildRows; +@property(readonly) XCElementSnapshot *outline; +@property(readonly) _Bool isInRootMenu; +@property(readonly) XCElementSnapshot *menuItem; +@property(readonly) XCElementSnapshot *menu; +@property(readonly) XCElementSnapshot *scrollView; +- (id)nearestSharedAncestorOfElement:(id)arg1 matchingType:(long long)arg2; +- (id)_nearestAncestorMatchingAnyOfTypes:(id)arg1; +- (id)nearestAncestorMatchingType:(long long)arg1; +- (id)localizableStringsDataIncludingChildren; +- (_Bool)_frameFuzzyMatchesElement:(id)arg1 tolerance:(double)arg2; +- (_Bool)_frameFuzzyMatchesElement:(id)arg1; +- (_Bool)_fuzzyMatchesElement:(id)arg1; +- (_Bool)_matchesElement:(id)arg1; +- (void)replaceDescendant:(id)arg1 withElement:(id)arg2; +- (id)descendantAtIndexPath:(id)arg1; +@property(readonly, copy) NSIndexPath *indexPath; +- (id)sparseTreeWithDescendants:(id)arg1 error:(id *)arg2; +- (_Bool)matchesTreeWithRoot:(id)arg1; +@property(readonly, copy) XCElementSnapshot *pathFromRoot; +- (void)mergeTreeWithSnapshot:(id)arg1; +- (id)_childMatchingElement:(id)arg1; +- (id)_allDescendants; +@property(readonly, copy) NSEnumerator *descendantEnumerator; +@property(readonly, copy) NSEnumerator *childEnumerator; +- (_Bool)hasDescendantMatchingFilter:(id)arg1; +- (id)descendantsByFilteringWithBlock:(id)arg1; +- (id)elementSnapshotMatchingAccessibilityElement:(id)arg1; +- (void)enumerateDescendantsUsingBlock:(id)arg1; +@property(readonly) unsigned long long depth; +- (id)dictionaryRepresentationWithAttributes:(id)arg1; +@property(readonly, copy) NSString *sparseTreeDescription; +@property(readonly, copy) NSString *compactDescription; +@property(readonly, copy) NSString *pathDescription; +@property(readonly) NSString *recursiveDescriptionIncludingAccessibilityElement; +@property(readonly) NSString *recursiveDescription; +- (id)recursiveDescriptionWithIndent:(id)arg1 includeAccessibilityElement:(_Bool)arg2 includingPointers:(_Bool)arg3; +- (id)debugDescription; +- (id)descriptionIncludingPointers:(_Bool)arg1; +- (id)description; +@property(readonly) _Bool anyDescendantHasPrivilegedAttributeValues; +@property(copy) NSSet *disclosedChildRowAXElements; // @synthesize disclosedChildRowAXElements=_disclosedChildRowAXElements; +@property(copy) NSArray *children; // @synthesize children=_children; +@property(copy) NSArray *userTestingAttributes; // @synthesize userTestingAttributes=_userTestingAttributes; +@property long long verticalSizeClass; // @synthesize verticalSizeClass=_verticalSizeClass; +@property long long horizontalSizeClass; // @synthesize horizontalSizeClass=_horizontalSizeClass; +@property unsigned long long traits; // @synthesize traits=_traits; +@property _Bool isMainWindow; // @synthesize isMainWindow=_isMainWindow; +@property(getter=isSelected) _Bool selected; // @synthesize selected=_selected; +@property(getter=isEnabled) _Bool enabled; // @synthesize enabled=_enabled; +@property _Bool hasFocus; // @synthesize hasFocus=_hasFocus; +@property _Bool hasKeyboardFocus; // @synthesize hasKeyboardFocus=_hasKeyboardFocus; +@property(copy) NSString *identifier; // @synthesize identifier=_identifier; +@property(copy) NSString *label; // @synthesize label=_label; +@property(copy) NSString *title; // @synthesize title=_title; +@property(copy) NSString *placeholderValue; // @synthesize placeholderValue=_placeholderValue; +@property(copy) id value; // @synthesize value=_value; +@property(readonly, copy) NSString *truncatedValueString; +@property long long displayID; // @synthesize displayID=_displayID; +@property struct CGRect frame; // @synthesize frame=_frame; +@property unsigned long long elementType; // @synthesize elementType=_elementType; +- (id)_fetchPrivilegedValueForKey:(id)arg1; +- (_Bool)_shouldAttemptPrivilegedFaultForValue:(id)arg1; +- (_Bool)_fetchBoolForKey:(id)arg1; +- (id)_fetchSimpleValueForKey:(id)arg1; +- (void)_assertForFaultsInContext:(id)arg1; +- (int)_faultingBitForKey:(id)arg1; +- (void)markAsFaultedInPropertiesDerivedFromSnapshotAttributes:(id)arg1; +- (_Bool)_willAssertOnFault; +- (void)_recursivelySetFaultedBits:(int)arg1; +- (void)_unsetIsFaultedIn:(int)arg1; +- (void)_setIsFaultedIn:(int)arg1; +- (_Bool)_isFaultedIn:(int)arg1; +- (_Bool)_shouldAttemptFaultForBit:(int)arg1; +- (void)_compensateForInsufficientElementTypeData; +- (void)_recursivelyResetElementType; +- (void)recursivelyClearDataSource; +@property __weak id dataSource; // @synthesize dataSource=_dataSource; +- (_Bool)isEqual:(id)arg1; +- (unsigned long long)hash; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +@property(readonly, copy) NSArray *identifiers; +@property(nonatomic) unsigned long long generation; // @synthesize generation=_generation; +@property(nonatomic) __weak id application; // @synthesize application=_application; +- (id)initWithAccessibilityElement:(id)arg1; +- (void)dealloc; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTAccessibilityFramework-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTAccessibilityFramework-Protocol.h new file mode 100644 index 00000000..a1711d16 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTAccessibilityFramework-Protocol.h @@ -0,0 +1,21 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, NSDictionary, XCAccessibilityElement; + +@protocol XCTAccessibilityFramework +@property(readonly) _Bool allowsRemoteAccess; +- (void)performWithAXTimeout:(double)arg1 block:(void (^)(void))arg2; +- (NSArray *)attributes:(NSArray *)arg1 forElement:(const struct __AXUIElement *)arg2 error:(id *)arg3; +- (long long)appOrientationForElement:(const struct __AXUIElement *)arg1 error:(id *)arg2; +- (struct CGRect)frameForElement:(const struct __AXUIElement *)arg1 error:(id *)arg2; +- (const struct __AXUIElement *)mainWindowForElement:(const struct __AXUIElement *)arg1 error:(id *)arg2; +- (NSDictionary *)userTestingSnapshotForElement:(const struct __AXUIElement *)arg1 options:(NSDictionary *)arg2 error:(id *)arg3; +- (NSDictionary *)attributesForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 error:(id *)arg3; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTAccessibilityFramework.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTAccessibilityFramework.h new file mode 100644 index 00000000..aa7f6bed --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTAccessibilityFramework.h @@ -0,0 +1,44 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSString; + +@interface XCTAccessibilityFramework : NSObject +{ + _Bool _allowsRemoteAccess; + int _processID; + struct __AXUIElement *_systemWideElement; +} + +@property struct __AXUIElement *systemWideElement; // @synthesize systemWideElement=_systemWideElement; +@property(readonly) int processID; // @synthesize processID=_processID; +@property(readonly) _Bool allowsRemoteAccess; // @synthesize allowsRemoteAccess=_allowsRemoteAccess; +- (void)performWithAXTimeout:(double)arg1 block:(CDUnknownBlockType)arg2; +- (id)attributes:(id)arg1 forElement:(struct __AXUIElement *)arg2 error:(id *)arg3; +- (long long)appOrientationForElement:(struct __AXUIElement *)arg1 error:(id *)arg2; +- (struct CGRect)frameForElement:(struct __AXUIElement *)arg1 error:(id *)arg2; +- (const struct __AXUIElement *)mainWindowForElement:(struct __AXUIElement *)arg1 error:(id *)arg2; +- (id)userTestingSnapshotForElement:(struct __AXUIElement *)arg1 options:(id)arg2 error:(id *)arg3; +- (void)_setAXRequestingClient; +- (id)attributesForElement:(id)arg1 attributes:(id)arg2 error:(id *)arg3; +- (_Bool)_canAccessElement:(struct __AXUIElement *)arg1 withError:(id *)arg2; +- (void)dealloc; +- (id)initForLocalAccess; +- (id)initForRemoteAccess; +- (id)initAllowingRemoteAccess:(_Bool)arg1 processID:(int)arg2; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTAccessibilitySnapshot_iOS.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTAccessibilitySnapshot_iOS.h new file mode 100644 index 00000000..e61d5e6f --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTAccessibilitySnapshot_iOS.h @@ -0,0 +1,34 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSDictionary; + +__attribute__((visibility("hidden"))) +@interface XCTAccessibilitySnapshot_iOS : NSObject +{ + NSDictionary *_userTestingSnapshot; + NSDictionary *_snapshotOptions; + struct __AXUIElement *_mainWindowRef; + long long _appOrientation; + struct CGRect _mainWindowFrame; +} + +- (void).cxx_destruct; +@property(readonly) long long appOrientation; // @synthesize appOrientation=_appOrientation; +@property(readonly) struct CGRect mainWindowFrame; // @synthesize mainWindowFrame=_mainWindowFrame; +@property(readonly) struct __AXUIElement *mainWindowRef; // @synthesize mainWindowRef=_mainWindowRef; +@property(readonly) NSDictionary *snapshotOptions; // @synthesize snapshotOptions=_snapshotOptions; +@property(readonly) NSDictionary *userTestingSnapshot; // @synthesize userTestingSnapshot=_userTestingSnapshot; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (void)dealloc; +- (id)initWithUserTestingSnapshot:(id)arg1 snapshotOptions:(id)arg2 mainWindowRef:(struct __AXUIElement *)arg3 mainWindowFrame:(struct CGRect)arg4 appOrientation:(long long)arg5; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTAnimationsIdleNotifier.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTAnimationsIdleNotifier.h new file mode 100644 index 00000000..49fe8e0b --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTAnimationsIdleNotifier.h @@ -0,0 +1,35 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSString; + +@interface XCTAnimationsIdleNotifier : NSObject +{ +} + ++ (void)addAnimationIdleHandler:(CDUnknownBlockType)arg1; ++ (void)handleAnimationsIdle; ++ (_Bool)isAnimationInProgress; ++ (void)animationDidStop; ++ (void)animationDidStart; ++ (_Bool)swizzleUIViewAnimationStateMethodsWithError:(id *)arg1; ++ (void)provideCapabilitiesToBuilder:(id)arg1; ++ (_Bool)supportsAnimationsIdleNotification; ++ (void)initialize; +- (void)notifyWhenIdle:(CDUnknownBlockType)arg1; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTApplicationStateSnapshot.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTApplicationStateSnapshot.h new file mode 100644 index 00000000..b551204e --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTApplicationStateSnapshot.h @@ -0,0 +1,36 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSString; + +@interface XCTApplicationStateSnapshot : NSObject +{ + int _processID; + NSString *_bundleID; + NSString *_path; + unsigned long long _runState; + unsigned long long _activationPolicy; + unsigned long long _eventID; +} + ++ (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property(readonly) unsigned long long eventID; // @synthesize eventID=_eventID; +@property(readonly) unsigned long long activationPolicy; // @synthesize activationPolicy=_activationPolicy; +@property(readonly) int processID; // @synthesize processID=_processID; +@property(readonly) unsigned long long runState; // @synthesize runState=_runState; +@property(readonly, copy) NSString *path; // @synthesize path=_path; +@property(readonly, copy) NSString *bundleID; // @synthesize bundleID=_bundleID; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +- (id)initWithBundleID:(id)arg1 path:(id)arg2 runState:(unsigned long long)arg3 processID:(int)arg4 activationPolicy:(unsigned long long)arg5 eventID:(unsigned long long)arg6; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTAutomationSession.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTAutomationSession.h new file mode 100644 index 00000000..dcbbd809 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTAutomationSession.h @@ -0,0 +1,79 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import +#import +#import +#import +#import +#import + +@class DTXConnection, DTXProxyChannel, NSMutableArray, NSString, XCTAnimationsIdleNotifier, XCTCapabilities, XCTElementQueryProcessor, XCTMainRunLoopIdleNotifier; +@protocol OS_dispatch_queue, XCTAccessibilityFramework, XCTElementSnapshotProvider> +{ + id _accessibilityFramework; + id _dataSource; + NSMutableArray *_connections; + XCTElementQueryProcessor *_queryProcessor; + NSObject *_queue; + XCTMainRunLoopIdleNotifier *_runLoopIdleMonitor; + XCTAnimationsIdleNotifier *_animationIdleNotifier; + DTXConnection *_dtxConnection; + DTXProxyChannel *_proxyChannel; + XCTCapabilities *_remoteInterfaceCapabilities; +} + ++ (id)capabilitiesBuilder; +- (void).cxx_destruct; +@property(retain) XCTCapabilities *remoteInterfaceCapabilities; // @synthesize remoteInterfaceCapabilities=_remoteInterfaceCapabilities; +@property(readonly) DTXProxyChannel *proxyChannel; // @synthesize proxyChannel=_proxyChannel; +@property(readonly) DTXConnection *dtxConnection; // @synthesize dtxConnection=_dtxConnection; +@property(readonly) XCTAnimationsIdleNotifier *animationIdleNotifier; // @synthesize animationIdleNotifier=_animationIdleNotifier; +@property(readonly) XCTMainRunLoopIdleNotifier *runLoopIdleMonitor; // @synthesize runLoopIdleMonitor=_runLoopIdleMonitor; +@property(readonly) NSObject *queue; // @synthesize queue=_queue; +@property(readonly) XCTElementQueryProcessor *queryProcessor; // @synthesize queryProcessor=_queryProcessor; +@property(readonly) NSMutableArray *connections; // @synthesize connections=_connections; +@property(readonly) __weak id dataSource; // @synthesize dataSource=_dataSource; +@property(readonly) id accessibilityFramework; // @synthesize accessibilityFramework=_accessibilityFramework; +- (_Bool)isMacCatalystForPID:(int)arg1; +@property(readonly) _Bool hasBannerNotificationIsStickyAttribute; +@property(readonly) _Bool usePointTransformationsForFrameConversions; +@property(readonly) _Bool supportsHostedViewCoordinateTransformations; +- (id)parameterizedAttribute:(id)arg1 forElement:(id)arg2 parameter:(id)arg3 error:(id *)arg4; +- (id)attributesForElement:(id)arg1 attributes:(id)arg2 error:(id *)arg3; +@property(readonly) _Bool allowsRemoteAccess; +- (id)snapshotForElement:(id)arg1 attributes:(id)arg2 parameters:(id)arg3 timeoutControls:(id)arg4 error:(id *)arg5; +- (id)_XCT_notifyWhenAnimationsAreIdle; +- (id)_XCT_notifyWhenMainRunLoopIsIdle; +- (id)_XCT_attributesForElement:(id)arg1 attributes:(id)arg2; +- (id)_XCT_fetchMatchesForQuery:(id)arg1; +- (id)_XCT_exchangeCapabilities:(id)arg1; +- (void)listenForRemoteConnectionViaSerializedTransportWrapper:(id)arg1 completion:(CDUnknownBlockType)arg2; +- (void)notifyWhenAnimationsAreIdle:(CDUnknownBlockType)arg1; +- (void)notifyWhenMainRunLoopIsIdle:(CDUnknownBlockType)arg1; +- (id)valuesForPrivilegedAttributes:(id)arg1 forElement:(id)arg2 error:(id *)arg3; +@property(readonly) _Bool providesValuesForPrivilegedAttributes; +- (void)attributesForElement:(id)arg1 attributes:(id)arg2 reply:(CDUnknownBlockType)arg3; +- (void)fetchMatchesForQuery:(id)arg1 reply:(CDUnknownBlockType)arg2; +- (void)exchangeCapabilities:(id)arg1 reply:(CDUnknownBlockType)arg2; +- (void)requestHostAppExecutableNameWithReply:(CDUnknownBlockType)arg1; +- (_Bool)acceptNewConnection:(id)arg1; +- (id)init; +- (id)initWithAccessibilityFramework:(id)arg1; +- (id)initWithAccessibilityFramework:(id)arg1 dataSource:(id)arg2; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTAutomationTypeMismatchIssue.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTAutomationTypeMismatchIssue.h new file mode 100644 index 00000000..b6c41c1e --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTAutomationTypeMismatchIssue.h @@ -0,0 +1,44 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSDictionary, NSString, XCAccessibilityElement; + +@interface XCTAutomationTypeMismatchIssue : NSObject +{ + XCAccessibilityElement *_accessibilityElement; + unsigned long long _legacyElementType; + unsigned long long _elementTypeFromAutomationType; + NSDictionary *_accessibilityAttributes; +} + ++ (_Bool)supportsSecureCoding; ++ (id)capability; +- (void).cxx_destruct; +@property(readonly, copy) NSDictionary *accessibilityAttributes; // @synthesize accessibilityAttributes=_accessibilityAttributes; +@property(readonly) unsigned long long elementTypeFromAutomationType; // @synthesize elementTypeFromAutomationType=_elementTypeFromAutomationType; +@property(readonly) unsigned long long legacyElementType; // @synthesize legacyElementType=_legacyElementType; +@property(readonly, copy) XCAccessibilityElement *accessibilityElement; // @synthesize accessibilityElement=_accessibilityElement; +- (_Bool)isEqualForAggregationWith:(id)arg1; +- (_Bool)isEqual:(id)arg1; +@property(readonly) unsigned long long aggregationHash; +@property(readonly) unsigned long long hash; +@property(readonly, copy) NSString *description; +@property(readonly) NSString *detailedDescription; +@property(readonly) NSString *shortDescription; +- (id)initWithCoder:(id)arg1; +- (void)encodeWithCoder:(id)arg1; +- (id)initForAccessibilityElement:(id)arg1 legacyElementType:(unsigned long long)arg2 elementTypeFromAutomationType:(unsigned long long)arg3 accessibilityAttributes:(id)arg4; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTCapabilities.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTCapabilities.h new file mode 100644 index 00000000..0fc3147e --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTCapabilities.h @@ -0,0 +1,33 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@import Foundation; + +@class NSDictionary; + +@interface XCTCapabilities : NSObject +{ + NSDictionary *_capabilitiesDictionary; +} + ++ (id)emptyCapabilities; ++ (_Bool)supportsSecureCoding; + +@property(readonly, copy) NSDictionary *capabilitiesDictionary; // @synthesize capabilitiesDictionary=_capabilitiesDictionary; +- (_Bool)hasCapability:(id)arg1; +- (unsigned long long)versionForCapability:(id)arg1; +- (unsigned long long)hash; +- (_Bool)isEqual:(id)arg1; +- (id)description; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +@property(readonly, copy) NSDictionary *dictionaryRepresentation; +- (id)initWithDictionary:(id)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTCapabilitiesBuilder.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTCapabilitiesBuilder.h new file mode 100644 index 00000000..df13bfb4 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTCapabilitiesBuilder.h @@ -0,0 +1,26 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSMutableDictionary, XCTCapabilities; + +@interface XCTCapabilitiesBuilder : NSObject +{ + NSMutableDictionary *_capabilitiesDictionary; +} + ++ (id)capabilitiesFromProvider:(Class)arg1; + +@property(readonly, copy) NSMutableDictionary *capabilitiesDictionary; // @synthesize capabilitiesDictionary=_capabilitiesDictionary; +@property(readonly, copy) XCTCapabilities *capabilities; +- (void)upgradeCapability:(id)arg1 toVersion:(unsigned long long)arg2; +- (void)registerCapability:(id)arg1; +- (void)registerCapability:(id)arg1 version:(unsigned long long)arg2; +- (id)init; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTCapabilitiesProviding-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTCapabilitiesProviding-Protocol.h new file mode 100644 index 00000000..267fa1f2 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTCapabilitiesProviding-Protocol.h @@ -0,0 +1,14 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class XCTCapabilitiesBuilder; + +@protocol XCTCapabilitiesProviding ++ (void)provideCapabilitiesToBuilder:(XCTCapabilitiesBuilder *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTConnectionAccepting-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTConnectionAccepting-Protocol.h new file mode 100644 index 00000000..197dd4a7 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTConnectionAccepting-Protocol.h @@ -0,0 +1,14 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSXPCConnection; + +@protocol XCTConnectionAccepting +- (_Bool)acceptNewConnection:(NSXPCConnection *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTContainingTransformerIterator.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTContainingTransformerIterator.h new file mode 100644 index 00000000..775d5032 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTContainingTransformerIterator.h @@ -0,0 +1,24 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class XCTElementContainingTransformer; + +__attribute__((visibility("hidden"))) +@interface XCTContainingTransformerIterator : XCTMatchingElementIterator +{ + _Bool _hasCheckedInput; + XCTElementContainingTransformer *_containingTransformer; +} + +- (void).cxx_destruct; +@property(readonly) XCTElementContainingTransformer *containingTransformer; // @synthesize containingTransformer=_containingTransformer; +- (id)nextMatch; +- (id)initWithInput:(id)arg1 containingTransformer:(id)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementBlockFilteringTransformer.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementBlockFilteringTransformer.h new file mode 100644 index 00000000..2931ab45 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementBlockFilteringTransformer.h @@ -0,0 +1,41 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSSet, NSString; + +@interface XCTElementBlockFilteringTransformer : NSObject +{ + _Bool stopsOnFirstMatch; + NSString *transformationDescription; + CDUnknownBlockType _filter; +} + ++ (void)provideCapabilitiesToBuilder:(id)arg1; +- (void).cxx_destruct; +@property(readonly, copy) CDUnknownBlockType filter; // @synthesize filter=_filter; +@property _Bool stopsOnFirstMatch; // @synthesize stopsOnFirstMatch; +@property(copy) NSString *transformationDescription; // @synthesize transformationDescription; +@property(readonly, copy) NSSet *elementTypes; +- (id)iteratorForInput:(id)arg1; +- (id)requiredKeyPathsOrError:(id *)arg1; +@property(readonly) _Bool supportsAttributeKeyPathAnalysis; +- (_Bool)canBeRemotelyEvaluatedWithCapabilities:(id)arg1; +- (id)transform:(id)arg1 relatedElements:(id *)arg2; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (id)initWithBlockFilter:(CDUnknownBlockType)arg1; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementBlockSortingTransformer.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementBlockSortingTransformer.h new file mode 100644 index 00000000..2f12cfe8 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementBlockSortingTransformer.h @@ -0,0 +1,41 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSSet, NSString; + +@interface XCTElementBlockSortingTransformer : NSObject +{ + _Bool stopsOnFirstMatch; + NSString *transformationDescription; + CDUnknownBlockType _comparator; +} + ++ (void)provideCapabilitiesToBuilder:(id)arg1; +- (void).cxx_destruct; +@property(readonly, copy) CDUnknownBlockType comparator; // @synthesize comparator=_comparator; +@property _Bool stopsOnFirstMatch; // @synthesize stopsOnFirstMatch; +@property(copy) NSString *transformationDescription; // @synthesize transformationDescription; +@property(readonly, copy) NSSet *elementTypes; +- (id)iteratorForInput:(id)arg1; +- (id)requiredKeyPathsOrError:(id *)arg1; +@property(readonly) _Bool supportsAttributeKeyPathAnalysis; +- (_Bool)canBeRemotelyEvaluatedWithCapabilities:(id)arg1; +- (id)transform:(id)arg1 relatedElements:(id *)arg2; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (id)initWithComparator:(CDUnknownBlockType)arg1; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementContainingTransformer.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementContainingTransformer.h new file mode 100644 index 00000000..9aa070e7 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementContainingTransformer.h @@ -0,0 +1,35 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSPredicate; + +@interface XCTElementContainingTransformer : XCTElementSetCodableTransformer +{ + NSPredicate *_predicate; +} + ++ (void)provideCapabilitiesToBuilder:(id)arg1; ++ (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property(readonly, copy) NSPredicate *predicate; // @synthesize predicate=_predicate; +- (id)elementTypes; +- (id)iteratorForInput:(id)arg1; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +- (id)requiredKeyPathsOrError:(id *)arg1; +- (_Bool)supportsAttributeKeyPathAnalysis; +- (_Bool)canBeRemotelyEvaluatedWithCapabilities:(id)arg1; +- (id)transform:(id)arg1 relatedElements:(id *)arg2; +- (_Bool)_elementMatches:(id)arg1 relatedElement:(id *)arg2; +- (_Bool)isEqual:(id)arg1; +- (unsigned long long)hash; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (id)initWithPredicate:(id)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementDisclosedChildRowsTransformer.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementDisclosedChildRowsTransformer.h new file mode 100644 index 00000000..256d249c --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementDisclosedChildRowsTransformer.h @@ -0,0 +1,32 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSString; + +@interface XCTElementDisclosedChildRowsTransformer : XCTElementSetCodableTransformer +{ +} + ++ (void)provideCapabilitiesToBuilder:(id)arg1; +- (id)elementTypes; +- (id)requiredKeyPathsOrError:(id *)arg1; +- (_Bool)supportsAttributeKeyPathAnalysis; +- (_Bool)canBeRemotelyEvaluatedWithCapabilities:(id)arg1; +- (id)iteratorForInput:(id)arg1; +- (id)transform:(id)arg1 relatedElements:(id *)arg2; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementFilteringTransformer.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementFilteringTransformer.h new file mode 100644 index 00000000..836576b8 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementFilteringTransformer.h @@ -0,0 +1,36 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSPredicate; + +@interface XCTElementFilteringTransformer : XCTElementSetCodableTransformer +{ + long long _scope; + NSPredicate *_predicate; +} + ++ (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property(readonly, copy) NSPredicate *predicate; // @synthesize predicate=_predicate; +@property(readonly) long long scope; // @synthesize scope=_scope; +- (id)elementTypes; +- (id)iteratorForInput:(id)arg1; +- (id)transform:(id)arg1 relatedElements:(id *)arg2; +- (id)_scopedExpansionOfInput:(id)arg1; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +- (id)requiredKeyPathsOrError:(id *)arg1; +- (_Bool)supportsAttributeKeyPathAnalysis; +- (_Bool)canBeRemotelyEvaluatedWithCapabilities:(id)arg1; +- (_Bool)isEqual:(id)arg1; +- (unsigned long long)hash; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (id)initWithScope:(long long)arg1 predicate:(id)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementIndexingTransformer.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementIndexingTransformer.h new file mode 100644 index 00000000..aa29d0ea --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementIndexingTransformer.h @@ -0,0 +1,35 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class XCTIndexingTransformerIterator; + +@interface XCTElementIndexingTransformer : XCTElementSetCodableTransformer +{ + unsigned long long _elementIndex; + XCTIndexingTransformerIterator *_currentIterator; +} + ++ (void)provideCapabilitiesToBuilder:(id)arg1; ++ (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property(retain) XCTIndexingTransformerIterator *currentIterator; // @synthesize currentIterator=_currentIterator; +@property(readonly) unsigned long long elementIndex; // @synthesize elementIndex=_elementIndex; +- (id)iteratorForInput:(id)arg1; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +- (id)requiredKeyPathsOrError:(id *)arg1; +- (_Bool)supportsAttributeKeyPathAnalysis; +- (_Bool)canBeRemotelyEvaluatedWithCapabilities:(id)arg1; +- (id)transform:(id)arg1 relatedElements:(id *)arg2; +- (_Bool)isEqual:(id)arg1; +- (unsigned long long)hash; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (id)initWithElementIndex:(unsigned long long)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementQuery.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementQuery.h new file mode 100644 index 00000000..d9762739 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementQuery.h @@ -0,0 +1,74 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import +#import + +@class NSArray, NSDictionary, NSSet, NSString, XCAccessibilityElement, XCElementSnapshot, XCTTimeoutControls; +@protocol XCTElementSnapshotAttributeDataSource, XCTElementSnapshotProvider; + +@interface XCTElementQuery : NSObject +{ + _Bool _isMacOS; + _Bool _suppressAttributeKeyPathAnalysis; + _Bool _useLegacyElementType; + XCAccessibilityElement *_rootElement; + unsigned long long _options; + XCTTimeoutControls *_timeoutControls; + id _snapshotProvider; + id _elementSnapshotAttributeDataSource; + XCElementSnapshot *_rootElementSnapshot; + CDUnknownBlockType _evaluationContext; + NSArray *_transformers; +} + ++ (id)_firstMatchTransformerSubarraysFromArray:(id)arg1 trailingMatchAllTransformers:(id *)arg2; ++ (void)provideCapabilitiesToBuilder:(id)arg1; ++ (id)_descriptionForTransformerArray:(id)arg1; ++ (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property _Bool useLegacyElementType; // @synthesize useLegacyElementType=_useLegacyElementType; +@property(readonly, copy) NSArray *transformers; // @synthesize transformers=_transformers; +@property(copy, nonatomic) CDUnknownBlockType evaluationContext; // @synthesize evaluationContext=_evaluationContext; +@property(retain) XCElementSnapshot *rootElementSnapshot; // @synthesize rootElementSnapshot=_rootElementSnapshot; +@property _Bool suppressAttributeKeyPathAnalysis; // @synthesize suppressAttributeKeyPathAnalysis=_suppressAttributeKeyPathAnalysis; +@property __weak id elementSnapshotAttributeDataSource; // @synthesize elementSnapshotAttributeDataSource=_elementSnapshotAttributeDataSource; +@property(retain) id snapshotProvider; // @synthesize snapshotProvider=_snapshotProvider; +@property(retain) XCTTimeoutControls *timeoutControls; // @synthesize timeoutControls=_timeoutControls; +@property(readonly) _Bool isMacOS; // @synthesize isMacOS=_isMacOS; +@property(readonly) unsigned long long options; // @synthesize options=_options; +@property(readonly, copy) XCAccessibilityElement *rootElement; // @synthesize rootElement=_rootElement; +- (id)_allMatchingSnapshotsForInput:(id)arg1 transformers:(id)arg2 relatedElements:(id *)arg3 noMatchesMessage:(id *)arg4 error:(id *)arg5; +- (id)_firstMatchingSnapshotForInput:(id)arg1 transformers:(id)arg2 relatedElements:(id *)arg3 noMatchesMessage:(id *)arg4 error:(id *)arg5; +- (id)_firstMatchingSnapshotForInput:(id)arg1 transformersSubarrays:(id)arg2 relatedElements:(id *)arg3 noMatchesMessage:(id *)arg4 error:(id *)arg5; +- (id)matchingSnapshotsInSnapshotTree:(id)arg1 relatedElements:(id *)arg2 noMatchesMessage:(id *)arg3 error:(id *)arg4; +- (id)matchingSnapshotsWithRelatedElements:(id *)arg1 noMatchesMessage:(id *)arg2 error:(id *)arg3; +- (id)_snapshotForElement:(id)arg1 error:(id *)arg2; +- (id)_rootElementSnapshot:(id *)arg1; +@property(readonly, copy) NSDictionary *snapshotParameters; +@property(readonly, copy) NSArray *snapshotAttributes; +@property(readonly, copy) NSSet *elementTypes; +- (_Bool)hasTransformerWithStopsOnFirstMatch; +@property(readonly) _Bool supportsAttributeKeyPathAnalysis; +- (_Bool)canBeRemotelyEvaluatedWithCapabilities:(id)arg1; +@property(readonly, copy) NSString *description; +- (_Bool)isEqual:(id)arg1; +@property(readonly) unsigned long long hash; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +- (id)initWithRootElement:(id)arg1 transformers:(id)arg2 options:(unsigned long long)arg3 isMacOS:(_Bool)arg4 timeoutControls:(id)arg5; +- (id)initWithRootElement:(id)arg1 transformers:(id)arg2 options:(unsigned long long)arg3 isMacOS:(_Bool)arg4; +- (id)initWithRootElement:(id)arg1 transformers:(id)arg2 options:(unsigned long long)arg3; +- (id)initWithRootElement:(id)arg1 transformers:(id)arg2; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementQueryProcessor.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementQueryProcessor.h new file mode 100644 index 00000000..893a2f87 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementQueryProcessor.h @@ -0,0 +1,25 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class XCTCapabilities; +@protocol XCTElementSnapshotProvider> _dataSource; + XCTCapabilities *_remoteInterfaceCapabilities; +} + +- (void).cxx_destruct; +@property(retain) XCTCapabilities *remoteInterfaceCapabilities; // @synthesize remoteInterfaceCapabilities=_remoteInterfaceCapabilities; +@property(readonly) __weak id dataSource; // @synthesize dataSource=_dataSource; +- (void)fetchMatchesForQuery:(id)arg1 clientCapabilities:(id)arg2 reply:(CDUnknownBlockType)arg3; +- (id)initWithDataSource:(id)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementQueryResults.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementQueryResults.h new file mode 100644 index 00000000..b76f1d56 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementQueryResults.h @@ -0,0 +1,45 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import +#import +#import + +@class NSOrderedSet, NSSet, NSString, XCElementSnapshot; + +@interface XCTElementQueryResults : NSObject +{ + XCElementSnapshot *_rootElement; + NSOrderedSet *_matchingElements; + NSSet *_remoteElements; + NSOrderedSet *_runtimeIssues; + NSString *_noMatchesMessage; +} + ++ (_Bool)supportsSecureCoding; ++ (_Bool)shouldRuntimeIssueContext:(id)arg1 reportIssue:(id)arg2; ++ (void)provideCapabilitiesToBuilder:(id)arg1; +- (void).cxx_destruct; +@property(readonly, copy) NSString *noMatchesMessage; // @synthesize noMatchesMessage=_noMatchesMessage; +@property(readonly, copy) NSOrderedSet *runtimeIssues; // @synthesize runtimeIssues=_runtimeIssues; +@property(readonly, copy) NSSet *remoteElements; // @synthesize remoteElements=_remoteElements; +@property(readonly, copy) NSOrderedSet *matchingElements; // @synthesize matchingElements=_matchingElements; +@property(readonly) XCElementSnapshot *rootElement; // @synthesize rootElement=_rootElement; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +- (id)resultsByReplacingRuntimeIssues:(id)arg1; +- (id)initWithRootElement:(id)arg1 matchingElements:(id)arg2 remoteElements:(id)arg3 runtimeIssues:(id)arg4 noMatchesMessage:(id)arg5; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSetCodableTransformer.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSetCodableTransformer.h new file mode 100644 index 00000000..d943a092 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSetCodableTransformer.h @@ -0,0 +1,44 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import +#import + +@class NSSet, NSString; + +@interface XCTElementSetCodableTransformer : NSObject +{ + _Bool _stopsOnFirstMatch; + NSString *_transformationDescription; +} + ++ (void)provideCapabilitiesToBuilder:(id)arg1; ++ (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property _Bool stopsOnFirstMatch; // @synthesize stopsOnFirstMatch=_stopsOnFirstMatch; +@property(copy) NSString *transformationDescription; // @synthesize transformationDescription=_transformationDescription; +@property(readonly, copy) NSSet *elementTypes; +- (id)requiredKeyPathsOrError:(id *)arg1; +- (id)iteratorForInput:(id)arg1; +- (id)transform:(id)arg1 relatedElements:(id *)arg2; +@property(readonly) _Bool supportsAttributeKeyPathAnalysis; +- (_Bool)canBeRemotelyEvaluatedWithCapabilities:(id)arg1; +- (_Bool)isEqual:(id)arg1; +@property(readonly) unsigned long long hash; +@property(readonly, copy) NSString *description; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +- (id)init; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSetTransformer-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSetTransformer-Protocol.h new file mode 100644 index 00000000..9d931a51 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSetTransformer-Protocol.h @@ -0,0 +1,24 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import +#import +#import + +@class NSOrderedSet, NSSet, NSString, XCElementSnapshot, XCTCapabilities; +@protocol XCTMatchingElementIterator; + +@protocol XCTElementSetTransformer +@property(readonly, copy) NSSet *elementTypes; +@property _Bool stopsOnFirstMatch; +@property(readonly) _Bool supportsAttributeKeyPathAnalysis; +@property(copy) NSString *transformationDescription; +- (NSSet *)requiredKeyPathsOrError:(id *)arg1; +- (_Bool)canBeRemotelyEvaluatedWithCapabilities:(XCTCapabilities *)arg1; +- (id )iteratorForInput:(XCElementSnapshot *)arg1; +- (NSOrderedSet *)transform:(NSOrderedSet *)arg1 relatedElements:(id *)arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSnapshotAttributeDataSource-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSnapshotAttributeDataSource-Protocol.h new file mode 100644 index 00000000..32e450b3 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSnapshotAttributeDataSource-Protocol.h @@ -0,0 +1,21 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, NSDictionary, NSString, XCAccessibilityElement; + +@protocol XCTElementSnapshotAttributeDataSource +@property(readonly) _Bool providesValuesForPrivilegedAttributes; +@property(readonly) _Bool hasBannerNotificationIsStickyAttribute; +@property(readonly) _Bool usePointTransformationsForFrameConversions; +@property(readonly) _Bool supportsHostedViewCoordinateTransformations; +@property(readonly) _Bool allowsRemoteAccess; +- (id)parameterizedAttribute:(NSString *)arg1 forElement:(XCAccessibilityElement *)arg2 parameter:(id)arg3 error:(id *)arg4; +- (NSDictionary *)valuesForPrivilegedAttributes:(NSArray *)arg1 forElement:(XCAccessibilityElement *)arg2 error:(id *)arg3; +- (NSDictionary *)attributesForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 error:(id *)arg3; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSnapshotDescendantsEnumerator.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSnapshotDescendantsEnumerator.h new file mode 100644 index 00000000..c84f9890 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSnapshotDescendantsEnumerator.h @@ -0,0 +1,25 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSMutableArray; + +__attribute__((visibility("hidden"))) +@interface XCTElementSnapshotDescendantsEnumerator : NSEnumerator +{ + NSEnumerator *_innerEnumerator; + NSMutableArray *_unenumeratedDescendantsQueue; +} + +- (void).cxx_destruct; +@property(retain) NSMutableArray *unenumeratedDescendantsQueue; // @synthesize unenumeratedDescendantsQueue=_unenumeratedDescendantsQueue; +@property(retain) NSEnumerator *innerEnumerator; // @synthesize innerEnumerator=_innerEnumerator; +- (id)nextObject; +- (id)initWithElementSnapshot:(id)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSnapshotProvider-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSnapshotProvider-Protocol.h new file mode 100644 index 00000000..61ad2153 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSnapshotProvider-Protocol.h @@ -0,0 +1,14 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, NSDictionary, XCAccessibilityElement, XCElementSnapshot, XCTTimeoutControls; + +@protocol XCTElementSnapshotProvider +- (XCElementSnapshot *)snapshotForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 parameters:(NSDictionary *)arg3 timeoutControls:(XCTTimeoutControls *)arg4 error:(id *)arg5; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSnapshotRequest.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSnapshotRequest.h new file mode 100644 index 00000000..8cd3bbeb --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSnapshotRequest.h @@ -0,0 +1,57 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, NSDictionary, NSError, XCAXCycleDetector, XCAccessibilityElement, XCElementSnapshot, XCTAccessibilitySnapshot_iOS, XCTTimeoutControls; +@protocol NSCopying, OS_dispatch_queue, XCTAccessibilityFramework, XCTMacCatalystStatusProviding; + +@interface XCTElementSnapshotRequest : NSObject +{ + _Bool _preserveRemoteElementPlaceholders; + _Bool _loadResult; + _Bool _hasLoaded; + id _accessibilityFramework; + XCAccessibilityElement *_element; + NSArray *_attributes; + NSDictionary *_parameters; + XCElementSnapshot *_elementSnapshot; + id _accessibilitySnapshot; + XCTTimeoutControls *_timeoutControls; + XCAXCycleDetector *_cycleDetector; + id _macCatalystStatusProvider; + NSObject *_queue; + NSError *_loadError; +} + +- (void).cxx_destruct; +@property(retain) NSError *loadError; // @synthesize loadError=_loadError; +@property _Bool hasLoaded; // @synthesize hasLoaded=_hasLoaded; +@property _Bool loadResult; // @synthesize loadResult=_loadResult; +@property(readonly) NSObject *queue; // @synthesize queue=_queue; +@property _Bool preserveRemoteElementPlaceholders; // @synthesize preserveRemoteElementPlaceholders=_preserveRemoteElementPlaceholders; +@property(retain) id macCatalystStatusProvider; // @synthesize macCatalystStatusProvider=_macCatalystStatusProvider; +@property(retain) XCAXCycleDetector *cycleDetector; // @synthesize cycleDetector=_cycleDetector; +@property(readonly) XCTTimeoutControls *timeoutControls; // @synthesize timeoutControls=_timeoutControls; +@property(copy) id accessibilitySnapshot; // @synthesize accessibilitySnapshot=_accessibilitySnapshot; +@property(retain) XCElementSnapshot *elementSnapshot; // @synthesize elementSnapshot=_elementSnapshot; +@property(copy) NSDictionary *parameters; // @synthesize parameters=_parameters; +@property(readonly) NSArray *attributes; // @synthesize attributes=_attributes; +@property(readonly) XCAccessibilityElement *element; // @synthesize element=_element; +@property(readonly) id accessibilityFramework; // @synthesize accessibilityFramework=_accessibilityFramework; +- (_Bool)loadSnapshotAndReturnError:(id *)arg1; +- (id)initWithAccessibilityFramework:(id)arg1 element:(id)arg2 attributes:(id)arg3 parameters:(id)arg4 timeoutControls:(id)arg5; +- (id)initWithAccessibilityFramework:(id)arg1 element:(id)arg2 attributes:(id)arg3 parameters:(id)arg4; +- (id)elementSnapshotOrError:(id *)arg1; +- (id)accessibilitySnapshotOrError:(id *)arg1; +- (id)safeParametersForParameters:(id)arg1; +- (id)_snapshotFromUserTestingSnapshot:(id)arg1 frameTransformer:(CDUnknownBlockType)arg2 error:(id *)arg3; +- (id)_childrenOfElement:(id)arg1 userTestingSnapshot:(id)arg2 frameTransformer:(CDUnknownBlockType)arg3 outError:(id *)arg4; +- (id)_snapshotFromRemoteElementUserTestingSnapshot:(id)arg1 parentElement:(id)arg2 error:(id *)arg3; +@property(readonly) XCTAccessibilitySnapshot_iOS *accessibilitySnapshot_iOS; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSortingTransformer.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSortingTransformer.h new file mode 100644 index 00000000..5467b96c --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTElementSortingTransformer.h @@ -0,0 +1,40 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSArray, NSString; + +@interface XCTElementSortingTransformer : XCTElementSetCodableTransformer +{ + NSArray *_sortDescriptors; +} + ++ (void)provideCapabilitiesToBuilder:(id)arg1; ++ (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property(readonly, copy) NSArray *sortDescriptors; // @synthesize sortDescriptors=_sortDescriptors; +- (id)iteratorForInput:(id)arg1; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +- (id)requiredKeyPathsOrError:(id *)arg1; +- (_Bool)supportsAttributeKeyPathAnalysis; +- (_Bool)canBeRemotelyEvaluatedWithCapabilities:(id)arg1; +- (id)transform:(id)arg1 relatedElements:(id *)arg2; +- (_Bool)isEqual:(id)arg1; +@property(readonly) unsigned long long hash; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (id)initWithSortDescriptors:(id)arg1; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTFilteringTransformerIterator.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTFilteringTransformerIterator.h new file mode 100644 index 00000000..44480df1 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTFilteringTransformerIterator.h @@ -0,0 +1,24 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSEnumerator, XCTElementFilteringTransformer; + +__attribute__((visibility("hidden"))) +@interface XCTFilteringTransformerIterator : XCTMatchingElementIterator +{ + NSEnumerator *_inputEnumerator; + XCTElementFilteringTransformer *_filteringTransformer; +} + +- (void).cxx_destruct; +@property(readonly) XCTElementFilteringTransformer *filteringTransformer; // @synthesize filteringTransformer=_filteringTransformer; +- (id)nextMatch; +- (id)initWithInput:(id)arg1 filteringTransformer:(id)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTImage.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTImage.h new file mode 100644 index 00000000..80bb01ae --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTImage.h @@ -0,0 +1,38 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import +#import + +@class NSData, UIImage, XCTImageEncoding, XCTImageMetadata; + +@interface XCTImage : NSObject +{ + XCTImageMetadata *_metadata; + NSData *_data; + XCTImageEncoding *_encoding; + UIImage *_platformImage; +} + ++ (_Bool)supportsSecureCoding; ++ (id)emptyImageWithSize:(struct CGSize)arg1; +- (void).cxx_destruct; +@property(retain, nonatomic) UIImage *platformImage; // @synthesize platformImage=_platformImage; +@property(readonly, copy, nonatomic) XCTImageEncoding *encoding; // @synthesize encoding=_encoding; +@property(readonly, nonatomic) NSData *data; // @synthesize data=_data; +@property(readonly, nonatomic) XCTImageMetadata *metadata; // @synthesize metadata=_metadata; +- (id)initWithCoder:(id)arg1; +- (void)encodeWithCoder:(id)arg1; +- (id)debugQuickLookObject; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (id)initWithCGImage:(struct CGImage *)arg1 metadata:(id)arg2 orientation:(unsigned int)arg3; +- (id)initWithData:(id)arg1 encodedIn:(id)arg2 metadata:(id)arg3; +- (id)initWithImage:(id)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTImageConverter.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTImageConverter.h new file mode 100644 index 00000000..40c629bb --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTImageConverter.h @@ -0,0 +1,18 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface XCTImageConverter : NSObject +{ +} + ++ (id)_dataForImage:(id)arg1 encoding:(id)arg2 metadata:(id)arg3; ++ (id)dataFromImage:(id)arg1 enforceEncoding:(id)arg2; ++ (id)convertImageIfNecessary:(id)arg1 usingPreferredEncoding:(id)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTImageEncoding.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTImageEncoding.h new file mode 100644 index 00000000..4f0726ea --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTImageEncoding.h @@ -0,0 +1,33 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSString; + +@interface XCTImageEncoding : NSObject +{ + NSString *_uniformTypeIdentifier; + double _compressionQuality; +} + ++ (_Bool)supportsSecureCoding; ++ (double)maximumCompression; ++ (double)minimumCompression; +- (void).cxx_destruct; +@property(readonly, nonatomic) double compressionQuality; // @synthesize compressionQuality=_compressionQuality; +@property(readonly, copy, nonatomic) NSString *uniformTypeIdentifier; // @synthesize uniformTypeIdentifier=_uniformTypeIdentifier; +- (id)initWithCoder:(id)arg1; +- (void)encodeWithCoder:(id)arg1; +- (id)description; +- (unsigned long long)hash; +- (_Bool)isEqual:(id)arg1; +- (id)initWithUniformTypeIdentifier:(id)arg1 compressionQuality:(double)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTImageMetadata.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTImageMetadata.h new file mode 100644 index 00000000..5cce866d --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTImageMetadata.h @@ -0,0 +1,31 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSString; + +@interface XCTImageMetadata : NSObject +{ + double _scale; + NSString *_name; +} + ++ (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property(copy, nonatomic) NSString *name; // @synthesize name=_name; +@property(readonly, nonatomic) double scale; // @synthesize scale=_scale; +- (unsigned long long)hash; +- (_Bool)isEqual:(id)arg1; +- (id)initWithCoder:(id)arg1; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithScale:(double)arg1 name:(id)arg2; +- (id)initWithScale:(double)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTIndexingTransformerIterator.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTIndexingTransformerIterator.h new file mode 100644 index 00000000..0bab515e --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTIndexingTransformerIterator.h @@ -0,0 +1,45 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSMutableSet, NSSet, NSString, XCElementSnapshot, XCTElementIndexingTransformer; +@protocol XCTElementSetTransformer; + +__attribute__((visibility("hidden"))) +@interface XCTIndexingTransformerIterator : NSObject +{ + _Bool _hasMatched; + XCElementSnapshot *_input; + id _transformer; + XCElementSnapshot *_currentMatch; + XCTElementIndexingTransformer *_indexingTransformer; + unsigned long long _count; + NSMutableSet *_mutableRelatedElements; +} + +- (void).cxx_destruct; +@property(readonly) NSMutableSet *mutableRelatedElements; // @synthesize mutableRelatedElements=_mutableRelatedElements; +@property(readonly) _Bool hasMatched; // @synthesize hasMatched=_hasMatched; +@property unsigned long long count; // @synthesize count=_count; +@property(readonly) XCTElementIndexingTransformer *indexingTransformer; // @synthesize indexingTransformer=_indexingTransformer; +@property(retain) XCElementSnapshot *currentMatch; // @synthesize currentMatch=_currentMatch; +@property(readonly) id transformer; // @synthesize transformer=_transformer; +@property(retain) XCElementSnapshot *input; // @synthesize input=_input; +@property(readonly) NSSet *currentRelatedElements; +- (id)nextMatch; +- (id)initWithInput:(id)arg1 filteringTransformer:(id)arg2; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTLocalizableStringInfo.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTLocalizableStringInfo.h new file mode 100644 index 00000000..3905da6b --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTLocalizableStringInfo.h @@ -0,0 +1,38 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSString; + +@interface XCTLocalizableStringInfo : NSObject +{ + NSString *_bundleID; + NSString *_bundlePath; + NSString *_tableName; + NSString *_stringKey; + struct CGRect _frame; +} + ++ (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property struct CGRect frame; // @synthesize frame=_frame; +@property(readonly, copy) NSString *stringKey; // @synthesize stringKey=_stringKey; +@property(readonly, copy) NSString *tableName; // @synthesize tableName=_tableName; +@property(readonly, copy) NSString *bundlePath; // @synthesize bundlePath=_bundlePath; +@property(readonly, copy) NSString *bundleID; // @synthesize bundleID=_bundleID; +- (id)dictionaryRepresentation; +- (id)description; +- (_Bool)isEqual:(id)arg1; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +- (id)initWithBundleID:(id)arg1 bundlePath:(id)arg2 tableName:(id)arg3 stringKey:(id)arg4 frame:(struct CGRect)arg5; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTLogArchiveCollecting-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTLogArchiveCollecting-Protocol.h new file mode 100644 index 00000000..6c563ab3 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTLogArchiveCollecting-Protocol.h @@ -0,0 +1,14 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSDate, NSString; + +@protocol XCTLogArchiveCollecting +- (void)collectLogArchiveWithStartDate:(NSDate *)arg1 outputPath:(NSString *)arg2 withReply:(void (^)(_Bool, NSError *))arg3; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTLogArchiveRequest.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTLogArchiveRequest.h new file mode 100644 index 00000000..e1525f71 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTLogArchiveRequest.h @@ -0,0 +1,38 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSDate, NSString, NSXPCConnection; + +@interface XCTLogArchiveRequest : NSObject +{ + struct atomic_flag _hasExecuted; + NSDate *_startDate; + NSString *_outputPath; + NSXPCConnection *_connection; +} + ++ (id)logArchiveCollectorConnection; ++ (id)requestWithStartDate:(id)arg1 outputPath:(id)arg2; +- (void).cxx_destruct; +@property(readonly) NSXPCConnection *connection; // @synthesize connection=_connection; +@property(readonly, copy) NSString *outputPath; // @synthesize outputPath=_outputPath; +@property(readonly, copy) NSDate *startDate; // @synthesize startDate=_startDate; +- (void)executeWithCompletion:(CDUnknownBlockType)arg1; +- (id)initWithStartDate:(id)arg1 outputPath:(id)arg2; +- (id)initWithStartDate:(id)arg1 outputPath:(id)arg2 connection:(id)arg3; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTLogArchiveRequesting-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTLogArchiveRequesting-Protocol.h new file mode 100644 index 00000000..09a1774a --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTLogArchiveRequesting-Protocol.h @@ -0,0 +1,17 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSDate, NSString; + +@protocol XCTLogArchiveRequesting ++ (id)requestWithStartDate:(NSDate *)arg1 outputPath:(NSString *)arg2; +@property(readonly, copy) NSString *outputPath; +@property(readonly, copy) NSDate *startDate; +- (void)executeWithCompletion:(void (^)(_Bool, NSError *))arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTMacCatalystStatusProviding-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTMacCatalystStatusProviding-Protocol.h new file mode 100644 index 00000000..5464d661 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTMacCatalystStatusProviding-Protocol.h @@ -0,0 +1,12 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@protocol XCTMacCatalystStatusProviding +- (_Bool)isMacCatalystForPID:(int)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTMainRunLoopIdleNotifier.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTMainRunLoopIdleNotifier.h new file mode 100644 index 00000000..f799c8cf --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTMainRunLoopIdleNotifier.h @@ -0,0 +1,30 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSMutableArray; +@protocol OS_dispatch_queue; + +@interface XCTMainRunLoopIdleNotifier : NSObject +{ + NSObject *_queue; + NSMutableArray *_idleHandlers; + struct __CFRunLoopObserver *_runLoopObserver; +} + +- (void).cxx_destruct; +@property struct __CFRunLoopObserver *runLoopObserver; // @synthesize runLoopObserver=_runLoopObserver; +@property(readonly) NSMutableArray *idleHandlers; // @synthesize idleHandlers=_idleHandlers; +@property(readonly) NSObject *queue; // @synthesize queue=_queue; +- (void)handleIdleObserved; +- (void)_queue_setUpRunLoopObserver; +- (void)notifyWhenIdle:(CDUnknownBlockType)arg1; +- (void)dealloc; +- (id)init; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTMatchingElementIterator-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTMatchingElementIterator-Protocol.h new file mode 100644 index 00000000..29050005 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTMatchingElementIterator-Protocol.h @@ -0,0 +1,18 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSSet, XCElementSnapshot; +@protocol XCTElementSetTransformer; + +@protocol XCTMatchingElementIterator +@property(readonly) id transformer; +@property(readonly) NSSet *currentRelatedElements; +@property(readonly) XCElementSnapshot *currentMatch; +- (XCElementSnapshot *)nextMatch; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTMatchingElementIterator.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTMatchingElementIterator.h new file mode 100644 index 00000000..8ac38107 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTMatchingElementIterator.h @@ -0,0 +1,38 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSEnumerator, NSSet, NSString, XCElementSnapshot; +@protocol XCTElementSetTransformer; + +@interface XCTMatchingElementIterator : NSObject +{ + NSEnumerator *_outputEnumerator; + XCElementSnapshot *_input; + id _transformer; + XCElementSnapshot *_currentMatch; + NSSet *_currentRelatedElements; +} + +- (void).cxx_destruct; +@property(retain) NSSet *currentRelatedElements; // @synthesize currentRelatedElements=_currentRelatedElements; +@property(retain) XCElementSnapshot *currentMatch; // @synthesize currentMatch=_currentMatch; +@property(readonly) id transformer; // @synthesize transformer=_transformer; +@property(readonly) XCElementSnapshot *input; // @synthesize input=_input; +- (id)nextMatch; +- (id)initWithInput:(id)arg1 transformer:(id)arg2; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTMessagingChannel_RunnerToUIProcess-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTMessagingChannel_RunnerToUIProcess-Protocol.h new file mode 100644 index 00000000..89d3c8a3 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTMessagingChannel_RunnerToUIProcess-Protocol.h @@ -0,0 +1,15 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import +#import + +@protocol XCTMessagingChannel_RunnerToUIProcess + +@optional +- (void)__dummy_method_to_work_around_68987191; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTMessagingRole_UIAutomationProcess-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTMessagingRole_UIAutomationProcess-Protocol.h new file mode 100644 index 00000000..f5e8d93b --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTMessagingRole_UIAutomationProcess-Protocol.h @@ -0,0 +1,20 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, XCAccessibilityElement, XCTCapabilities, XCTElementQuery, XCTSerializedTransportWrapper2; + +@protocol XCTMessagingRole_UIAutomationProcess +- (void)listenForRemoteConnectionViaSerializedTransportWrapper:(XCTSerializedTransportWrapper2 *)arg1 completion:(void (^)(void))arg2; +- (void)notifyWhenAnimationsAreIdle:(void (^)(NSError *))arg1; +- (void)notifyWhenMainRunLoopIsIdle:(void (^)(NSError *))arg1; +- (void)attributesForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 reply:(void (^)(NSDictionary *, NSError *))arg3; +- (void)fetchMatchesForQuery:(XCTElementQuery *)arg1 reply:(void (^)(XCTElementQueryResults *, NSError *))arg2; +- (void)exchangeCapabilities:(XCTCapabilities *)arg1 reply:(void (^)(XCTCapabilities *))arg2; +- (void)requestHostAppExecutableNameWithReply:(void (^)(NSString *))arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTRemoteApplicationAutomationClient-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTRemoteApplicationAutomationClient-Protocol.h new file mode 100644 index 00000000..99783da8 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTRemoteApplicationAutomationClient-Protocol.h @@ -0,0 +1,9 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@protocol XCTRemoteApplicationAutomationClient +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTRemoteApplicationAutomationTarget-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTRemoteApplicationAutomationTarget-Protocol.h new file mode 100644 index 00000000..4db3311a --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTRemoteApplicationAutomationTarget-Protocol.h @@ -0,0 +1,16 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSArray, XCAccessibilityElement, XCTCapabilities, XCTElementQuery; + +@protocol XCTRemoteApplicationAutomationTarget +- (id)_XCT_notifyWhenAnimationsAreIdle; +- (id)_XCT_notifyWhenMainRunLoopIsIdle; +- (id)_XCT_attributesForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2; +- (id)_XCT_fetchMatchesForQuery:(XCTElementQuery *)arg1; +- (id)_XCT_exchangeCapabilities:(XCTCapabilities *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTRuntimeIssue-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTRuntimeIssue-Protocol.h new file mode 100644 index 00000000..6cfa6ab2 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTRuntimeIssue-Protocol.h @@ -0,0 +1,20 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import +#import + +@class NSString; +@protocol XCTRuntimeIssue; + +@protocol XCTRuntimeIssue ++ (NSString *)capability; +@property(readonly) unsigned long long aggregationHash; +@property(readonly) NSString *detailedDescription; +@property(readonly) NSString *shortDescription; +- (_Bool)isEqualForAggregationWith:(id )arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTRuntimeIssueContext.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTRuntimeIssueContext.h new file mode 100644 index 00000000..4a59122a --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTRuntimeIssueContext.h @@ -0,0 +1,33 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSMutableOrderedSet, NSOrderedSet, XCTCapabilities; + +@interface XCTRuntimeIssueContext : NSObject +{ + XCTCapabilities *_capabilities; + Class _reportingDelegate; + NSMutableOrderedSet *_mutableRuntimeIssues; +} + ++ (id)aggregationOfRuntimeIssues:(id)arg1; ++ (void)reportRuntimeIssues:(id)arg1; ++ (void)reportRuntimeIssue:(id)arg1; ++ (void)captureIssuesWithContext:(id)arg1 inScope:(CDUnknownBlockType)arg2; ++ (id)currentContext; +- (void).cxx_destruct; +@property(retain) NSMutableOrderedSet *mutableRuntimeIssues; // @synthesize mutableRuntimeIssues=_mutableRuntimeIssues; +@property(readonly) __weak Class reportingDelegate; // @synthesize reportingDelegate=_reportingDelegate; +@property(readonly, copy) XCTCapabilities *capabilities; // @synthesize capabilities=_capabilities; +@property(readonly, copy) NSOrderedSet *runtimeIssues; +- (void)reportRuntimeIssue:(id)arg1; +- (id)init; +- (id)initWithCapabilities:(id)arg1 reportingDelegate:(Class)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTRuntimeIssueContextReportingDelegate-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTRuntimeIssueContextReportingDelegate-Protocol.h new file mode 100644 index 00000000..3c915986 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTRuntimeIssueContextReportingDelegate-Protocol.h @@ -0,0 +1,15 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class XCTRuntimeIssueContext; +@protocol XCTRuntimeIssue; + +@protocol XCTRuntimeIssueContextReportingDelegate ++ (_Bool)shouldRuntimeIssueContext:(XCTRuntimeIssueContext *)arg1 reportIssue:(id )arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTScreenshotRequest.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTScreenshotRequest.h new file mode 100644 index 00000000..cbd797e7 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTScreenshotRequest.h @@ -0,0 +1,30 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class XCTImageEncoding; + +@interface XCTScreenshotRequest : NSObject +{ + unsigned int _screenID; + XCTImageEncoding *_encoding; + struct CGRect _rect; +} + ++ (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property(readonly) XCTImageEncoding *encoding; // @synthesize encoding=_encoding; +@property(readonly) struct CGRect rect; // @synthesize rect=_rect; +@property(readonly) unsigned int screenID; // @synthesize screenID=_screenID; +- (id)initWithCoder:(id)arg1; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithScreenID:(unsigned int)arg1 rect:(struct CGRect)arg2 encoding:(id)arg3; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTSerializedTransportWrapper2.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTSerializedTransportWrapper2.h new file mode 100644 index 00000000..1b4d827a --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTSerializedTransportWrapper2.h @@ -0,0 +1,26 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@protocol OS_xpc_object; + +@interface XCTSerializedTransportWrapper2 : NSObject +{ + NSObject *_serializedTransport; +} + ++ (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property(readonly) NSObject *serializedTransport; // @synthesize serializedTransport=_serializedTransport; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +- (id)initWithSerializedTransport:(id)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTSpindumpRequestSpecification.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTSpindumpRequestSpecification.h new file mode 100644 index 00000000..3c82ac3e --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTSpindumpRequestSpecification.h @@ -0,0 +1,41 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSString; + +@interface XCTSpindumpRequestSpecification : NSObject +{ + int _processID; + unsigned long long _durationMilliseconds; + unsigned long long _intervalMicroseconds; + unsigned long long _spindumpFlags; + NSString *_reason; + NSString *_signature; + NSString *_filename; +} + ++ (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property(readonly) NSString *filename; // @synthesize filename=_filename; +@property(readonly) NSString *signature; // @synthesize signature=_signature; +@property(readonly) NSString *reason; // @synthesize reason=_reason; +@property(readonly) unsigned long long spindumpFlags; // @synthesize spindumpFlags=_spindumpFlags; +@property(readonly) unsigned long long intervalMicroseconds; // @synthesize intervalMicroseconds=_intervalMicroseconds; +@property(readonly) unsigned long long durationMilliseconds; // @synthesize durationMilliseconds=_durationMilliseconds; +@property(readonly) int processID; // @synthesize processID=_processID; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +- (id)description; +- (id)init; +- (id)initWithProcessID:(int)arg1; +- (id)initWithProcessID:(int)arg1 durationMilliseconds:(unsigned long long)arg2 intervalMicroseconds:(unsigned long long)arg3 spindumpFlags:(unsigned long long)arg4 reason:(id)arg5 signature:(id)arg6 filename:(id)arg7; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCTTimeoutControls.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTTimeoutControls.h new file mode 100644 index 00000000..3015c13c --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCTTimeoutControls.h @@ -0,0 +1,29 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@interface XCTTimeoutControls : NSObject +{ + double _mainThreadResponsivenessTimeout; + double _queryExecutionTimeout; +} + ++ (_Bool)supportsSecureCoding; ++ (id)standardTimeoutControls; ++ (double)defaultQueryExecutionTimeout; ++ (void)setDefaultQueryExecutionTimeout:(double)arg1; ++ (double)defaultMainThreadResponsivenessTimeout; ++ (void)setDefaultMainThreadResponsivenessTimeout:(double)arg1; +@property double queryExecutionTimeout; // @synthesize queryExecutionTimeout=_queryExecutionTimeout; +@property double mainThreadResponsivenessTimeout; // @synthesize mainThreadResponsivenessTimeout=_mainThreadResponsivenessTimeout; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/XCUIElementSnapshotRequestResult.h b/bp/src/PrivateHeaders/XCTAutomationSupport/XCUIElementSnapshotRequestResult.h new file mode 100644 index 00000000..c3a2f883 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/XCUIElementSnapshotRequestResult.h @@ -0,0 +1,38 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import +#import +#import + +@class NSOrderedSet, NSString, XCElementSnapshot; + +@interface XCUIElementSnapshotRequestResult : NSObject +{ + XCElementSnapshot *_rootElementSnapshot; + NSOrderedSet *_runtimeIssues; +} + ++ (_Bool)supportsSecureCoding; ++ (_Bool)shouldRuntimeIssueContext:(id)arg1 reportIssue:(id)arg2; ++ (void)provideCapabilitiesToBuilder:(id)arg1; +- (void).cxx_destruct; +@property(readonly, copy) NSOrderedSet *runtimeIssues; // @synthesize runtimeIssues=_runtimeIssues; +@property(readonly) XCElementSnapshot *rootElementSnapshot; // @synthesize rootElementSnapshot=_rootElementSnapshot; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +- (id)initWithRootElementSnapshot:(id)arg1 runtimeIssues:(id)arg2; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTAutomationSupport/_XCTMessaging_VoidProtocol-Protocol.h b/bp/src/PrivateHeaders/XCTAutomationSupport/_XCTMessaging_VoidProtocol-Protocol.h new file mode 100644 index 00000000..1d0c8f78 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTAutomationSupport/_XCTMessaging_VoidProtocol-Protocol.h @@ -0,0 +1,9 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@protocol _XCTMessaging_VoidProtocol +@end + diff --git a/bp/src/PrivateHeaders/XCTest/CDStructures.h b/bp/src/PrivateHeaders/XCTest/CDStructures.h index fdee52ae..2ca5c9aa 100644 --- a/bp/src/PrivateHeaders/XCTest/CDStructures.h +++ b/bp/src/PrivateHeaders/XCTest/CDStructures.h @@ -1,7 +1,7 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // #pragma mark Blocks @@ -16,13 +16,13 @@ struct CGPoint { }; struct CGRect { - struct CGPoint _field1; - struct CGSize _field2; + struct CGPoint origin; + struct CGSize size; }; struct CGSize { - double _field1; - double _field2; + double width; + double height; }; struct CGVector { @@ -31,13 +31,13 @@ struct CGVector { }; struct _CSTypeRef { - unsigned long long _field1; - unsigned long long _field2; + unsigned long long _opaque_1; + unsigned long long _opaque_2; }; struct _NSRange { - unsigned long long location; - unsigned long long length; + unsigned long long _field1; + unsigned long long _field2; }; struct __va_list_tag { @@ -47,6 +47,10 @@ struct __va_list_tag { void *_field4; }; +struct atomic_flag { + _Atomic _Bool _Value; +}; + struct time_value { int seconds; int microseconds; @@ -55,18 +59,26 @@ struct time_value { #pragma mark Typedef'd Structures typedef struct { - unsigned int _field1; - unsigned int _field2; - unsigned int _field3; - unsigned int _field4; - unsigned int _field5; - unsigned int _field6; - unsigned int _field7; -} CDStruct_a561fd19; + unsigned long long _field1; + id *_field2; + unsigned long long *_field3; + unsigned long long _field4[5]; +} CDStruct_70511ce9; + +typedef struct { + CDUnknownFunctionPointerType symbolicatorCreateWithTask; + CDUnknownFunctionPointerType symbolicatorGetSymbolOwnerWithAddressAtTime; + CDUnknownFunctionPointerType symbolOwnerGetName; + CDUnknownFunctionPointerType symbolOwnerGetSymbolWithAddress; + CDUnknownFunctionPointerType symbolOwnerGetSourceInfoWithAddress; + CDUnknownFunctionPointerType symbolGetName; + CDUnknownFunctionPointerType sourceInfoGetPath; + CDUnknownFunctionPointerType sourceInfoGetLineNumber; +} CDStruct_7da0dd4a; typedef struct { - unsigned short _field1; - unsigned short _field2; - unsigned short _field3[1]; -} CDStruct_27a325c0; + long long _field1; + long long _field2; + long long _field3; +} CDStruct_2ec95fd7; diff --git a/bp/src/PrivateHeaders/XCTest/DTXConnection-XCTestAdditions.h b/bp/src/PrivateHeaders/XCTest/DTXConnection-XCTestAdditions.h new file mode 100644 index 00000000..4f15423b --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/DTXConnection-XCTestAdditions.h @@ -0,0 +1,13 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface DTXConnection (XCTestAdditions) +- (id)xct_makeProxyChannelWithRemoteInterface:(id)arg1 exportedInterface:(id)arg2; +- (void)xct_handleProxyRequestForInterface:(id)arg1 peerInterface:(id)arg2 handler:(id)arg3; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/DTXProxyChannel-XCTestAdditions.h b/bp/src/PrivateHeaders/XCTest/DTXProxyChannel-XCTestAdditions.h new file mode 100644 index 00000000..b6260be4 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/DTXProxyChannel-XCTestAdditions.h @@ -0,0 +1,12 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface DTXProxyChannel (XCTestAdditions) +- (void)xct_setAllowedClassesForTestingProtocols; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/MXMInstrumental-Protocol.h b/bp/src/PrivateHeaders/XCTest/MXMInstrumental-Protocol.h new file mode 100644 index 00000000..4f605ba9 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/MXMInstrumental-Protocol.h @@ -0,0 +1,23 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSDate, NSDictionary; + +@protocol MXMInstrumental +- (_Bool)harvestData:(id *)arg1 error:(id *)arg2; + +@optional +- (void)didStopAtContinuousTime:(unsigned long long)arg1 absoluteTime:(unsigned long long)arg2 stopDate:(NSDate *)arg3; +- (void)didStartAtContinuousTime:(unsigned long long)arg1 absoluteTime:(unsigned long long)arg2 startDate:(NSDate *)arg3; +- (void)didStopAtTime:(unsigned long long)arg1 stopDate:(NSDate *)arg2; +- (void)willStop; +- (void)didStartAtTime:(unsigned long long)arg1 startDate:(NSDate *)arg2; +- (void)willStartAtEstimatedTime:(unsigned long long)arg1; +- (_Bool)prepareWithOptions:(NSDictionary *)arg1 error:(id *)arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/NSArray-XCTestAdditions.h b/bp/src/PrivateHeaders/XCTest/NSArray-XCTestAdditions.h new file mode 100644 index 00000000..4a0681e5 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/NSArray-XCTestAdditions.h @@ -0,0 +1,13 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface NSArray (XCTestAdditions) +- (id)xct_arrayByApplyingBlock:(CDUnknownBlockType)arg1; +- (id)xct_objectsPassingTest:(CDUnknownBlockType)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/NSBundle-XCTestAdditions.h b/bp/src/PrivateHeaders/XCTest/NSBundle-XCTestAdditions.h index 24f8acd5..841d0a23 100644 --- a/bp/src/PrivateHeaders/XCTest/NSBundle-XCTestAdditions.h +++ b/bp/src/PrivateHeaders/XCTest/NSBundle-XCTestAdditions.h @@ -1,13 +1,15 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSBundle.h" +#import + +@class NSString; @interface NSBundle (XCTestAdditions) -- (void)xct_logLinkedBundleInfo; +@property(readonly, copy) NSString *xct_bundleLinkageInfo; - (id)xct_frameworkBundleVersion; @end diff --git a/bp/src/PrivateHeaders/XCTest/NSCoding-Protocol.h b/bp/src/PrivateHeaders/XCTest/NSCoding-Protocol.h index fa8a3802..178f0b5c 100644 --- a/bp/src/PrivateHeaders/XCTest/NSCoding-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/NSCoding-Protocol.h @@ -1,7 +1,7 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // @class NSCoder; diff --git a/bp/src/PrivateHeaders/XCTest/NSCopying-Protocol.h b/bp/src/PrivateHeaders/XCTest/NSCopying-Protocol.h index 10a8b7b5..1ce18423 100644 --- a/bp/src/PrivateHeaders/XCTest/NSCopying-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/NSCopying-Protocol.h @@ -1,7 +1,7 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // @protocol NSCopying diff --git a/bp/src/PrivateHeaders/XCTest/NSError-XCTFuture.h b/bp/src/PrivateHeaders/XCTest/NSError-XCTFuture.h new file mode 100644 index 00000000..29874c11 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/NSError-XCTFuture.h @@ -0,0 +1,21 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface NSError (XCTFuture) ++ (id)_xcui_errorWithDomain:(id)arg1 code:(long long)arg2 userInfo:(id)arg3 description:(id)arg4 arguments:(struct __va_list_tag [1])arg5; ++ (id)_xcui_errorWithDomain:(id)arg1 code:(long long)arg2 description:(id)arg3; ++ (id)_xcui_error:(long long)arg1 userInfo:(id)arg2 description:(id)arg3; ++ (id)_xcui_error:(long long)arg1 description:(id)arg2; +@property(readonly) _Bool xct_isFutureTimeout; +@property(readonly) _Bool xct_isFutureCancelation; +@property(readonly) _Bool xcui_isRemoteElementSnapshotError; +@property(readonly) _Bool xcui_isApplicationNotRunningError; +- (_Bool)xcui_isUITestingError:(long long)arg1; +@property(readonly) _Bool xct_shouldBeRecordedAsTestFailure; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/NSError-XCUITestingErrors.h b/bp/src/PrivateHeaders/XCTest/NSError-XCUITestingErrors.h deleted file mode 100644 index 9d410175..00000000 --- a/bp/src/PrivateHeaders/XCTest/NSError-XCUITestingErrors.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSError.h" - -@interface NSError (XCUITestingErrors) -+ (id)_xcui_error:(long long)arg1 description:(id)arg2 userInfo:(id)arg3; -+ (id)_xcui_error:(long long)arg1 description:(id)arg2; -@end - diff --git a/bp/src/PrivateHeaders/XCTest/NSException-XCTestAdditions.h b/bp/src/PrivateHeaders/XCTest/NSException-XCTestAdditions.h index c9bd4113..19ac8770 100644 --- a/bp/src/PrivateHeaders/XCTest/NSException-XCTestAdditions.h +++ b/bp/src/PrivateHeaders/XCTest/NSException-XCTestAdditions.h @@ -1,12 +1,14 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSException.h" +#import + +@class NSString; @interface NSException (XCTestAdditions) -- (id)xct_formattedDescription; +@property(readonly, copy) NSString *xct_formattedDescription; @end diff --git a/bp/src/PrivateHeaders/XCTest/NSFastEnumeration-Protocol.h b/bp/src/PrivateHeaders/XCTest/NSFastEnumeration-Protocol.h new file mode 100644 index 00000000..dd6c6224 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/NSFastEnumeration-Protocol.h @@ -0,0 +1,10 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@protocol NSFastEnumeration +- (unsigned long long)countByEnumeratingWithState:(CDStruct_70511ce9 *)arg1 objects:(id *)arg2 count:(unsigned long long)arg3; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/NSKeyedArchiver-XCTestAdditions.h b/bp/src/PrivateHeaders/XCTest/NSKeyedArchiver-XCTestAdditions.h new file mode 100644 index 00000000..813eaabf --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/NSKeyedArchiver-XCTestAdditions.h @@ -0,0 +1,12 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface NSKeyedArchiver (XCTestAdditions) ++ (id)xct_archivedDataWithRootObject:(id)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/NSKeyedUnarchiver-XCTestAdditions.h b/bp/src/PrivateHeaders/XCTest/NSKeyedUnarchiver-XCTestAdditions.h new file mode 100644 index 00000000..57cc0de0 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/NSKeyedUnarchiver-XCTestAdditions.h @@ -0,0 +1,13 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface NSKeyedUnarchiver (XCTestAdditions) ++ (id)xct_unarchivedObjectOfClasses:(id)arg1 fromData:(id)arg2; ++ (id)xct_unarchivedObjectOfClass:(Class)arg1 fromData:(id)arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/NSMutableArray-XCTestAdditions.h b/bp/src/PrivateHeaders/XCTest/NSMutableArray-XCTestAdditions.h new file mode 100644 index 00000000..d41ee182 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/NSMutableArray-XCTestAdditions.h @@ -0,0 +1,13 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface NSMutableArray (XCTestAdditions) +- (void)xct_shuffleWithRandomNumberGenerator:(CDUnknownBlockType)arg1; +- (void)xct_shuffle; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/NSMutableCopying-Protocol.h b/bp/src/PrivateHeaders/XCTest/NSMutableCopying-Protocol.h new file mode 100644 index 00000000..79274d99 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/NSMutableCopying-Protocol.h @@ -0,0 +1,10 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@protocol NSMutableCopying +- (id)mutableCopyWithZone:(struct _NSZone *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/NSObject-ClassDescription_Extras.h b/bp/src/PrivateHeaders/XCTest/NSObject-ClassDescription_Extras.h deleted file mode 100644 index 73ab7f70..00000000 --- a/bp/src/PrivateHeaders/XCTest/NSObject-ClassDescription_Extras.h +++ /dev/null @@ -1,12 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@interface NSObject (ClassDescription_Extras) -- (id)className; -@end - diff --git a/bp/src/PrivateHeaders/XCTest/NSObject-Protocol.h b/bp/src/PrivateHeaders/XCTest/NSObject-Protocol.h index 89253425..686450aa 100644 --- a/bp/src/PrivateHeaders/XCTest/NSObject-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/NSObject-Protocol.h @@ -1,7 +1,7 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // @class NSString, Protocol; diff --git a/bp/src/PrivateHeaders/XCTest/NSSecureCoding-Protocol.h b/bp/src/PrivateHeaders/XCTest/NSSecureCoding-Protocol.h index cc5a4681..faa8c712 100644 --- a/bp/src/PrivateHeaders/XCTest/NSSecureCoding-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/NSSecureCoding-Protocol.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSCoding.h" +#import @protocol NSSecureCoding + (_Bool)supportsSecureCoding; diff --git a/bp/src/PrivateHeaders/XCTest/NSSet-XCTestAdditions.h b/bp/src/PrivateHeaders/XCTest/NSSet-XCTestAdditions.h new file mode 100644 index 00000000..e99e1ada --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/NSSet-XCTestAdditions.h @@ -0,0 +1,12 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface NSSet (XCTestAdditions) +- (id)xct_setByApplyingBlock:(CDUnknownBlockType)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/NSString-XCTAdditions.h b/bp/src/PrivateHeaders/XCTest/NSString-XCTAdditions.h index 3bba41e8..e67cd541 100644 --- a/bp/src/PrivateHeaders/XCTest/NSString-XCTAdditions.h +++ b/bp/src/PrivateHeaders/XCTest/NSString-XCTAdditions.h @@ -1,12 +1,13 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSString.h" +#import @interface NSString (XCTAdditions) +- (id)xct_realPath; - (id)xct_quotedSwiftStringRepresentation; @end diff --git a/bp/src/PrivateHeaders/XCTest/NSThread-XCTestAdditions.h b/bp/src/PrivateHeaders/XCTest/NSThread-XCTestAdditions.h new file mode 100644 index 00000000..39221455 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/NSThread-XCTestAdditions.h @@ -0,0 +1,15 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSMutableArray; + +@interface NSThread (XCTestAdditions) ++ (unsigned long long)xct_currentThreadId; +@property(readonly) NSMutableArray *xct_contextStack; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/NSValue-XCTestAdditions.h b/bp/src/PrivateHeaders/XCTest/NSValue-XCTestAdditions.h index 5d532754..1c57850a 100644 --- a/bp/src/PrivateHeaders/XCTest/NSValue-XCTestAdditions.h +++ b/bp/src/PrivateHeaders/XCTest/NSValue-XCTestAdditions.h @@ -1,12 +1,14 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSValue.h" +#import @interface NSValue (XCTestAdditions) ++ (id)xct_valueWithCGRect:(struct CGRect)arg1; +@property(readonly) struct CGRect xct_CGRectValue; - (id)xct_contentDescription; @end diff --git a/bp/src/PrivateHeaders/XCTest/UIGestureRecognizer-RecordingAdditions.h b/bp/src/PrivateHeaders/XCTest/UIGestureRecognizer-RecordingAdditions.h deleted file mode 100644 index 52ab2121..00000000 --- a/bp/src/PrivateHeaders/XCTest/UIGestureRecognizer-RecordingAdditions.h +++ /dev/null @@ -1,12 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "UIGestureRecognizer.h" - -@interface UIGestureRecognizer (RecordingAdditions) -- (id)_automationName; -@end - diff --git a/bp/src/PrivateHeaders/XCTest/UILongPressGestureRecognizer-RecordingAdditions.h b/bp/src/PrivateHeaders/XCTest/UILongPressGestureRecognizer-RecordingAdditions.h deleted file mode 100644 index de528e01..00000000 --- a/bp/src/PrivateHeaders/XCTest/UILongPressGestureRecognizer-RecordingAdditions.h +++ /dev/null @@ -1,12 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "UILongPressGestureRecognizer.h" - -@interface UILongPressGestureRecognizer (RecordingAdditions) -- (id)_automationName; -@end - diff --git a/bp/src/PrivateHeaders/XCTest/UIPanGestureRecognizer-RecordingAdditions.h b/bp/src/PrivateHeaders/XCTest/UIPanGestureRecognizer-RecordingAdditions.h deleted file mode 100644 index e3b6b310..00000000 --- a/bp/src/PrivateHeaders/XCTest/UIPanGestureRecognizer-RecordingAdditions.h +++ /dev/null @@ -1,12 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "UIPanGestureRecognizer.h" - -@interface UIPanGestureRecognizer (RecordingAdditions) -- (id)_automationName; -@end - diff --git a/bp/src/PrivateHeaders/XCTest/UIPinchGestureRecognizer-RecordingAdditions.h b/bp/src/PrivateHeaders/XCTest/UIPinchGestureRecognizer-RecordingAdditions.h deleted file mode 100644 index d21ff373..00000000 --- a/bp/src/PrivateHeaders/XCTest/UIPinchGestureRecognizer-RecordingAdditions.h +++ /dev/null @@ -1,12 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "UIPinchGestureRecognizer.h" - -@interface UIPinchGestureRecognizer (RecordingAdditions) -- (id)_automationName; -@end - diff --git a/bp/src/PrivateHeaders/XCTest/UISwipeGestureRecognizer-RecordingAdditions.h b/bp/src/PrivateHeaders/XCTest/UISwipeGestureRecognizer-RecordingAdditions.h deleted file mode 100644 index 49a8cec6..00000000 --- a/bp/src/PrivateHeaders/XCTest/UISwipeGestureRecognizer-RecordingAdditions.h +++ /dev/null @@ -1,12 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "UISwipeGestureRecognizer.h" - -@interface UISwipeGestureRecognizer (RecordingAdditions) -- (id)_automationName; -@end - diff --git a/bp/src/PrivateHeaders/XCTest/UITapGestureRecognizer-RecordingAdditions.h b/bp/src/PrivateHeaders/XCTest/UITapGestureRecognizer-RecordingAdditions.h deleted file mode 100644 index be1ca811..00000000 --- a/bp/src/PrivateHeaders/XCTest/UITapGestureRecognizer-RecordingAdditions.h +++ /dev/null @@ -1,12 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "UITapGestureRecognizer.h" - -@interface UITapGestureRecognizer (RecordingAdditions) -- (id)_automationName; -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCAXClient_iOS.h b/bp/src/PrivateHeaders/XCTest/XCAXClient_iOS.h index 58f2b361..e332e5d9 100644 --- a/bp/src/PrivateHeaders/XCTest/XCAXClient_iOS.h +++ b/bp/src/PrivateHeaders/XCTest/XCAXClient_iOS.h @@ -1,56 +1,81 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "XCTAXClient.h" -#import "XCTElementSnapshotAttributeDataSource.h" -#import "XCTElementSnapshotProvider.h" +#import -@class NSMutableDictionary, NSString; +@class NSMutableDictionary, NSString, XCAccessibilityElement; +@protocol OS_dispatch_queue, XCUIApplicationProcessTracker, XCUIDevice, XCUIRemoteAccessibilityInterface; -@interface XCAXClient_iOS : NSObject +@interface XCAXClient_iOS : NSObject { + id _applicationProcessTracker; + id _remoteAccessibilityInterface; + id _device; + NSObject *_queue; NSMutableDictionary *_userTestingNotificationHandlers; - NSMutableDictionary *_cacheAccessibilityLoadedValuesForPIDs; - unsigned long long _alertNotificationCounter; + NSMutableDictionary *_oneShotUserTestingNotificationHandlers; + NSMutableDictionary *_cachedAccessibilityLoadedValuesForPIDs; } -+ (id)sharedClient; -@property unsigned long long alertNotificationCounter; // @synthesize alertNotificationCounter=_alertNotificationCounter; -@property(retain) NSMutableDictionary *cacheAccessibilityLoadedValuesForPIDs; // @synthesize cacheAccessibilityLoadedValuesForPIDs=_cacheAccessibilityLoadedValuesForPIDs; -@property(retain) NSMutableDictionary *userTestingNotificationHandlers; // @synthesize userTestingNotificationHandlers=_userTestingNotificationHandlers; +- (void).cxx_destruct; +@property(readonly) NSMutableDictionary *cachedAccessibilityLoadedValuesForPIDs; // @synthesize cachedAccessibilityLoadedValuesForPIDs=_cachedAccessibilityLoadedValuesForPIDs; +@property(readonly) NSMutableDictionary *oneShotUserTestingNotificationHandlers; // @synthesize oneShotUserTestingNotificationHandlers=_oneShotUserTestingNotificationHandlers; +@property(readonly) NSMutableDictionary *userTestingNotificationHandlers; // @synthesize userTestingNotificationHandlers=_userTestingNotificationHandlers; +@property(retain) NSObject *queue; // @synthesize queue=_queue; +@property(readonly) __weak id device; // @synthesize device=_device; +@property(readonly) id remoteAccessibilityInterface; // @synthesize remoteAccessibilityInterface=_remoteAccessibilityInterface; +@property(readonly) id applicationProcessTracker; // @synthesize applicationProcessTracker=_applicationProcessTracker; +- (id)accessibilityElementForElementAtPoint:(struct CGPoint)arg1 error:(id *)arg2; +- (void)performWhenMenuOpens:(id)arg1 block:(CDUnknownBlockType)arg2; +- (void)removeObserver:(id)arg1 forAXNotification:(id)arg2; +- (id)addObserverForAXNotification:(id)arg1 handler:(CDUnknownBlockType)arg2; +- (void)unregisterForAXNotificationsForApplicationWithPID:(int)arg1; +- (void)registerForAXNotificationsForApplicationWithPID:(int)arg1 timeout:(double)arg2 completion:(CDUnknownBlockType)arg3; @property double AXTimeout; - (_Bool)_setAXTimeout:(double)arg1 error:(id *)arg2; -- (_Bool)performAction:(int)arg1 onElement:(id)arg2 value:(id)arg3 error:(id *)arg4; -- (id)parameterizedAttributeForElement:(id)arg1 attribute:(id)arg2 parameter:(id)arg3; +- (id)localizableStringsDataForActiveApplications; +- (_Bool)performAction:(id)arg1 onElement:(id)arg2 value:(id)arg3 error:(id *)arg4; +- (id)parameterizedAttribute:(id)arg1 forElement:(id)arg2 parameter:(id)arg3 error:(id *)arg4; - (_Bool)setAttribute:(id)arg1 value:(id)arg2 element:(id)arg3 outError:(id *)arg4; +@property(readonly) _Bool allowsRemoteAccess; +- (id)valuesForPrivilegedAttributes:(id)arg1 forElement:(id)arg2 error:(id *)arg3; +@property(readonly) _Bool providesValuesForPrivilegedAttributes; - (id)attributesForElement:(id)arg1 attributes:(id)arg2 error:(id *)arg3; -- (id)attributesForElement:(id)arg1 attributes:(id)arg2; -- (id)attributesForElementSnapshot:(id)arg1 attributeList:(id)arg2; -- (id)snapshotForElement:(id)arg1 attributes:(id)arg2 parameters:(id)arg3 error:(id *)arg4; +- (id)requestSnapshotForElement:(id)arg1 attributes:(id)arg2 parameters:(id)arg3 error:(id *)arg4; - (id)defaultParameters; - (void)notifyWhenViewControllerViewDidDisappearReply:(CDUnknownBlockType)arg1; -- (void)notifyWhenViewControllerViewDidAppearReply:(CDUnknownBlockType)arg1; +- (id)viewDidAppearExpectationForElement:(id)arg1 viewControllerName:(id)arg2; - (void)notifyWhenNoAnimationsAreActiveForApplication:(id)arg1 reply:(CDUnknownBlockType)arg2; +@property(readonly) _Bool supportsAnimationsInactiveNotifications; - (void)notifyWhenEventLoopIsIdleForApplication:(id)arg1 reply:(CDUnknownBlockType)arg2; -- (id)interruptingUIElementAffectingSnapshot:(id)arg1; -- (void)handleAccessibilityNotification:(int)arg1 withPayload:(id)arg2; +- (id)_snapshotsForInterruptingElementsPresentedByApplication:(id)arg1; +- (id)_hittableElementsInSnapshots:(id)arg1; +- (id)_activeForegroundApplicationsWithPotentiallyInterruptingUI; +- (id)interruptingUIElementsAffectingSnapshot:(id)arg1 checkForHandledElement:(id)arg2 containsHandledElement:(_Bool *)arg3; +- (_Bool)isMacCatalystForPID:(int)arg1; +@property(readonly) _Bool hasBannerNotificationIsStickyAttribute; +@property(readonly) _Bool usePointTransformationsForFrameConversions; +@property(readonly) _Bool supportsHostedViewCoordinateTransformations; +@property(readonly) _Bool axNotificationsIncludeElement; +- (void)handleAccessibilityNotification:(int)arg1 fromElement:(id)arg2 payload:(id)arg3; - (void)notifyOnNextOccurrenceOfUserTestingEvent:(id)arg1 handler:(CDUnknownBlockType)arg2; -- (void)handleUserTestingNotification:(id)arg1; -- (id)elementAtPoint:(struct CGPoint)arg1 error:(id *)arg2; +- (void)_removeUserTestNotificationHandlerForToken:(id)arg1; +- (id)_addUserTestNotificationHandler:(CDUnknownBlockType)arg1; +- (void)_handleUserTestingNotificationFromElement:(id)arg1 withPayload:(id)arg2; +- (id)hitTestElement:(id)arg1 withPoint:(struct CGPoint)arg2 error:(id *)arg3; - (_Bool)cachedAccessibilityLoadedValueForPID:(int)arg1; - (id)activeApplications; -- (id)systemApplication; +@property(readonly, nonatomic) XCAccessibilityElement *systemApplication; - (_Bool)enableFauxCollectionViewCells:(id *)arg1; - (_Bool)loadAccessibility:(id *)arg1; - (_Bool)_registerForAXNotification:(int)arg1 error:(id *)arg2; - (_Bool)_loadAccessibility:(id *)arg1; -- (id)init; -- (void)dealloc; +- (id)initWithApplicationProcessTracker:(id)arg1 remoteAccessibilityInterface:(id)arg2 device:(id)arg3; // Remaining properties @property(readonly, copy) NSString *debugDescription; diff --git a/bp/src/PrivateHeaders/XCTest/XCActivityRecord.h b/bp/src/PrivateHeaders/XCTest/XCActivityRecord.h index 30695b95..3de071fd 100644 --- a/bp/src/PrivateHeaders/XCTest/XCActivityRecord.h +++ b/bp/src/PrivateHeaders/XCTest/XCActivityRecord.h @@ -1,37 +1,42 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "NSSecureCoding.h" -#import "XCTActivity.h" + +#import @class NSArray, NSDate, NSMutableArray, NSString, NSUUID; @interface XCActivityRecord : NSObject { + _Bool _valid; + _Bool _isTopLevel; + _Bool _useLegacySerializationFormat; NSString *_title; NSString *_activityType; NSUUID *_uuid; NSDate *_start; NSDate *_finish; - NSMutableArray *_attachments; - _Bool _valid; - _Bool _useLegacySerializationFormat; NSString *_aggregationIdentifier; double _subactivitiesDuration; + NSMutableArray *_mutableAttachments; } + (_Bool)_shouldSaveAttachmentWithName:(id)arg1 lifetime:(long long)arg2; + (_Bool)supportsSecureCoding; + +@property(readonly) NSMutableArray *mutableAttachments; // @synthesize mutableAttachments=_mutableAttachments; @property(readonly) double subactivitiesDuration; // @synthesize subactivitiesDuration=_subactivitiesDuration; @property(copy) NSString *aggregationIdentifier; // @synthesize aggregationIdentifier=_aggregationIdentifier; @property _Bool useLegacySerializationFormat; // @synthesize useLegacySerializationFormat=_useLegacySerializationFormat; -@property(copy) NSDate *start; // @synthesize start=_start; +@property _Bool isTopLevel; // @synthesize isTopLevel=_isTopLevel; +@property(readonly, getter=isValid) _Bool valid; // @synthesize valid=_valid; @property(copy) NSDate *finish; // @synthesize finish=_finish; +@property(copy) NSDate *start; // @synthesize start=_start; @property(copy) NSUUID *uuid; // @synthesize uuid=_uuid; @property(copy) NSString *activityType; // @synthesize activityType=_activityType; @property(copy) NSString *title; // @synthesize title=_title; @@ -41,14 +46,15 @@ @property(readonly) double duration; @property(readonly, copy) NSString *debugDescription; @property(readonly, copy) NSString *description; -@property(readonly, copy) NSArray *attachments; // @synthesize attachments=_attachments; +@property(readonly, copy) NSArray *attachments; - (void)addAttachment:(id)arg1; - (void)_synchronized_addAttachment:(id)arg1; - (void)removeAttachmentsWithName:(id)arg1; - (id)attachmentForName:(id)arg1; +- (void)addLocalizableStringsData:(id)arg1; - (void)addSynthesizedEvent:(id)arg1; - (void)addSnapshot:(id)arg1; -- (void)addScreenImageData:(id)arg1; +- (void)addScreenImageData:(id)arg1 forceKeepAlways:(_Bool)arg2; - (void)addMemoryGraphData:(id)arg1; - (void)addDiagnosticReportData:(id)arg1; - (void)_synchronized_removeAttachmentsWithName:(id)arg1; @@ -58,11 +64,11 @@ - (id)initWithCoder:(id)arg1; @property(readonly, copy) NSString *name; - (id)init; -- (void)dealloc; -- (void)attachAutomaticScreenshot; +- (void)attachAutomaticScreenshotForScreen:(id)arg1; +- (void)attachAutomaticScreenshotForDevice:(id)arg1; // Remaining properties -@property(readonly) unsigned long long hash; +@property(readonly) NSUInteger hash; @property(readonly) Class superclass; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCApplicationQuery.h b/bp/src/PrivateHeaders/XCTest/XCApplicationQuery.h index 9c81ba40..d367eae0 100644 --- a/bp/src/PrivateHeaders/XCTest/XCApplicationQuery.h +++ b/bp/src/PrivateHeaders/XCTest/XCApplicationQuery.h @@ -1,19 +1,21 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // #import @class XCElementSnapshot, XCUIApplication; +__attribute__((visibility("hidden"))) @interface XCApplicationQuery : XCUIElementQuery { XCUIApplication *_application; XCElementSnapshot *_lastSnapshot; } +- (void).cxx_destruct; @property(retain) XCElementSnapshot *lastSnapshot; // @synthesize lastSnapshot=_lastSnapshot; - (id)application; - (id)initWithApplication:(id)arg1; diff --git a/bp/src/PrivateHeaders/XCTest/XCDebugLogDelegate-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCDebugLogDelegate-Protocol.h index 5dc2b054..b6643731 100644 --- a/bp/src/PrivateHeaders/XCTest/XCDebugLogDelegate-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCDebugLogDelegate-Protocol.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSString; diff --git a/bp/src/PrivateHeaders/XCTest/XCDeviceEvent-Dispatch.h b/bp/src/PrivateHeaders/XCTest/XCDeviceEvent-Dispatch.h deleted file mode 100644 index 7fad0205..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCDeviceEvent-Dispatch.h +++ /dev/null @@ -1,12 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "XCDeviceEvent.h" - -@interface XCDeviceEvent (Dispatch) -- (void)dispatch; -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCElementAttributesPrivate-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCElementAttributesPrivate-Protocol.h deleted file mode 100644 index c1a9e750..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCElementAttributesPrivate-Protocol.h +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "XCUIElementAttributes.h" - -@protocol XCElementAttributesPrivate -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCElementSnapshot-Hitpoint.h b/bp/src/PrivateHeaders/XCTest/XCElementSnapshot-Hitpoint.h deleted file mode 100644 index 9e821927..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCElementSnapshot-Hitpoint.h +++ /dev/null @@ -1,16 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "XCElementSnapshot.h" - -@interface XCElementSnapshot (Hitpoint) -@property(readonly) struct CGPoint hitPointForScrolling; -@property(readonly) struct CGPoint hitPoint; -- (struct CGPoint)hostingAndOrientationTransformedPoint:(struct CGPoint)arg1; -- (struct CGPoint)_transformPoint:(struct CGPoint)arg1 windowContextID:(id)arg2 windowDisplayID:(id)arg3; -- (id)hitTest:(struct CGPoint)arg1; -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCElementSnapshot-TreeManagement.h b/bp/src/PrivateHeaders/XCTest/XCElementSnapshot-TreeManagement.h new file mode 100644 index 00000000..e0778a20 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCElementSnapshot-TreeManagement.h @@ -0,0 +1,49 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import +#import + +@class NSArray, NSDictionary, NSString; + +@interface XCElementSnapshot (TreeManagement) +- (id)reparentedOrphanElementMatchingAccessibilityElement:(id)arg1 inconsistentRelationshipDescriptions:(id *)arg2 error:(id *)arg3; +- (id)_snapshotForAccessibilityElement:(id)arg1 error:(id *)arg2; +- (id)snapshotFetchingIfNeededIntoTreeForAccessibilityElement:(id)arg1 error:(id *)arg2; +- (id)hitPointForScrolling:(id *)arg1; +- (id)hitPoint:(id *)arg1; +- (id)hostingAndOrientationTransformedRect:(struct CGRect)arg1 error:(id *)arg2; +- (id)_transformRectWithRequest:(id)arg1 error:(id *)arg2; +- (id)hostingAndOrientationTransformedPoint:(struct CGPoint)arg1 error:(id *)arg2; +- (id)_transformPointWithRequest:(id)arg1 error:(id *)arg2; +- (_Bool)_canTransformPoint:(struct CGPoint)arg1; +- (id)_transformParametersOrError:(id *)arg1; +- (id)_transformParametersFromDictionary:(id)arg1 error:(id *)arg2; +- (id)_hitPointTransformationRequestOrError:(id *)arg1; +- (id)_visiblePointOrError:(id *)arg1; +- (_Bool)_elementIsContainerSubviewWithMatchingFrame:(id)arg1; +- (id)hitTest:(struct CGPoint)arg1; +@property(readonly) NSArray *suggestedHitpoints; +@property(readonly, copy) NSDictionary *dictionaryRepresentation; + +// Remaining properties +@property(readonly) NSArray *children; +@property(readonly) unsigned long long elementType; +@property(readonly, getter=isEnabled) _Bool enabled; +@property(readonly) struct CGRect frame; +@property(readonly) _Bool hasFocus; +@property(readonly) long long horizontalSizeClass; +@property(readonly) NSString *identifier; +@property(readonly, copy) NSString *label; +@property(readonly) NSString *placeholderValue; +@property(readonly, getter=isSelected) _Bool selected; +@property(readonly, copy) NSString *title; +@property(readonly) id value; +@property(readonly) long long verticalSizeClass; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCElementSnapshot-XCUIElementAttributes.h b/bp/src/PrivateHeaders/XCTest/XCElementSnapshot-XCUIElementAttributes.h deleted file mode 100644 index 0b536a2b..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCElementSnapshot-XCUIElementAttributes.h +++ /dev/null @@ -1,28 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "XCElementSnapshot.h" - -#import "XCUIElementAttributes.h" - -@class NSString; - -@interface XCElementSnapshot (XCUIElementAttributes) - -// Remaining properties -@property(readonly) unsigned long long elementType; -@property(readonly, getter=isEnabled) _Bool enabled; -@property(readonly) struct CGRect frame; -@property(readonly) long long horizontalSizeClass; -@property(readonly) NSString *identifier; -@property(readonly, copy) NSString *label; -@property(readonly) NSString *placeholderValue; -@property(readonly, getter=isSelected) _Bool selected; -@property(readonly, copy) NSString *title; -@property(readonly) id value; -@property(readonly) long long verticalSizeClass; -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCEventGenerator.h b/bp/src/PrivateHeaders/XCTest/XCEventGenerator.h deleted file mode 100644 index 7ff4ffb1..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCEventGenerator.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSObject; - -@interface XCEventGenerator : NSObject -{ - unsigned long long _generation; - NSObject *_eventQueue; - struct __CFRunLoopObserver *_generationObserver; -} - -+ (id)sharedGenerator; -@property(readonly) struct __CFRunLoopObserver *generationObserver; // @synthesize generationObserver=_generationObserver; -@property(readonly) NSObject *eventQueue; // @synthesize eventQueue=_eventQueue; -@property unsigned long long generation; // @synthesize generation=_generation; -- (double)rotateInRect:(struct CGRect)arg1 withRotation:(double)arg2 velocity:(double)arg3 orientation:(long long)arg4 handler:(CDUnknownBlockType)arg5; -- (double)pinchInRect:(struct CGRect)arg1 withScale:(double)arg2 velocity:(double)arg3 orientation:(long long)arg4 handler:(CDUnknownBlockType)arg5; -- (double)pressAtPoint:(struct CGPoint)arg1 forDuration:(double)arg2 liftAtPoint:(struct CGPoint)arg3 velocity:(double)arg4 orientation:(long long)arg5 name:(id)arg6 handler:(CDUnknownBlockType)arg7; -- (double)pressAtPoint:(struct CGPoint)arg1 forDuration:(double)arg2 orientation:(long long)arg3 handler:(CDUnknownBlockType)arg4; -- (double)tapAtTouchLocations:(id)arg1 numberOfTaps:(unsigned long long)arg2 orientation:(long long)arg3 handler:(CDUnknownBlockType)arg4; -- (double)forcePressAtPoint:(struct CGPoint)arg1 orientation:(long long)arg2 handler:(CDUnknownBlockType)arg3; -- (void)_startEventSequenceWithSteppingCallback:(CDUnknownBlockType)arg1; -- (void)_scheduleCallback:(CDUnknownBlockType)arg1 afterInterval:(double)arg2; -- (id)init; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCKeyMappingPath.h b/bp/src/PrivateHeaders/XCTest/XCKeyMappingPath.h deleted file mode 100644 index 807139e7..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCKeyMappingPath.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -#import "NSCopying.h" - -@class NSSet, NSString; - -@interface XCKeyMappingPath : NSObject -{ - unsigned long long _keyState; - XCKeyMappingPath *_next; - NSSet *_inputs; - NSString *_output; - unsigned long long _length; - NSString *_producedString; -} - -+ (id)pathWithKeyState:(unsigned long long)arg1 next:(id)arg2 inputs:(id)arg3 output:(id)arg4; -+ (id)emptyPath; -@property(readonly, copy) NSString *producedString; // @synthesize producedString=_producedString; -@property(readonly) unsigned long long length; // @synthesize length=_length; -@property(readonly, copy) NSString *output; // @synthesize output=_output; -@property(readonly, copy) NSSet *inputs; // @synthesize inputs=_inputs; -@property(readonly, copy) XCKeyMappingPath *next; // @synthesize next=_next; -@property(readonly) unsigned long long keyState; // @synthesize keyState=_keyState; -- (id)copyWithZone:(struct _NSZone *)arg1; -- (_Bool)isEqual:(id)arg1; -- (unsigned long long)hash; -- (id)inputSequenceWithRequiredFlags:(unsigned long long)arg1 excludedFlags:(unsigned long long)arg2; -- (id)inputWithRequiredFlags:(unsigned long long)arg1 excludedFlags:(unsigned long long)arg2; -@property(readonly, getter=isEmpty) _Bool empty; -@property(readonly, getter=isComplete) _Bool complete; -- (void)dealloc; -- (id)initWithKeyState:(unsigned long long)arg1 next:(id)arg2 inputs:(id)arg3 output:(id)arg4; -- (id)init; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCKeyboardInputSolver.h b/bp/src/PrivateHeaders/XCTest/XCKeyboardInputSolver.h deleted file mode 100644 index fc39390e..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCKeyboardInputSolver.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -#import "NSCopying.h" - -@class NSArray, NSMutableArray, NSMutableDictionary, NSString, XCKeyboardKeyMap; - -@interface XCKeyboardInputSolver : NSObject -{ - XCKeyboardKeyMap *_keyMap; - NSString *_string; - unsigned long long _requiredFlags; - unsigned long long _excludedFlags; - unsigned long long _currentFlags; - _Bool _includeModifierKeys; - struct _NSRange _unsolvedRange; - NSMutableArray *_solvedInputs; - NSMutableDictionary *_solvingPaths; -} - -@property(readonly) NSArray *solvedInputs; // @synthesize solvedInputs=_solvedInputs; -@property(readonly) struct _NSRange unsolvedRange; // @synthesize unsolvedRange=_unsolvedRange; -@property _Bool includeModifierKeys; // @synthesize includeModifierKeys=_includeModifierKeys; -@property unsigned long long currentFlags; // @synthesize currentFlags=_currentFlags; -@property unsigned long long excludedFlags; // @synthesize excludedFlags=_excludedFlags; -@property unsigned long long requiredFlags; // @synthesize requiredFlags=_requiredFlags; -@property(readonly, copy) NSString *string; // @synthesize string=_string; -@property(readonly) XCKeyboardKeyMap *keyMap; // @synthesize keyMap=_keyMap; -- (id)_solve; -- (id)solve; -- (void)solveWithSolutionRange:(struct _NSRange)arg1 results:(id)arg2; -- (id)extractCompletePathsWithSolutionRange:(struct _NSRange)arg1; -- (unsigned long long)advancePaths; -- (void)advancePath:(id)arg1 range:(id)arg2; -@property(readonly, getter=isComplete) _Bool complete; -- (id)copyWithZone:(struct _NSZone *)arg1; -- (void)dealloc; -- (id)initWithKeyMap:(id)arg1 string:(id)arg2; -- (id)init; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCKeyboardKeyMap.h b/bp/src/PrivateHeaders/XCTest/XCKeyboardKeyMap.h deleted file mode 100644 index f3eb2509..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCKeyboardKeyMap.h +++ /dev/null @@ -1,103 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSCharacterSet, NSData, NSDictionary, NSIndexSet, NSSet; - -@interface XCKeyboardKeyMap : NSObject -{ - struct __GSKeyboard *_inputSource; - NSData *_layoutData; - const struct { - unsigned short _field1; - unsigned short _field2; - unsigned int _field3; - unsigned int _field4; - CDStruct_a561fd19 _field5[1]; - } *_layoutHeader; - const CDStruct_a561fd19 *_keyboardType; - const struct { - unsigned short _field1; - unsigned short _field2; - unsigned int _field3; - unsigned char _field4[1]; - } *_keyModifiersToTableNum; - const struct { - unsigned short _field1; - unsigned short _field2; - unsigned int _field3; - unsigned int _field4[1]; - } *_keyToCharTableIndex; - const struct { - unsigned short _field1; - unsigned short _field2; - unsigned int _field3[1]; - } *_keyStateRecordsIndex; - const CDStruct_27a325c0 *_keyStateTerminators; - const CDStruct_27a325c0 *_keySequenceDataIndex; - NSSet *_numericPadKeyCodes; - NSDictionary *_systemKeyForKeyCode; - NSDictionary *_inputsForSystemKey; - NSDictionary *_inputForKey; - unsigned long long _longestSystemKey; - NSDictionary *_modifiersForTableID; - NSCharacterSet *_validKeyOutputIDs; - NSDictionary *_inputsForKeyOutputID; - NSSet *_safeTerminationInputs; - struct _NSRange _keyStateOutputIDsRange; - NSIndexSet *_keyStatesWithTerminator; - NSCharacterSet *_validKeyStates; - NSCharacterSet *_validSequenceIDs; - _Bool _canEmitSequenceIDAndKeyState; - NSDictionary *_inexactSequencesNFC; - unsigned long long _longestInexactSequence; - NSDictionary *_stringsForIntendedStrings; -} - -@property(readonly) _Bool canEmitSequenceIDAndKeyState; // @synthesize canEmitSequenceIDAndKeyState=_canEmitSequenceIDAndKeyState; -- (id)description; -- (id)stringForIntendedString:(id)arg1; -- (id)stringForInputs:(id)arg1; -- (id)stringForInput:(id)arg1; -- (id)_stringForInput:(id)arg1 keyState:(unsigned long long *)arg2 output:(id)arg3; -- (void)addCachedPaths:(id)arg1 endingString:(id)arg2 range:(struct _NSRange)arg3; -- (id)cachedPathsEndingString:(id)arg1 range:(struct _NSRange)arg2; -- (void)_pathsForSequenceID:(unsigned short)arg1 range:(id)arg2 nextPath:(id)arg3 results:(id)arg4; -- (_Bool)_pathsForSystemKeyEndingString:(id)arg1 range:(struct _NSRange)arg2 nextPath:(id)arg3 results:(id)arg4; -- (id)pathsEndingString:(id)arg1 range:(id)arg2 nextPath:(id)arg3; -- (id)_pathByTerminatingKeyState:(unsigned short)arg1 next:(id)arg2 output:(id)arg3 sequenceID:(unsigned short)arg4; -- (id)pathsForSequenceID:(unsigned short)arg1 nextPath:(id)arg2; -- (void)_sequenceIDsEndingString:(id)arg1 range:(struct _NSRange)arg2 suffixRange:(struct _NSRange)arg3 results:(id)arg4; -- (id)sequenceIDsEndingString:(id)arg1 range:(struct _NSRange)arg2; -- (id)sequenceIDsForString:(id)arg1 range:(struct _NSRange)arg2; -- (id)sequenceIDsForString:(id)arg1; -- (id)stringForSequenceID:(unsigned short)arg1; -- (id)inputsForOutputID:(unsigned short)arg1; -- (id)inputsForText:(id)arg1 currentFlags:(unsigned long long)arg2; -- (id)inputsForText:(id)arg1; -- (id)inputsToSetModifierFlags:(unsigned long long)arg1 currentFlags:(unsigned long long)arg2; -- (id)inputForKey:(id)arg1 modifierFlags:(unsigned long long)arg2; -- (_Bool)canEmitKeyState:(unsigned short)arg1; -- (_Bool)canEmitSequenceIDAsOutputID:(unsigned short)arg1; -- (_Bool)canEmitSequenceID:(unsigned short)arg1; -- (_Bool)canEmitOutputID:(unsigned short)arg1; -- (unsigned long long)uniqueKeyboardType:(unsigned long long)arg1; -- (_Bool)supportsKeyboardType:(unsigned long long)arg1; -@property(readonly, getter=isPrimary) _Bool primary; -- (void)dealloc; -- (void)_initIntendedStrings; -- (void)_initInexactSequences; -- (void)_initValidity; -- (void)_initKeyStates; -- (void)_initKeyOutputs; -- (void)_initModifiers; -- (void)_initKeyboardKeys; -- (id)initWithInputSource:(struct __GSKeyboard *)arg1 layoutData:(id)arg2 index:(unsigned long long)arg3; -- (id)init; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCKeyboardLayout.h b/bp/src/PrivateHeaders/XCTest/XCKeyboardLayout.h deleted file mode 100644 index f4b7835b..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCKeyboardLayout.h +++ /dev/null @@ -1,38 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSArray, NSData, NSString, XCKeyboardKeyMap; - -@interface XCKeyboardLayout : NSObject -{ - struct __GSKeyboard *_source; - NSString *_identifier; - NSData *_data; - NSArray *_keyMaps; - XCKeyboardKeyMap *_primaryKeyMap; -} - -+ (id)unicodeHexKeyboardLayout; -+ (id)currentKeyboardLayout; -+ (void)enumerateKeyboardLayoutsUsingBlock:(CDUnknownBlockType)arg1; -+ (id)keyboardLayoutWithInputSource:(struct __GSKeyboard *)arg1; -+ (id)keyboardLayoutWithIdentifier:(id)arg1; -@property(readonly) XCKeyboardKeyMap *primaryKeyMap; // @synthesize primaryKeyMap=_primaryKeyMap; -@property(readonly, copy) NSString *identifier; // @synthesize identifier=_identifier; -- (_Bool)deactivate:(id)arg1 error:(id *)arg2; -- (id)activateWithError:(id *)arg1; -- (id)_setActiveLayoutState:(id)arg1 error:(id *)arg2; -- (void)enumerateKeyMapsUsingBlock:(CDUnknownBlockType)arg1; -- (id)description; -- (id)keyMapForKeyboardType:(unsigned long long)arg1; -- (void)dealloc; -- (id)initWithInputSource:(struct __GSKeyboard *)arg1; -- (id)init; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCPointerEvent.h b/bp/src/PrivateHeaders/XCTest/XCPointerEvent.h index 46c16908..8068b560 100644 --- a/bp/src/PrivateHeaders/XCTest/XCPointerEvent.h +++ b/bp/src/PrivateHeaders/XCTest/XCPointerEvent.h @@ -1,32 +1,82 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "NSSecureCoding.h" +#import + +@class NSString; @interface XCPointerEvent : NSObject { + _Bool _mergeModifierFlagsWithCurrentFlags; + _Bool _shouldRedact; unsigned long long _eventType; unsigned long long _buttonType; double _pressure; + unsigned long long _gestureStage; double _offset; + double _duration; + long long _verticalLineScroll; + unsigned long long _clickCount; + unsigned long long _keyModifierFlags; + NSString *_key; + NSString *_string; + unsigned long long _typingSpeed; + unsigned long long _keyCode; + unsigned long long _keyPhase; + unsigned long long _gesturePhase; + unsigned long long _deviceID; struct CGPoint _coordinate; + struct CGPoint _destination; + struct CGVector _deltaVector; } + (CDUnknownBlockType)offsetComparator; -+ (id)pointerEventWithType:(unsigned long long)arg1 buttonType:(unsigned long long)arg2 coordinate:(struct CGPoint)arg3 pressure:(double)arg4 offset:(double)arg5; -+ (id)pointerEventWithType:(unsigned long long)arg1 buttonType:(unsigned long long)arg2 coordinate:(struct CGPoint)arg3 offset:(double)arg4; ++ (id)keyboardEventForKeyCode:(unsigned long long)arg1 keyPhase:(unsigned long long)arg2 modifierFlags:(unsigned long long)arg3 offset:(double)arg4 shouldRedact:(_Bool)arg5; ++ (id)keyboardEventForKeyCode:(unsigned long long)arg1 keyPhase:(unsigned long long)arg2 modifierFlags:(unsigned long long)arg3 offset:(double)arg4; ++ (id)textEventForString:(id)arg1 offset:(double)arg2 typingSpeed:(unsigned long long)arg3 shouldRedact:(_Bool)arg4; ++ (id)textEventForString:(id)arg1 offset:(double)arg2 typingSpeed:(unsigned long long)arg3; ++ (id)textEventForKey:(id)arg1 withModifierFlags:(unsigned long long)arg2 offset:(double)arg3; ++ (id)textEventForModifierFlags:(unsigned long long)arg1 mergeWithCurrent:(_Bool)arg2 offset:(double)arg3; ++ (id)moveEventWithStartPoint:(struct CGPoint)arg1 destination:(struct CGPoint)arg2 offset:(double)arg3 duration:(double)arg4; ++ (id)dragEventWithCoordinate:(struct CGPoint)arg1 destination:(struct CGPoint)arg2 offset:(double)arg3 duration:(double)arg4; ++ (id)scrollEventAtPoint:(struct CGPoint)arg1 lines:(long long)arg2 offset:(double)arg3; ++ (id)gestureSwipeEventWithDeltaVector:(struct CGVector)arg1 offset:(double)arg2 duration:(double)arg3 phase:(unsigned long long)arg4; ++ (id)scrollEventWithDeltaVector:(struct CGVector)arg1 offset:(double)arg2 duration:(double)arg3; ++ (id)eventWithType:(unsigned long long)arg1 buttonType:(unsigned long long)arg2 coordinate:(struct CGPoint)arg3 pressure:(double)arg4 gestureStage:(double)arg5 offset:(double)arg6 duration:(double)arg7 clickCount:(unsigned long long)arg8 gesturePhase:(unsigned long long)arg9; ++ (id)eventWithType:(unsigned long long)arg1 buttonType:(unsigned long long)arg2 coordinate:(struct CGPoint)arg3 pressure:(double)arg4 offset:(double)arg5 duration:(double)arg6 clickCount:(unsigned long long)arg7; ++ (id)eventWithType:(unsigned long long)arg1 buttonType:(unsigned long long)arg2 coordinate:(struct CGPoint)arg3 offset:(double)arg4 duration:(double)arg5 clickCount:(unsigned long long)arg6; ++ (id)eventWithType:(unsigned long long)arg1 buttonType:(unsigned long long)arg2 coordinate:(struct CGPoint)arg3 offset:(double)arg4 clickCount:(unsigned long long)arg5; + (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property unsigned long long deviceID; // @synthesize deviceID=_deviceID; +@property unsigned long long gesturePhase; // @synthesize gesturePhase=_gesturePhase; +@property unsigned long long keyPhase; // @synthesize keyPhase=_keyPhase; +@property unsigned long long keyCode; // @synthesize keyCode=_keyCode; +@property _Bool shouldRedact; // @synthesize shouldRedact=_shouldRedact; +@property unsigned long long typingSpeed; // @synthesize typingSpeed=_typingSpeed; +@property(copy) NSString *string; // @synthesize string=_string; +@property(copy) NSString *key; // @synthesize key=_key; +@property _Bool mergeModifierFlagsWithCurrentFlags; // @synthesize mergeModifierFlagsWithCurrentFlags=_mergeModifierFlagsWithCurrentFlags; +@property unsigned long long keyModifierFlags; // @synthesize keyModifierFlags=_keyModifierFlags; +@property unsigned long long clickCount; // @synthesize clickCount=_clickCount; +@property long long verticalLineScroll; // @synthesize verticalLineScroll=_verticalLineScroll; +@property double duration; // @synthesize duration=_duration; +@property struct CGVector deltaVector; // @synthesize deltaVector=_deltaVector; @property double offset; // @synthesize offset=_offset; +@property unsigned long long gestureStage; // @synthesize gestureStage=_gestureStage; @property double pressure; // @synthesize pressure=_pressure; +@property struct CGPoint destination; // @synthesize destination=_destination; @property struct CGPoint coordinate; // @synthesize coordinate=_coordinate; @property unsigned long long buttonType; // @synthesize buttonType=_buttonType; @property unsigned long long eventType; // @synthesize eventType=_eventType; - (id)description; +- (_Bool)isEqual:(id)arg1; +- (unsigned long long)hash; - (void)encodeWithCoder:(id)arg1; - (id)initWithCoder:(id)arg1; - (id)init; diff --git a/bp/src/PrivateHeaders/XCTest/XCPointerEventPath.h b/bp/src/PrivateHeaders/XCTest/XCPointerEventPath.h index 1c4292e6..cc29344d 100644 --- a/bp/src/PrivateHeaders/XCTest/XCPointerEventPath.h +++ b/bp/src/PrivateHeaders/XCTest/XCPointerEventPath.h @@ -1,12 +1,12 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "NSSecureCoding.h" +#import @class NSArray, NSMutableArray; @@ -16,29 +16,47 @@ _Bool _immutable; unsigned long long _pathType; unsigned long long _index; + unsigned long long _deviceID; + struct CGPoint _initialMouseLocation; } + (_Bool)supportsSecureCoding; +- (void).cxx_destruct; @property _Bool immutable; // @synthesize immutable=_immutable; +@property unsigned long long deviceID; // @synthesize deviceID=_deviceID; @property unsigned long long index; // @synthesize index=_index; +@property(readonly) struct CGPoint initialMouseLocation; // @synthesize initialMouseLocation=_initialMouseLocation; @property(readonly) unsigned long long pathType; // @synthesize pathType=_pathType; - (id)description; - (id)firstEventAfterOffset:(double)arg1; - (id)lastEventBeforeOffset:(double)arg1; - (void)_addPointerEvent:(id)arg1; -- (void)releaseButton:(unsigned long long)arg1 atOffset:(double)arg2; -- (void)pressButton:(unsigned long long)arg1 atOffset:(double)arg2; +- (void)setModifiers:(unsigned long long)arg1 mergeWithCurrentModifierFlags:(_Bool)arg2 atOffset:(double)arg3; +- (void)typeKey:(id)arg1 modifiers:(unsigned long long)arg2 atOffset:(double)arg3; +- (void)typeText:(id)arg1 atOffset:(double)arg2 typingSpeed:(unsigned long long)arg3 shouldRedact:(_Bool)arg4; +- (void)scrollAtPoint:(struct CGPoint)arg1 byLines:(long long)arg2 atOffset:(double)arg3; +- (void)gestureSwipeWithDeltaVector:(struct CGVector)arg1 atOffset:(double)arg2 duration:(double)arg3; +- (void)scrollWithDeltaVector:(struct CGVector)arg1 atOffset:(double)arg2 duration:(double)arg3; +- (void)releaseButton:(unsigned long long)arg1 atOffset:(double)arg2 clickCount:(unsigned long long)arg3; +- (void)dragWithButton:(unsigned long long)arg1 toPoint:(struct CGPoint)arg2 atOffset:(double)arg3 duration:(double)arg4; +- (void)pressButton:(unsigned long long)arg1 atOffset:(double)arg2 clickCount:(unsigned long long)arg3; - (void)liftUpAtOffset:(double)arg1; +- (void)moveMouseToPoint:(struct CGPoint)arg1 atOffset:(double)arg2 duration:(double)arg3; - (void)moveToPoint:(struct CGPoint)arg1 atOffset:(double)arg2; +- (void)pressDownWithPressure:(double)arg1 stage:(unsigned long long)arg2 phase:(unsigned long long)arg3 atOffset:(double)arg4; - (void)pressDownWithPressure:(double)arg1 atOffset:(double)arg2; - (void)pressDownAtOffset:(double)arg1; @property(readonly) NSArray *pointerEvents; +- (_Bool)isEqual:(id)arg1; +- (unsigned long long)hash; - (void)encodeWithCoder:(id)arg1; - (id)initWithCoder:(id)arg1; -- (id)initForMouseAtPoint:(struct CGPoint)arg1 offset:(double)arg2; +- (id)initForTouchBarAtPoint:(struct CGPoint)arg1 offset:(double)arg2; +- (id)initForTextInput; +- (id)initForMouseEventsWithDeviceID:(unsigned long long)arg1 atLocation:(struct CGPoint)arg2; +- (id)initForMouseEventsAtLocation:(struct CGPoint)arg1; +- (id)initForMouseEvents; - (id)initForTouchAtPoint:(struct CGPoint)arg1 offset:(double)arg2; -- (id)init; -- (void)dealloc; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCSourceCodeRecording.h b/bp/src/PrivateHeaders/XCTest/XCSourceCodeRecording.h index 13ad5f43..c58988b1 100644 --- a/bp/src/PrivateHeaders/XCTest/XCSourceCodeRecording.h +++ b/bp/src/PrivateHeaders/XCTest/XCSourceCodeRecording.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSArray, NSMutableArray, NSMutableDictionary, NSMutableSet; @@ -18,6 +18,7 @@ long long _nextVariableCount; } +- (void).cxx_destruct; @property(retain) NSMutableDictionary *variableNameToContentNodeDictionary; // @synthesize variableNameToContentNodeDictionary=_variableNameToContentNodeDictionary; @property(retain, setter=_setTreeNodes:) NSArray *_treeNodes; // @synthesize _treeNodes; @property(readonly) unsigned long long language; // @synthesize language=_language; @@ -40,7 +41,6 @@ - (id)copy; - (id)initWithLanguage:(unsigned long long)arg1 reservedNames:(id)arg2; - (id)init; -- (void)dealloc; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCSourceCodeTreeNode.h b/bp/src/PrivateHeaders/XCTest/XCSourceCodeTreeNode.h index 3dc4795e..954872db 100644 --- a/bp/src/PrivateHeaders/XCTest/XCSourceCodeTreeNode.h +++ b/bp/src/PrivateHeaders/XCTest/XCSourceCodeTreeNode.h @@ -1,30 +1,32 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "NSSecureCoding.h" +#import @class NSArray, NSIndexPath, NSNumber, NSSet, NSString; @interface XCSourceCodeTreeNode : NSObject { - NSString *_sourceCodePrefix; - NSString *_sourceCodeSuffix; NSArray *_childNodes; long long _selectedChildNodeIndex; + NSString *_sourceCodePrefix; + NSString *_sourceCodeSuffix; XCSourceCodeTreeNode *_parentNode; - NSSet *_identifierValues; - NSNumber *_index; - NSString *_queryType; - NSNumber *_returnType; - NSNumber *_calleeType; - NSNumber *_elementType; + NSSet *__identifierValues; + NSNumber *__index; + NSString *__queryType; + NSNumber *__returnType; + NSNumber *__calleeType; + NSNumber *__elementType; } ++ (id)_stringByDecodingSourceCode:(id)arg1; ++ (id)_stringByEncodingSourceCode:(id)arg1; + (id)_stringRepresentationsOfNodesAsSeparateLines:(id)arg1 language:(unsigned long long)arg2 options:(unsigned long long)arg3 error:(id *)arg4; + (id)stringRepresentationsOfNodesAsSeparateLines:(id)arg1 language:(unsigned long long)arg2 error:(id *)arg3; + (unsigned long long)_defaultOptions; @@ -38,12 +40,16 @@ + (_Bool)_isContentEqualIgnoringSelection:(_Bool)arg1 childNodes:(id)arg2 childNodes:(id)arg3 toDistanceFromRoot:(long long)arg4; + (id)_nodesByMergingSimilarNodes:(id)arg1; + (void)_shareSourceCodeStringsForNodes:(id)arg1; -@property(copy, setter=_setElementType:) NSNumber *_elementType; // @synthesize _elementType; -@property(copy, setter=_setCalleeType:) NSNumber *_calleeType; // @synthesize _calleeType; -@property(copy, setter=_setReturnType:) NSNumber *_returnType; // @synthesize _returnType; -@property(copy, setter=_setQueryType:) NSString *_queryType; // @synthesize _queryType; -@property(copy, setter=_setIndex:) NSNumber *_index; // @synthesize _index; -@property(copy, setter=_setIdentifierValues:) NSSet *_identifierValues; // @synthesize _identifierValues; +- (void).cxx_destruct; +@property(copy, setter=_setElementType:) NSNumber *_elementType; // @synthesize _elementType=__elementType; +@property(copy, setter=_setCalleeType:) NSNumber *_calleeType; // @synthesize _calleeType=__calleeType; +@property(copy, setter=_setReturnType:) NSNumber *_returnType; // @synthesize _returnType=__returnType; +@property(copy, setter=_setQueryType:) NSString *_queryType; // @synthesize _queryType=__queryType; +@property(copy, setter=_setIndex:) NSNumber *_index; // @synthesize _index=__index; +@property(copy, setter=_setIdentifierValues:) NSSet *_identifierValues; // @synthesize _identifierValues=__identifierValues; +@property __weak XCSourceCodeTreeNode *parentNode; // @synthesize parentNode=_parentNode; +@property(copy) NSString *sourceCodeSuffix; // @synthesize sourceCodeSuffix=_sourceCodeSuffix; +@property(copy) NSString *sourceCodePrefix; // @synthesize sourceCodePrefix=_sourceCodePrefix; - (void)_absorbOnlyChildrenIntoParents; - (id)_treeByPushingOutPrefix:(id *)arg1 error:(id *)arg2; - (id)copy; @@ -78,12 +84,8 @@ @property(retain) NSArray *childNodes; - (_Bool)setChildNodes:(id)arg1 error:(id *)arg2; - (_Bool)_canHaveSiblingNode:(id)arg1; -@property(copy) NSString *sourceCodeSuffix; -@property(copy) NSString *sourceCodePrefix; -@property __weak XCSourceCodeTreeNode *parentNode; @property(readonly) XCSourceCodeTreeNode *rootNode; @property(readonly, copy) NSString *displayName; -- (void)dealloc; - (id)initWithSourceCodePrefix:(id)arg1 sourceCodeSuffix:(id)arg2; - (id)init; diff --git a/bp/src/PrivateHeaders/XCTest/XCSourceCodeTreeNodeEnumerator.h b/bp/src/PrivateHeaders/XCTest/XCSourceCodeTreeNodeEnumerator.h index b065af2b..bce09e4e 100644 --- a/bp/src/PrivateHeaders/XCTest/XCSourceCodeTreeNodeEnumerator.h +++ b/bp/src/PrivateHeaders/XCTest/XCSourceCodeTreeNodeEnumerator.h @@ -1,18 +1,21 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSMutableArray; +__attribute__((visibility("hidden"))) @interface XCSourceCodeTreeNodeEnumerator : NSObject { NSMutableArray *_remainingNodes; } +- (void).cxx_destruct; +@property(retain, nonatomic) NSMutableArray *remainingNodes; // @synthesize remainingNodes=_remainingNodes; - (id)nextObject; - (id)initWithNode:(id)arg1; diff --git a/bp/src/PrivateHeaders/XCTest/XCSymbolicationRecord.h b/bp/src/PrivateHeaders/XCTest/XCSymbolicationRecord.h deleted file mode 100644 index 99b4dd6b..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCSymbolicationRecord.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSString; - -@interface XCSymbolicationRecord : NSObject -{ - unsigned long long _lineNumber; - NSString *_filePath; - NSString *_symbolName; - NSString *_symbolOwner; -} - -+ (id)symbolicationRecordForAddress:(unsigned long long)arg1; -+ (struct _CSTypeRef)symbolicator; -+ (id)failureRecord; -@property(copy) NSString *symbolOwner; // @synthesize symbolOwner=_symbolOwner; -@property(copy) NSString *symbolName; // @synthesize symbolName=_symbolName; -@property(copy) NSString *filePath; // @synthesize filePath=_filePath; -@property unsigned long long lineNumber; // @synthesize lineNumber=_lineNumber; -- (id)description; -- (void)dealloc; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCSynthesizedEventRecord.h b/bp/src/PrivateHeaders/XCTest/XCSynthesizedEventRecord.h index 414c1d9c..4b5b1fd1 100644 --- a/bp/src/PrivateHeaders/XCTest/XCSynthesizedEventRecord.h +++ b/bp/src/PrivateHeaders/XCTest/XCSynthesizedEventRecord.h @@ -1,12 +1,12 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "NSSecureCoding.h" +#import @class NSArray, NSMutableArray, NSString; @@ -15,20 +15,29 @@ NSMutableArray *_eventPaths; NSString *_name; long long _interfaceOrientation; + long long _targetProcessID; + unsigned long long _displayID; } + (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property(readonly) unsigned long long displayID; // @synthesize displayID=_displayID; +@property long long targetProcessID; // @synthesize targetProcessID=_targetProcessID; @property(readonly) long long interfaceOrientation; // @synthesize interfaceOrientation=_interfaceOrientation; @property(readonly, copy) NSString *name; // @synthesize name=_name; - (id)description; @property(readonly) double maximumOffset; - (void)addPointerEventPath:(id)arg1; @property(readonly) NSArray *eventPaths; +- (_Bool)isEqual:(id)arg1; +- (unsigned long long)hash; - (void)encodeWithCoder:(id)arg1; - (id)initWithCoder:(id)arg1; - (id)initWithName:(id)arg1 interfaceOrientation:(long long)arg2; -- (id)init; -- (void)dealloc; +- (id)initWithName:(id)arg1 displayID:(unsigned long long)arg2; +- (id)initWithName:(id)arg1; +- (void)unsetInterfaceOrientation; +- (id)initWithName:(id)arg1 displayID:(unsigned long long)arg2 interfaceOrientation:(long long)arg3; - (_Bool)synthesizeWithError:(id *)arg1; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTASDebugLogDelegate-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTASDebugLogDelegate-Protocol.h index 2ebfcd3d..8cf70fbc 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTASDebugLogDelegate-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCTASDebugLogDelegate-Protocol.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSString; diff --git a/bp/src/PrivateHeaders/XCTest/XCTAXClient-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTAXClient-Protocol.h deleted file mode 100644 index 45e0d35c..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCTAXClient-Protocol.h +++ /dev/null @@ -1,14 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSData; - -@protocol XCTAXClient -- (void)handleAccessibilityNotification:(int)arg1 withPayload:(NSData *)arg2; -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCTActivity-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTActivity-Protocol.h index c8860324..74becde5 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTActivity-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCTActivity-Protocol.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +@import Foundation; @class NSString, XCTAttachment; diff --git a/bp/src/PrivateHeaders/XCTest/XCTActivityAggregationRecord.h b/bp/src/PrivateHeaders/XCTest/XCTActivityAggregationRecord.h index 8e07425f..0351502e 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTActivityAggregationRecord.h +++ b/bp/src/PrivateHeaders/XCTest/XCTActivityAggregationRecord.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @interface XCTActivityAggregationRecord : NSObject { diff --git a/bp/src/PrivateHeaders/XCTest/XCTActivityRecordContext-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTActivityRecordContext-Protocol.h new file mode 100644 index 00000000..2c1bc4f5 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTActivityRecordContext-Protocol.h @@ -0,0 +1,15 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSDate; + +@protocol XCTActivityRecordContext +@property(readonly) unsigned long long activityRecordStackDepth; +@property(readonly, copy) NSDate *startDate; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTActivityRecordStack.h b/bp/src/PrivateHeaders/XCTest/XCTActivityRecordStack.h index 3d280be0..3b2be73c 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTActivityRecordStack.h +++ b/bp/src/PrivateHeaders/XCTest/XCTActivityRecordStack.h @@ -1,26 +1,28 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSDictionary, NSMutableArray, NSMutableDictionary; @interface XCTActivityRecordStack : NSObject { NSMutableArray *_storage; - NSMutableDictionary *_aggregationRecords; + NSMutableDictionary *_mutableAggregationRecords; } -@property(readonly) NSDictionary *aggregationRecords; // @synthesize aggregationRecords=_aggregationRecords; +- (void).cxx_destruct; +@property(readonly) NSMutableDictionary *mutableAggregationRecords; // @synthesize mutableAggregationRecords=_mutableAggregationRecords; +@property(readonly) NSMutableArray *storage; // @synthesize storage=_storage; +@property(readonly) NSDictionary *aggregationRecords; - (id)topActivity; - (long long)depth; -- (void)unwindRemainingActivitiesWithTestCase:(id)arg1 observationCenter:(id)arg2; -- (void)didFinishActivity:(id)arg1 testCase:(id)arg2 observationCenter:(id)arg3; -- (id)willStartActivityWithTitle:(id)arg1 type:(id)arg2 testCase:(id)arg3 observationCenter:(id)arg4; -- (void)dealloc; +- (void)unwindRemainingActivitiesWithTestCase:(id)arg1; +- (void)didFinishActivity:(id)arg1 testCase:(id)arg2; +- (id)willStartActivityWithTitle:(id)arg1 type:(id)arg2 testCase:(id)arg3; - (id)init; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTAggregateSuiteRunStatistics.h b/bp/src/PrivateHeaders/XCTest/XCTAggregateSuiteRunStatistics.h new file mode 100644 index 00000000..414793a2 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTAggregateSuiteRunStatistics.h @@ -0,0 +1,38 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import +#import + +@class NSArray, NSDictionary, NSMutableDictionary, NSString; + +@interface XCTAggregateSuiteRunStatistics : NSObject +{ + NSString *_lastTestIdentifier; + NSMutableDictionary *_recordMap; +} + ++ (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property(readonly) NSMutableDictionary *recordMap; // @synthesize recordMap=_recordMap; +@property(copy) NSString *lastTestIdentifier; // @synthesize lastTestIdentifier=_lastTestIdentifier; +- (id)recordForSuiteNamed:(id)arg1; +- (void)addSuiteRecord:(id)arg1; +@property(readonly) NSArray *suiteRecords; +@property(readonly) unsigned long long suiteRecordCount; +@property(readonly) NSDictionary *dictionaryRepresentation; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (_Bool)isEqualToStatistics:(id)arg1; +- (_Bool)isEqual:(id)arg1; +- (id)initWithDictionaryRepresentation:(id)arg1; +- (id)init; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTAggregateSuiteRunStatisticsRecord.h b/bp/src/PrivateHeaders/XCTest/XCTAggregateSuiteRunStatisticsRecord.h new file mode 100644 index 00000000..94f7d7f8 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTAggregateSuiteRunStatisticsRecord.h @@ -0,0 +1,39 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSString; + +@interface XCTAggregateSuiteRunStatisticsRecord : NSObject +{ + NSString *_suiteName; + unsigned long long _executionCount; + unsigned long long _skipCount; + unsigned long long _expectedFailureCount; + unsigned long long _failureCount; + unsigned long long _unexpectedExceptionCount; +} + ++ (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property(readonly) unsigned long long unexpectedExceptionCount; // @synthesize unexpectedExceptionCount=_unexpectedExceptionCount; +@property(readonly) unsigned long long failureCount; // @synthesize failureCount=_failureCount; +@property(readonly) unsigned long long expectedFailureCount; // @synthesize expectedFailureCount=_expectedFailureCount; +@property(readonly) unsigned long long skipCount; // @synthesize skipCount=_skipCount; +@property(readonly) unsigned long long executionCount; // @synthesize executionCount=_executionCount; +@property(readonly) NSString *suiteName; // @synthesize suiteName=_suiteName; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +- (_Bool)isEqualToStatisticsRecord:(id)arg1; +- (_Bool)isEqual:(id)arg1; +- (id)initWithSuiteName:(id)arg1 executionCount:(unsigned long long)arg2 skipCount:(unsigned long long)arg3 expectedFailureCount:(unsigned long long)arg4 failureCount:(unsigned long long)arg5 unexpectedExceptionCount:(unsigned long long)arg6; +- (id)initWithSuiteName:(id)arg1 executionCount:(unsigned long long)arg2 skipCount:(unsigned long long)arg3 failureCount:(unsigned long long)arg4 unexpectedExceptionCount:(unsigned long long)arg5; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTApplicationLaunchMetric.h b/bp/src/PrivateHeaders/XCTest/XCTApplicationLaunchMetric.h new file mode 100644 index 00000000..54d27d70 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTApplicationLaunchMetric.h @@ -0,0 +1,41 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import +#import + +@class MXMOSSignpostMetric, NSString; + +@interface XCTApplicationLaunchMetric : NSObject +{ + NSString *_instrumentationName; + MXMOSSignpostMetric *__underlyingMetric; +} + +- (void).cxx_destruct; +@property(retain, nonatomic) MXMOSSignpostMetric *_underlyingMetric; // @synthesize _underlyingMetric=__underlyingMetric; +@property(readonly, nonatomic) NSString *instrumentationName; // @synthesize instrumentationName=_instrumentationName; +- (id)reportMeasurementsFromStartTime:(id)arg1 toEndTime:(id)arg2 error:(id *)arg3; +- (void)didStopMeasuringAtTimestamp:(id)arg1; +- (void)didStartMeasuringAtTimestamp:(id)arg1; +- (void)willBeginMeasuringAtEstimatedTimestamp:(id)arg1; +- (void)prepareToMeasureWithOptions:(id)arg1; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (id)initWithUnderlyingMetric:(id)arg1; +- (id)initWithSubsystem:(id)arg1 category:(id)arg2 name:(id)arg3; +- (id)initWithWaitUntilResponsive:(_Bool)arg1; +- (id)init; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTAsyncActivity-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTAsyncActivity-Protocol.h deleted file mode 100644 index abe75739..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCTAsyncActivity-Protocol.h +++ /dev/null @@ -1,16 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSError; - -@protocol XCTAsyncActivity -@property(readonly) _Bool timedOut; -@property(readonly) NSError *error; -- (void)finishWithError:(NSError *)arg1; -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCTAsyncActivity.h b/bp/src/PrivateHeaders/XCTest/XCTAsyncActivity.h deleted file mode 100644 index 21111526..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCTAsyncActivity.h +++ /dev/null @@ -1,31 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import - -#import "XCTAsyncActivity.h" - -@class NSError, NSString; - -@interface XCTAsyncActivity : XCTestExpectation -{ - NSError *_error; - _Bool _timedOut; -} - -@property _Bool timedOut; // @synthesize timedOut=_timedOut; -@property(retain) NSError *error; // @synthesize error=_error; -- (void)dealloc; -- (void)finishWithError:(id)arg1; - -// Remaining properties -@property(readonly, copy) NSString *debugDescription; -@property(readonly, copy) NSString *description; -@property(readonly) unsigned long long hash; -@property(readonly) Class superclass; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCTAttachment.h b/bp/src/PrivateHeaders/XCTest/XCTAttachment.h index 977b84fe..fad20f25 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTAttachment.h +++ b/bp/src/PrivateHeaders/XCTest/XCTAttachment.h @@ -1,21 +1,29 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "NSSecureCoding.h" +#import -@class NSData, NSDate, NSDictionary, NSString, _XCTAttachmentImplementation; +@class NSData, NSDate, NSDictionary, NSString; @interface XCTAttachment : NSObject { - id _internalImplementation; + _Bool _hasPayload; + NSString *_uniformTypeIdentifier; + NSString *_name; + NSDictionary *_userInfo; + CDUnknownBlockType _serializationBlock; + long long _internalLifetime; + NSDate *_timestamp; + NSString *_fileNameOverride; + NSData *_payload; } -+ (id)attachmentWithXCTImage:(id)arg1 quality:(long long)arg2; ++ (id)attachmentWithXCTImage:(id)arg1; + (id)_attachmentWithUniformTypeIdentifier:(id)arg1 name:(id)arg2 serializationBlock:(CDUnknownBlockType)arg3; + (id)attachmentWithUniformTypeIdentifier:(id)arg1 name:(id)arg2 payload:(id)arg3 userInfo:(id)arg4; + (_Bool)supportsSecureCoding; @@ -38,25 +46,27 @@ + (id)attachmentWithData:(id)arg1; + (id)attachmentWithData:(id)arg1 uniformTypeIdentifier:(id)arg2; + (id)_attachmentWithData:(id)arg1 uniformTypeIdentifier:(id)arg2; -@property(readonly) _XCTAttachmentImplementation *internalImplementation; // @synthesize internalImplementation=_internalImplementation; +- (void).cxx_destruct; +@property(readonly) _Bool hasPayload; // @synthesize hasPayload=_hasPayload; +@property(readonly, copy) NSData *payload; // @synthesize payload=_payload; +@property(copy) NSString *fileNameOverride; // @synthesize fileNameOverride=_fileNameOverride; +@property(copy) NSDate *timestamp; // @synthesize timestamp=_timestamp; +@property long long internalLifetime; // @synthesize internalLifetime=_internalLifetime; +@property(copy) CDUnknownBlockType serializationBlock; // @synthesize serializationBlock=_serializationBlock; +@property(copy) NSDictionary *userInfo; // @synthesize userInfo=_userInfo; +@property(copy) NSString *name; // @synthesize name=_name; +@property(readonly, copy) NSString *uniformTypeIdentifier; // @synthesize uniformTypeIdentifier=_uniformTypeIdentifier; - (id)debugQuickLookObject; - (void)makeSystem; - (id)debugDescription; - (void)_writeToUserInfoWithBlock:(CDUnknownBlockType)arg1; +- (_Bool)isEqual:(id)arg1; +- (unsigned long long)hash; - (void)encodeWithCoder:(id)arg1; - (id)initWithCoder:(id)arg1; - (void)prepareForEncoding; -@property(readonly) _Bool hasPayload; -@property(copy) NSString *fileNameOverride; -@property(readonly, copy) NSData *payload; -@property(copy) NSDictionary *userInfo; -@property(copy) NSDate *timestamp; -@property(copy) NSString *name; @property long long lifetime; -@property long long internalLifetime; -@property(readonly, copy) NSString *uniformTypeIdentifier; - (id)initWithUniformTypeIdentifier:(id)arg1 name:(id)arg2 serializationBlock:(CDUnknownBlockType)arg3; -- (void)dealloc; - (id)initWithUniformTypeIdentifier:(id)arg1 name:(id)arg2 payload:(id)arg3 userInfo:(id)arg4; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTAttachmentManager.h b/bp/src/PrivateHeaders/XCTest/XCTAttachmentManager.h index 915643e1..739c6ece 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTAttachmentManager.h +++ b/bp/src/PrivateHeaders/XCTest/XCTAttachmentManager.h @@ -1,24 +1,26 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSMutableArray, XCTestCase; +__attribute__((visibility("hidden"))) @interface XCTAttachmentManager : NSObject { _Bool _isValid; - NSMutableArray *_attachments; XCTestCase *_testCase; + NSMutableArray *_attachments; } + (void)_synthesizeActivityForAttachment:(id)arg1 testCase:(id)arg2; +- (void).cxx_destruct; @property _Bool isValid; // @synthesize isValid=_isValid; -@property(readonly) XCTestCase *testCase; // @synthesize testCase=_testCase; @property(readonly) NSMutableArray *attachments; // @synthesize attachments=_attachments; +@property(readonly) XCTestCase *testCase; // @synthesize testCase=_testCase; - (void)enqueueAttachment:(id)arg1; - (void)dequeueAndReportBackgroundAttachments; - (void)ensureNoRemainingAttachments; diff --git a/bp/src/PrivateHeaders/XCTest/XCTAutomationTarget-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTAutomationTarget-Protocol.h deleted file mode 100644 index 61dc0247..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCTAutomationTarget-Protocol.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class XCTElementQuery; - -@protocol XCTAutomationTarget -- (void)fetchMatchesForQuery:(XCTElementQuery *)arg1 reply:(void (^)(XCTElementQueryResults *, NSError *))arg2; -- (void)requestHostAppExecutableNameWithReply:(void (^)(NSString *))arg1; -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCTBlockingQueue.h b/bp/src/PrivateHeaders/XCTest/XCTBlockingQueue.h new file mode 100644 index 00000000..2de6e01a --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTBlockingQueue.h @@ -0,0 +1,32 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSMutableArray; +@protocol OS_dispatch_queue, OS_dispatch_semaphore; + +@interface XCTBlockingQueue : NSObject +{ + _Bool _finalized; + NSObject *_mutex; + NSObject *_sema; + NSMutableArray *_objects; +} + +- (void).cxx_destruct; +@property _Bool finalized; // @synthesize finalized=_finalized; +@property(readonly) NSMutableArray *objects; // @synthesize objects=_objects; +@property(readonly) NSObject *sema; // @synthesize sema=_sema; +@property(readonly) NSObject *mutex; // @synthesize mutex=_mutex; +- (void)finalize; +- (id)dequeueObject; +- (void)enqueueObject:(id)arg1; +- (void)enqueueObjects:(id)arg1; +- (id)init; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTCPUMetric.h b/bp/src/PrivateHeaders/XCTest/XCTCPUMetric.h new file mode 100644 index 00000000..94b46dc0 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTCPUMetric.h @@ -0,0 +1,44 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import +#import + +@class MXMCPUMetric, NSString; + +@interface XCTCPUMetric : NSObject +{ + NSString *_instrumentationName; + MXMCPUMetric *__underlyingMetric; +} + +- (void).cxx_destruct; +@property(retain, nonatomic) MXMCPUMetric *_underlyingMetric; // @synthesize _underlyingMetric=__underlyingMetric; +@property(readonly, nonatomic) NSString *instrumentationName; // @synthesize instrumentationName=_instrumentationName; +- (id)reportMeasurementsFromStartTime:(id)arg1 toEndTime:(id)arg2 error:(id *)arg3; +- (void)didStopMeasuringAtTimestamp:(id)arg1; +- (void)didStartMeasuringAtTimestamp:(id)arg1; +- (void)willBeginMeasuringAtEstimatedTimestamp:(id)arg1; +- (void)prepareToMeasureWithOptions:(id)arg1; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (id)initWithUnderlyingMetric:(id)arg1; +- (id)initWithApplication:(id)arg1; +- (id)initWithProcessName:(id)arg1; +- (id)initWithProcessIdentifier:(int)arg1; +- (id)initWithBundleIdentifier:(id)arg1; +- (id)initLimitingToCurrentThread:(_Bool)arg1; +- (id)init; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTClockMetric.h b/bp/src/PrivateHeaders/XCTest/XCTClockMetric.h new file mode 100644 index 00000000..17d32f63 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTClockMetric.h @@ -0,0 +1,41 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import +#import + +@class MXMClockMetric, NSString; + +@interface XCTClockMetric : NSObject +{ + NSString *_instrumentationName; + MXMClockMetric *__underlyingMetric; +} + ++ (id)realTime; ++ (id)monotonicTime; +- (void).cxx_destruct; +@property(retain, nonatomic) MXMClockMetric *_underlyingMetric; // @synthesize _underlyingMetric=__underlyingMetric; +@property(readonly, nonatomic) NSString *instrumentationName; // @synthesize instrumentationName=_instrumentationName; +- (id)reportMeasurementsFromStartTime:(id)arg1 toEndTime:(id)arg2 error:(id *)arg3; +- (void)didStopMeasuringAtTimestamp:(id)arg1; +- (void)didStartMeasuringAtTimestamp:(id)arg1; +- (void)willBeginMeasuringAtEstimatedTimestamp:(id)arg1; +- (void)prepareToMeasureWithOptions:(id)arg1; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (id)initWithUnderlyingMetric:(id)arg1; +- (id)init; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTCompoundExpectation.h b/bp/src/PrivateHeaders/XCTest/XCTCompoundExpectation.h new file mode 100644 index 00000000..acc0ced6 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTCompoundExpectation.h @@ -0,0 +1,36 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSArray, NSString; + +@interface XCTCompoundExpectation : XCTestExpectation +{ + unsigned long long _logicalType; + NSArray *_subexpectations; +} + +- (void).cxx_destruct; +@property(readonly, copy) NSArray *subexpectations; // @synthesize subexpectations=_subexpectations; +@property(readonly) unsigned long long logicalType; // @synthesize logicalType=_logicalType; +- (void)didFulfillExpectation:(id)arg1; +- (void)cleanup; +- (_Bool)_queue_validateSubexpectationsFulfillment; +- (void)_updateFulfilledState; +- (void)dealloc; +- (id)initWithLogicalType:(unsigned long long)arg1 subexpectations:(id)arg2; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTContext.h b/bp/src/PrivateHeaders/XCTest/XCTContext.h index 1a576716..b0cd19e4 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTContext.h +++ b/bp/src/PrivateHeaders/XCTest/XCTContext.h @@ -1,40 +1,72 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -@class NSDictionary, _XCTContextImplementation; +#import -@interface XCTContext : NSObject +@class NSDate, NSDictionary, NSMutableArray, NSMutableDictionary, NSString, XCTActivityRecordStack, XCTestCase; + +@interface XCTContext : NSObject { - id _internalImplementation; + _Bool _valid; + _Bool _isReportingBase; + NSDate *_startDate; + NSMutableDictionary *_associatedObjects; + NSMutableArray *_tearDownBlocks; + XCTContext *_parent; + XCTestCase *_testCase; + XCTActivityRecordStack *_activityRecordStack; } -+ (void)popCurrentContextInThread:(id)arg1; + (_Bool)hasContextInThread:(id)arg1; + (id)currentContextInThread:(id)arg1; + (id)_currentContextInThread:(id)arg1; -+ (void)pushCurrentContext:(id)arg1 inThread:(id)arg2; ++ (void)runInContextForTestCase:(id)arg1 markAsReportingBase:(_Bool)arg2 block:(CDUnknownBlockType)arg3; + (void)runInContextForTestCase:(id)arg1 block:(CDUnknownBlockType)arg2; + (_Bool)shouldReportActivityWithType:(id)arg1 inTestMode:(long long)arg2; + (_Bool)_shouldReportActivityWithType:(id)arg1; ++ (void)_recordActivityMessageWithFormat:(id)arg1; + (void)_runActivityNamed:(id)arg1 block:(CDUnknownBlockType)arg2; ++ (void)runInternalActivityNamed:(id)arg1 block:(CDUnknownBlockType)arg2; ++ (void)_runActivityNamed:(id)arg1 type:(id)arg2 block:(CDUnknownBlockType)arg3; + (void)runActivityNamed:(id)arg1 block:(CDUnknownBlockType)arg2; + (id)currentContext; -@property(retain) _XCTContextImplementation *internalImplementation; // @synthesize internalImplementation=_internalImplementation; +- (void).cxx_destruct; +@property(readonly) XCTActivityRecordStack *activityRecordStack; // @synthesize activityRecordStack=_activityRecordStack; +@property(readonly) _Bool isReportingBase; // @synthesize isReportingBase=_isReportingBase; +@property(readonly) __weak XCTestCase *testCase; // @synthesize testCase=_testCase; +@property(readonly) XCTContext *parent; // @synthesize parent=_parent; +@property(readonly, getter=isValid) _Bool valid; // @synthesize valid=_valid; +@property(readonly) NSMutableArray *tearDownBlocks; // @synthesize tearDownBlocks=_tearDownBlocks; +@property(readonly) NSMutableDictionary *associatedObjects; // @synthesize associatedObjects=_associatedObjects; +@property(readonly, copy) NSDate *startDate; // @synthesize startDate=_startDate; +- (void)addTearDownBlock:(CDUnknownBlockType)arg1; +- (void)setAssociatedObject:(id)arg1 forKey:(id)arg2; +- (id)associatedObjectForKey:(id)arg1; @property(readonly) NSDictionary *aggregationRecords; - (id)topActivity; -- (long long)activityRecordStackDepth; +@property(readonly) unsigned long long activityRecordStackDepth; - (void)unwindRemainingActivities; +- (void)_reportEmptyActivityWithType:(id)arg1 format:(id)arg2; - (void)_runActivityNamed:(id)arg1 type:(id)arg2 block:(CDUnknownBlockType)arg3; - (void)didFinishActivity:(id)arg1; - (id)willStartActivityWithTitle:(id)arg1 type:(id)arg2; -- (id)initInternally; +@property(readonly) unsigned long long transitiveActivityRecordStackDepth; +@property(readonly) XCTContext *reportingBaseContext; +- (id)initWithParent:(id)arg1 testCase:(id)arg2; +- (void)invalidate; - (void)_runActivityNamed:(id)arg1 block:(CDUnknownBlockType)arg2; -- (void)dealloc; +@property(readonly) NSMutableArray *interruptionHandlers; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTDaemonTelemetryLogger.h b/bp/src/PrivateHeaders/XCTest/XCTDaemonTelemetryLogger.h new file mode 100644 index 00000000..20c23551 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTDaemonTelemetryLogger.h @@ -0,0 +1,51 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSMutableDictionary, NSString; +@protocol OS_dispatch_group; + +@interface XCTDaemonTelemetryLogger : NSObject +{ + _Bool _isUITest; + CDUnknownBlockType _eventDataSink; + NSString *_sessionUUID; + NSString *_osVersion; + NSString *_hardwareModel; + NSString *_frameworkVariant; + NSMutableDictionary *_localEvents; + NSObject *_submissionGroup; +} + ++ (_Bool)telemetrySupported; +- (void).cxx_destruct; +@property(readonly) NSObject *submissionGroup; // @synthesize submissionGroup=_submissionGroup; +@property(retain) NSMutableDictionary *localEvents; // @synthesize localEvents=_localEvents; +@property(readonly) _Bool isUITest; // @synthesize isUITest=_isUITest; +@property(readonly, copy) NSString *frameworkVariant; // @synthesize frameworkVariant=_frameworkVariant; +@property(readonly, copy) NSString *hardwareModel; // @synthesize hardwareModel=_hardwareModel; +@property(readonly, copy) NSString *osVersion; // @synthesize osVersion=_osVersion; +@property(readonly, copy) NSString *sessionUUID; // @synthesize sessionUUID=_sessionUUID; +@property(readonly, copy) CDUnknownBlockType eventDataSink; // @synthesize eventDataSink=_eventDataSink; +- (void)flushWithCompletion:(CDUnknownBlockType)arg1; +- (void)logUsageOfFunction:(id)arg1; +- (void)logUsageOfClass:(id)arg1 method:(id)arg2; +- (void)logEventWithName:(id)arg1; +- (id)initWithSessionUUID:(id)arg1 OSVersion:(id)arg2 hardwareModel:(id)arg3 frameworkVariant:(id)arg4 isUITest:(_Bool)arg5 eventDataSink:(CDUnknownBlockType)arg6; +- (id)initWithEventDataSink:(CDUnknownBlockType)arg1; +- (id)init; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTDarwinNotificationExpectation.h b/bp/src/PrivateHeaders/XCTest/XCTDarwinNotificationExpectation.h index 248809d0..bc35a495 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTDarwinNotificationExpectation.h +++ b/bp/src/PrivateHeaders/XCTest/XCTDarwinNotificationExpectation.h @@ -1,22 +1,31 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // #import -@class NSString, _XCTDarwinNotificationExpectationImplementation; +@class NSObject, NSString; +@protocol OS_dispatch_queue; @interface XCTDarwinNotificationExpectation : XCTestExpectation { - _XCTDarwinNotificationExpectationImplementation *_internal; + _Bool _hasCleanedUp; + int _notifyToken; + CDUnknownBlockType _handler; + NSString *_notificationName; + NSObject *_queue; } -@property(retain) _XCTDarwinNotificationExpectationImplementation *internal; // @synthesize internal=_internal; +- (void).cxx_destruct; +@property _Bool hasCleanedUp; // @synthesize hasCleanedUp=_hasCleanedUp; +@property int notifyToken; // @synthesize notifyToken=_notifyToken; +@property(readonly) NSObject *queue; // @synthesize queue=_queue; +@property(readonly, copy) NSString *notificationName; // @synthesize notificationName=_notificationName; - (void)cleanup; -@property(copy) CDUnknownBlockType handler; -@property(readonly, copy) NSString *notificationName; +- (void)_handleNotification; +@property(copy) CDUnknownBlockType handler; // @synthesize handler=_handler; - (id)initWithNotificationName:(id)arg1; - (void)dealloc; diff --git a/bp/src/PrivateHeaders/XCTest/XCTDefaultDebugLogHandler.h b/bp/src/PrivateHeaders/XCTest/XCTDefaultDebugLogHandler.h new file mode 100644 index 00000000..e1efe9ab --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTDefaultDebugLogHandler.h @@ -0,0 +1,41 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import +#import + +@class NSMutableArray, NSString; +@protocol OS_dispatch_queue, XCDebugLogDelegate; + +__attribute__((visibility("hidden"))) +@interface XCTDefaultDebugLogHandler : NSObject +{ + id _logSink; + NSMutableArray *_debugMessageBuffer; + NSObject *_queue; +} + ++ (id)sharedHandler; +- (void).cxx_destruct; +@property(readonly) NSObject *queue; // @synthesize queue=_queue; +@property(readonly) NSMutableArray *debugMessageBuffer; // @synthesize debugMessageBuffer=_debugMessageBuffer; +@property(retain) id logSink; // @synthesize logSink=_logSink; +- (void)logDebugMessage:(id)arg1; +- (void)_queue_flushDebugMessageBufferWithBlock:(CDUnknownBlockType)arg1; +- (void)printBufferedDebugMessages; +- (void)logStartupInfo; +- (id)init; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTElementSnapshotAttributeDataSource-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTElementSnapshotAttributeDataSource-Protocol.h index 7fad155f..126a95d9 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTElementSnapshotAttributeDataSource-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCTElementSnapshotAttributeDataSource-Protocol.h @@ -1,14 +1,21 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -@class NSArray, NSDictionary, XCAccessibilityElement; +@class NSArray, NSDictionary, NSString, XCAccessibilityElement; -@protocol XCTElementSnapshotAttributeDataSource +@protocol XCTElementSnapshotAttributeDataSource +@property(readonly) _Bool providesValuesForPrivilegedAttributes; +@property(readonly) _Bool hasBannerNotificationIsStickyAttribute; +@property(readonly) _Bool usePointTransformationsForFrameConversions; +@property(readonly) _Bool supportsHostedViewCoordinateTransformations; +@property(readonly) _Bool allowsRemoteAccess; +- (id)parameterizedAttribute:(NSString *)arg1 forElement:(XCAccessibilityElement *)arg2 parameter:(id)arg3 error:(id *)arg4; +- (NSDictionary *)valuesForPrivilegedAttributes:(NSArray *)arg1 forElement:(XCAccessibilityElement *)arg2 error:(id *)arg3; - (NSDictionary *)attributesForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 error:(id *)arg3; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTElementSnapshotProvider-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTElementSnapshotProvider-Protocol.h index 855d5557..2f63bd5e 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTElementSnapshotProvider-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCTElementSnapshotProvider-Protocol.h @@ -1,14 +1,14 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -@class NSArray, NSDictionary, XCAccessibilityElement, XCElementSnapshot; +@class NSArray, NSDictionary, XCAccessibilityElement, XCElementSnapshot, XCTTimeoutControls; @protocol XCTElementSnapshotProvider -- (XCElementSnapshot *)snapshotForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 parameters:(NSDictionary *)arg3 error:(id *)arg4; +- (XCElementSnapshot *)snapshotForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 parameters:(NSDictionary *)arg3 timeoutControls:(XCTTimeoutControls *)arg4 error:(id *)arg5; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTExpectedFailure.h b/bp/src/PrivateHeaders/XCTest/XCTExpectedFailure.h new file mode 100644 index 00000000..4358d43d --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTExpectedFailure.h @@ -0,0 +1,30 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSString, XCTIssue; + +@interface XCTExpectedFailure : NSObject +{ + NSString *_failureReason; + XCTIssue *_issue; +} + ++ (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property(readonly, copy) XCTIssue *issue; // @synthesize issue=_issue; +@property(readonly, copy) NSString *failureReason; // @synthesize failureReason=_failureReason; +- (id)initWithCoder:(id)arg1; +- (void)encodeWithCoder:(id)arg1; +- (_Bool)isEqual:(id)arg1; +- (unsigned long long)hash; +- (id)initWithFailureReason:(id)arg1 issue:(id)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTExpectedFailureContext.h b/bp/src/PrivateHeaders/XCTest/XCTExpectedFailureContext.h new file mode 100644 index 00000000..f7cd5c02 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTExpectedFailureContext.h @@ -0,0 +1,30 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSString, XCTExpectedFailureOptions, XCTSourceCodeContext; + +@interface XCTExpectedFailureContext : NSObject +{ + _Bool _hasMatchedIssues; + XCTExpectedFailureOptions *_options; + NSString *_failureReason; + XCTSourceCodeContext *_sourceCodeContext; + unsigned long long _threadId; +} + +- (void).cxx_destruct; +@property(readonly) unsigned long long threadId; // @synthesize threadId=_threadId; +@property _Bool hasMatchedIssues; // @synthesize hasMatchedIssues=_hasMatchedIssues; +@property(retain) XCTSourceCodeContext *sourceCodeContext; // @synthesize sourceCodeContext=_sourceCodeContext; +@property(readonly, copy) NSString *failureReason; // @synthesize failureReason=_failureReason; +@property(readonly, copy) XCTExpectedFailureOptions *options; // @synthesize options=_options; +- (_Bool)matchesIssue:(id)arg1; +- (id)initWithFailureReason:(id)arg1 options:(id)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTExpectedFailureContextManager.h b/bp/src/PrivateHeaders/XCTest/XCTExpectedFailureContextManager.h new file mode 100644 index 00000000..9ee3d0b4 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTExpectedFailureContextManager.h @@ -0,0 +1,34 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, NSMutableArray, NSMutableDictionary; +@protocol XCTIssueHandling; + +@interface XCTExpectedFailureContextManager : NSObject +{ + id _issueHandler; + NSMutableArray *_threadAgnosticContextStack; + NSMutableDictionary *_contextStacksByThreadId; +} + +- (void).cxx_destruct; +@property(readonly) NSMutableDictionary *contextStacksByThreadId; // @synthesize contextStacksByThreadId=_contextStacksByThreadId; +@property(readonly) NSMutableArray *threadAgnosticContextStack; // @synthesize threadAgnosticContextStack=_threadAgnosticContextStack; +@property(readonly) __weak id issueHandler; // @synthesize issueHandler=_issueHandler; +- (void)checkForExpectedFailureMatchingIssue:(id)arg1; +- (void)popExpectedFailureContext:(id)arg1; +- (void)pushExpectedFailureContext:(id)arg1; +@property(readonly) NSArray *immutableExpectedFailureContextStackForCurrentThread; +- (id)expectedFailureContextStackForCurrentThread; +- (id)expectedFailureContextStackForThreadWithId:(unsigned long long)arg1; +- (void)_cleanUpContext:(id)arg1; +- (void)invalidate; +- (id)initWithIssueHandler:(id)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTExpectedFailureOptions.h b/bp/src/PrivateHeaders/XCTest/XCTExpectedFailureOptions.h new file mode 100644 index 00000000..4e798628 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTExpectedFailureOptions.h @@ -0,0 +1,31 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@interface XCTExpectedFailureOptions : NSObject +{ + _Bool _enabled; + _Bool _strict; + _Bool _matchesNestedUnmatchedExpectedFailures; + _Bool _restrictsMatchesToSameThread; + CDUnknownBlockType _issueMatcher; +} + ++ (id)forNondeterministicTestFailure; +- (void).cxx_destruct; +@property _Bool restrictsMatchesToSameThread; // @synthesize restrictsMatchesToSameThread=_restrictsMatchesToSameThread; +@property _Bool matchesNestedUnmatchedExpectedFailures; // @synthesize matchesNestedUnmatchedExpectedFailures=_matchesNestedUnmatchedExpectedFailures; +@property(getter=isStrict) _Bool strict; // @synthesize strict=_strict; +@property(getter=isEnabled) _Bool enabled; // @synthesize enabled=_enabled; +@property(copy) CDUnknownBlockType issueMatcher; // @synthesize issueMatcher=_issueMatcher; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (id)init; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTFixedPriorityTestScheduler.h b/bp/src/PrivateHeaders/XCTest/XCTFixedPriorityTestScheduler.h new file mode 100644 index 00000000..f01051a4 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTFixedPriorityTestScheduler.h @@ -0,0 +1,47 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSMutableArray, NSMutableSet, XCTTestIdentifierSet; +@protocol OS_dispatch_queue, XCTTestSchedulerDelegate; + +@interface XCTFixedPriorityTestScheduler : NSObject +{ + _Bool _hasStarted; + NSObject *_workerQueue; + id _delegate; + NSObject *_delegateQueue; + NSObject *_queue; + NSMutableArray *_undispatchedTestIdentifierGroups; + XCTTestIdentifierSet *_testIdentifiersToSkip; + NSMutableSet *_inFlightWorkers; + CDUnknownBlockType _prioritizer; + NSMutableSet *_queuedWorkers; +} + ++ (CDUnknownBlockType)classBasedLPTPrioritizerForClassTimes:(id)arg1 fallbackExecutionOrdering:(long long)arg2; +- (void).cxx_destruct; +@property(readonly) NSMutableSet *queuedWorkers; // @synthesize queuedWorkers=_queuedWorkers; +@property _Bool hasStarted; // @synthesize hasStarted=_hasStarted; +@property(readonly) CDUnknownBlockType prioritizer; // @synthesize prioritizer=_prioritizer; +@property(readonly) NSMutableSet *inFlightWorkers; // @synthesize inFlightWorkers=_inFlightWorkers; +@property(retain) XCTTestIdentifierSet *testIdentifiersToSkip; // @synthesize testIdentifiersToSkip=_testIdentifiersToSkip; +@property(retain) NSMutableArray *undispatchedTestIdentifierGroups; // @synthesize undispatchedTestIdentifierGroups=_undispatchedTestIdentifierGroups; +@property(readonly) NSObject *queue; // @synthesize queue=_queue; +@property(retain) NSObject *delegateQueue; // @synthesize delegateQueue=_delegateQueue; +@property __weak id delegate; // @synthesize delegate=_delegate; +@property(retain) NSObject *workerQueue; // @synthesize workerQueue=_workerQueue; +- (void)startWithTestIdentifiersToRun:(id)arg1 testIdentifiersToSkip:(id)arg2; +- (void)workerDidBecomeAvailable:(id)arg1; +- (void)_queue_dispatchWorkToWorker:(id)arg1; +- (id)_queue_nextBatchOfWork; +- (id)initWithPrioritizer:(CDUnknownBlockType)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTFuture.h b/bp/src/PrivateHeaders/XCTest/XCTFuture.h new file mode 100644 index 00000000..e3886023 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTFuture.h @@ -0,0 +1,45 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSError, NSMutableSet, XCTPromise, XCTWaiter; + +@interface XCTFuture : NSObject +{ + _Bool _canceled; + _Bool _hasWaited; + _Bool _hasFinished; + id _value; + NSError *_error; + double _executionTime; + double _startTime; + double _deadline; + XCTPromise *_promise; + XCTWaiter *_waiter; + NSMutableSet *_cancelationExpectations; +} + ++ (id)futureWithDescription:(id)arg1 block:(CDUnknownBlockType)arg2; ++ (id)futureWithTimeout:(double)arg1 description:(id)arg2 block:(CDUnknownBlockType)arg3; +- (void).cxx_destruct; +@property(readonly) NSMutableSet *cancelationExpectations; // @synthesize cancelationExpectations=_cancelationExpectations; +@property _Bool hasFinished; // @synthesize hasFinished=_hasFinished; +@property _Bool hasWaited; // @synthesize hasWaited=_hasWaited; +@property(readonly) XCTWaiter *waiter; // @synthesize waiter=_waiter; +@property(readonly) XCTPromise *promise; // @synthesize promise=_promise; +@property(readonly) double deadline; // @synthesize deadline=_deadline; +@property(readonly) double startTime; // @synthesize startTime=_startTime; +@property(readonly) double executionTime; // @synthesize executionTime=_executionTime; +@property(readonly, getter=isCanceled) _Bool canceled; // @synthesize canceled=_canceled; +@property(readonly) id value; // @synthesize value=_value; +@property(readonly) NSError *error; // @synthesize error=_error; +- (void)addCancelationExpectation:(id)arg1; +- (void)_waitForFulfillment; +- (id)initWithTimeout:(double)arg1 promise:(id)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTImage.h b/bp/src/PrivateHeaders/XCTest/XCTImage.h deleted file mode 100644 index 17d8fa3d..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCTImage.h +++ /dev/null @@ -1,38 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -#import "NSCopying.h" - -@class NSData, NSString, UIImage, _XCTImageImplementation; - -@interface XCTImage : NSObject -{ - _XCTImageImplementation *_internalImplementation; -} - -+ (id)_dataForImage:(id)arg1 quality:(long long)arg2; -+ (double)_scaleForImage:(id)arg1; -+ (id)UTIForQuality:(long long)arg1; -+ (double)compressionQualityForQuality:(long long)arg1; -@property(retain) _XCTImageImplementation *internalImplementation; // @synthesize internalImplementation=_internalImplementation; -- (id)debugQuickLookObject; -- (void)_ensureImage; -@property(readonly) double scale; -@property(copy) NSString *name; -- (id)attachment; -@property(readonly, copy) UIImage *image; -@property(readonly, copy) NSData *data; -- (id)dataWithQuality:(long long)arg1; -- (id)initWithData:(id)arg1 scale:(double)arg2; -- (id)initWithImage:(id)arg1; -- (id)copyWithZone:(struct _NSZone *)arg1; -- (id)_init; -- (void)dealloc; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCTImageEncoding-XCTImageQuality.h b/bp/src/PrivateHeaders/XCTest/XCTImageEncoding-XCTImageQuality.h new file mode 100644 index 00000000..26f5bdfb --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTImageEncoding-XCTImageQuality.h @@ -0,0 +1,18 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface XCTImageEncoding (XCTImageQuality) ++ (double)compressionQualityForQuality:(long long)arg1; ++ (id)uniformTypeIdentifierForQuality:(long long)arg1; ++ (id)systemScreenshotEncoding; ++ (_Bool)isValidCompressionQuality:(double)arg1 andCompressionQualityObject:(id)arg2; ++ (double)systemScreenshotCompressionQuality; ++ (id)systemScreenshotUniformTypeIdentifier; +- (id)initWithImageQuality:(long long)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTInProcessSymbolicationService.h b/bp/src/PrivateHeaders/XCTest/XCTInProcessSymbolicationService.h new file mode 100644 index 00000000..f149852e --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTInProcessSymbolicationService.h @@ -0,0 +1,41 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSSet, NSString; + +@interface XCTInProcessSymbolicationService : NSObject +{ + struct atomic_flag _symbolicatorInitialized; + NSSet *_imageNames; + struct _CSTypeRef _symbolicator; + CDStruct_7da0dd4a _symbolicationFunctions; +} + ++ (CDStruct_7da0dd4a)standardSymbolicationFunctions; ++ (void)registerSharedServiceWithConfiguration:(id)arg1; ++ (id)imageNamesFromEnvironmentVariables:(id)arg1; +- (void).cxx_destruct; +@property(readonly) struct atomic_flag symbolicatorInitialized; // @synthesize symbolicatorInitialized=_symbolicatorInitialized; +@property(readonly) struct _CSTypeRef symbolicator; // @synthesize symbolicator=_symbolicator; +@property(readonly) CDStruct_7da0dd4a symbolicationFunctions; // @synthesize symbolicationFunctions=_symbolicationFunctions; +@property(readonly, copy) NSSet *imageNames; // @synthesize imageNames=_imageNames; +- (void)_prepareForSymbolication; +- (id)symbolInfoForAddressInCurrentProcess:(unsigned long long)arg1 error:(id *)arg2; +- (id)initWithImageNames:(id)arg1; +- (id)initWithImageNames:(id)arg1 symbolicationFunctions:(CDStruct_7da0dd4a)arg2; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTIssue.h b/bp/src/PrivateHeaders/XCTest/XCTIssue.h new file mode 100644 index 00000000..a89ceaf5 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTIssue.h @@ -0,0 +1,65 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import +#import +#import + +@class NSArray, NSDate, NSError, NSString, XCTSourceCodeContext; + +@interface XCTIssue : NSObject +{ + struct atomic_flag _failureBreakPointCalled; + _Bool _isExpectedFailure; + _Bool _didInterruptTest; + _Bool _shouldInterruptTest; + long long _type; + NSString *_compactDescription; + NSString *_detailedDescription; + XCTSourceCodeContext *_sourceCodeContext; + NSError *_associatedError; + NSArray *_attachments; + NSDate *_timestamp; + unsigned long long _threadId; + NSString *_expectedFailureReason; +} + ++ (_Bool)supportsSecureCoding; ++ (id)issueWithType:(long long)arg1 compactDescription:(id)arg2 callStackAddresses:(id)arg3 filePath:(id)arg4 lineNumber:(long long)arg5; ++ (id)issueWithException:(id)arg1; ++ (id)issueWithType:(long long)arg1 compactDescription:(id)arg2 associatedError:(id)arg3; +- (void).cxx_destruct; +@property _Bool shouldInterruptTest; // @synthesize shouldInterruptTest=_shouldInterruptTest; +@property _Bool didInterruptTest; // @synthesize didInterruptTest=_didInterruptTest; +@property _Bool isExpectedFailure; // @synthesize isExpectedFailure=_isExpectedFailure; +@property(copy) NSString *expectedFailureReason; // @synthesize expectedFailureReason=_expectedFailureReason; +@property unsigned long long threadId; // @synthesize threadId=_threadId; +@property struct atomic_flag failureBreakPointCalled; // @synthesize failureBreakPointCalled=_failureBreakPointCalled; +@property(copy) NSDate *timestamp; // @synthesize timestamp=_timestamp; +@property(copy) NSArray *attachments; // @synthesize attachments=_attachments; +@property(retain) NSError *associatedError; // @synthesize associatedError=_associatedError; +@property(retain) XCTSourceCodeContext *sourceCodeContext; // @synthesize sourceCodeContext=_sourceCodeContext; +@property(copy) NSString *detailedDescription; // @synthesize detailedDescription=_detailedDescription; +@property(copy) NSString *compactDescription; // @synthesize compactDescription=_compactDescription; +@property long long type; // @synthesize type=_type; +- (_Bool)matchesLegacyPropertiesOfIssue:(id)arg1; +- (_Bool)isEqual:(id)arg1; +- (unsigned long long)hash; +- (id)initWithCoder:(id)arg1; +- (void)encodeWithCoder:(id)arg1; +@property(readonly) _Bool isLegacyExpectedFailure; +@property(readonly) _Bool isFailure; +- (id)description; +- (void)_updateAttachmentsTimestamps; +- (id)mutableCopyWithZone:(struct _NSZone *)arg1; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (id)initWithType:(long long)arg1 compactDescription:(id)arg2 detailedDescription:(id)arg3 sourceCodeContext:(id)arg4 associatedError:(id)arg5 attachments:(id)arg6; +- (id)initWithType:(long long)arg1 compactDescription:(id)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTIssueHandling-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTIssueHandling-Protocol.h new file mode 100644 index 00000000..4dc2a6e1 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTIssueHandling-Protocol.h @@ -0,0 +1,16 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@import Foundation; + +@class XCTExpectedFailureContext, XCTIssue; + +@protocol XCTIssueHandling +- (void)expectFailureWithContext:(XCTExpectedFailureContext *)arg1 inBlock:(void (^)(void))arg2; +- (void)expectFailureWithContext:(XCTExpectedFailureContext *)arg1; +- (void)handleIssue:(XCTIssue *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTKVOExpectation.h b/bp/src/PrivateHeaders/XCTest/XCTKVOExpectation.h index 2d298a3d..d1ef9854 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTKVOExpectation.h +++ b/bp/src/PrivateHeaders/XCTest/XCTKVOExpectation.h @@ -1,25 +1,35 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // #import -@class NSString, _XCKVOExpectationImplementation; +@class NSObject, NSString; +@protocol OS_dispatch_queue; @interface XCTKVOExpectation : XCTestExpectation { - _XCKVOExpectationImplementation *_internal; + _Bool _hasCleanedUp; + CDUnknownBlockType _handler; + NSString *_keyPath; + id _observedObject; + id _expectedValue; + unsigned long long _options; + NSObject *_queue; } -@property(retain) _XCKVOExpectationImplementation *internal; // @synthesize internal=_internal; +- (void).cxx_destruct; +@property _Bool hasCleanedUp; // @synthesize hasCleanedUp=_hasCleanedUp; +@property(readonly) NSObject *queue; // @synthesize queue=_queue; +@property(readonly) unsigned long long options; // @synthesize options=_options; +@property(readonly) id expectedValue; // @synthesize expectedValue=_expectedValue; +@property(readonly) id observedObject; // @synthesize observedObject=_observedObject; +@property(readonly, copy) NSString *keyPath; // @synthesize keyPath=_keyPath; - (void)cleanup; -@property(copy) CDUnknownBlockType handler; -@property(readonly) unsigned long long options; -@property(readonly) id expectedValue; -@property(readonly) id observedObject; -@property(readonly, copy) NSString *keyPath; +- (void)observeValueForKeyPath:(id)arg1 ofObject:(id)arg2 change:(id)arg3 context:(void *)arg4; +@property(copy) CDUnknownBlockType handler; // @synthesize handler=_handler; - (id)initWithKeyPath:(id)arg1 object:(id)arg2; - (id)initWithKeyPath:(id)arg1 object:(id)arg2 expectedValue:(id)arg3; - (id)initWithKeyPath:(id)arg1 object:(id)arg2 expectedValue:(id)arg3 options:(unsigned long long)arg4; diff --git a/bp/src/PrivateHeaders/XCTest/XCTMacCatalystStatusProviding-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMacCatalystStatusProviding-Protocol.h new file mode 100644 index 00000000..87226efd --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMacCatalystStatusProviding-Protocol.h @@ -0,0 +1,12 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@protocol XCTMacCatalystStatusProviding +- (_Bool)isMacCatalystForPID:(int)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMeasureOptions.h b/bp/src/PrivateHeaders/XCTest/XCTMeasureOptions.h new file mode 100644 index 00000000..98798ad7 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMeasureOptions.h @@ -0,0 +1,49 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, NSDictionary, NSString; + +@interface XCTMeasureOptions : NSObject +{ + _Bool _enableParallelizedSampling; + _Bool _scheduleKickOffOnNewThread; + _Bool _allowContinuousSampling; + _Bool _discardFirstIteration; + _Bool _traceCollectionEnabled; + _Bool _perfdataAttachmentEnabled; + unsigned long long _invocationOptions; + unsigned long long _iterationCount; + NSDictionary *_performanceTestConfiguration; + NSArray *_performanceTraceConfigurations; + NSString *_perfdataTestName; + double _quiesceCpuIdlePercent; + double _quiesceCpuIdleTimeLimit; +} + ++ (id)defaultOptions; +- (void).cxx_destruct; +@property(nonatomic) double quiesceCpuIdleTimeLimit; // @synthesize quiesceCpuIdleTimeLimit=_quiesceCpuIdleTimeLimit; +@property(nonatomic) double quiesceCpuIdlePercent; // @synthesize quiesceCpuIdlePercent=_quiesceCpuIdlePercent; +@property(nonatomic) _Bool perfdataAttachmentEnabled; // @synthesize perfdataAttachmentEnabled=_perfdataAttachmentEnabled; +@property(nonatomic) _Bool traceCollectionEnabled; // @synthesize traceCollectionEnabled=_traceCollectionEnabled; +@property(nonatomic) _Bool discardFirstIteration; // @synthesize discardFirstIteration=_discardFirstIteration; +@property(retain, nonatomic) NSString *perfdataTestName; // @synthesize perfdataTestName=_perfdataTestName; +@property(copy, nonatomic) NSArray *performanceTraceConfigurations; // @synthesize performanceTraceConfigurations=_performanceTraceConfigurations; +@property(retain, nonatomic) NSDictionary *performanceTestConfiguration; // @synthesize performanceTestConfiguration=_performanceTestConfiguration; +@property(nonatomic) _Bool allowContinuousSampling; // @synthesize allowContinuousSampling=_allowContinuousSampling; +@property(nonatomic) unsigned long long iterationCount; // @synthesize iterationCount=_iterationCount; +@property(nonatomic) unsigned long long invocationOptions; // @synthesize invocationOptions=_invocationOptions; +@property(readonly, nonatomic) unsigned long long instrumentAutomatic; +@property(nonatomic) _Bool allowConcurrentIterations; +- (void)applyPerformanceTestConfiguration; +@property(readonly, nonatomic) NSDictionary *instrumentOptions; +- (id)initWithInstrumentOptionsDictionary:(id)arg1; +- (id)init; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMetric.h b/bp/src/PrivateHeaders/XCTest/XCTMeasurement.h similarity index 66% rename from bp/src/PrivateHeaders/XCTest/XCTMetric.h rename to bp/src/PrivateHeaders/XCTest/XCTMeasurement.h index 0f2bb3bd..e686804d 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTMetric.h +++ b/bp/src/PrivateHeaders/XCTest/XCTMeasurement.h @@ -1,30 +1,33 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSArray, NSDictionary, NSString; -@interface XCTMetric : NSObject +__attribute__((visibility("hidden"))) +@interface XCTMeasurement : NSObject { NSString *_identifier; - NSString *_name; NSString *_units; + NSString *_name; NSDictionary *_baseline; NSDictionary *_defaultBaseline; NSArray *_measurements; + long long _polarity; } +- (void).cxx_destruct; +@property long long polarity; // @synthesize polarity=_polarity; @property(copy) NSArray *measurements; // @synthesize measurements=_measurements; @property(copy) NSDictionary *defaultBaseline; // @synthesize defaultBaseline=_defaultBaseline; @property(copy) NSDictionary *baseline; // @synthesize baseline=_baseline; -@property(copy) NSString *units; // @synthesize units=_units; @property(copy) NSString *name; // @synthesize name=_name; +@property(copy) NSString *units; // @synthesize units=_units; @property(copy) NSString *identifier; // @synthesize identifier=_identifier; -- (void)dealloc; - (id)init; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTMemoryMetric.h b/bp/src/PrivateHeaders/XCTest/XCTMemoryMetric.h new file mode 100644 index 00000000..38bc8465 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMemoryMetric.h @@ -0,0 +1,43 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import +#import + +@class MXMMemoryMetric, NSString; + +@interface XCTMemoryMetric : NSObject +{ + NSString *_instrumentationName; + MXMMemoryMetric *__underlyingMetric; +} + +- (void).cxx_destruct; +@property(retain, nonatomic) MXMMemoryMetric *_underlyingMetric; // @synthesize _underlyingMetric=__underlyingMetric; +@property(readonly, nonatomic) NSString *instrumentationName; // @synthesize instrumentationName=_instrumentationName; +- (id)reportMeasurementsFromStartTime:(id)arg1 toEndTime:(id)arg2 error:(id *)arg3; +- (void)didStopMeasuringAtTimestamp:(id)arg1; +- (void)didStartMeasuringAtTimestamp:(id)arg1; +- (void)willBeginMeasuringAtEstimatedTimestamp:(id)arg1; +- (void)prepareToMeasureWithOptions:(id)arg1; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (id)initWithUnderlyingMetric:(id)arg1; +- (id)initWithApplication:(id)arg1; +- (id)initWithProcessName:(id)arg1; +- (id)initWithProcessIdentifier:(int)arg1; +- (id)initWithBundleIdentifier:(id)arg1; +- (id)init; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_DaemonRecorderToIDE-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_DaemonRecorderToIDE-Protocol.h new file mode 100644 index 00000000..9497609f --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_DaemonRecorderToIDE-Protocol.h @@ -0,0 +1,15 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import +#import + +@protocol XCTMessagingChannel_DaemonRecorderToIDE + +@optional +- (void)__dummy_method_to_work_around_68987191; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_DaemonToIDE-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_DaemonToIDE-Protocol.h new file mode 100644 index 00000000..b5166ddb --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_DaemonToIDE-Protocol.h @@ -0,0 +1,17 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import +#import +#import +#import + +@protocol XCTMessagingChannel_DaemonToIDE + +@optional +- (void)__dummy_method_to_work_around_68987191; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_DaemonToIDE_All-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_DaemonToIDE_All-Protocol.h new file mode 100644 index 00000000..a2de0b89 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_DaemonToIDE_All-Protocol.h @@ -0,0 +1,16 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import +#import +#import + +@protocol XCTMessagingChannel_DaemonToIDE_All + +@optional +- (void)__dummy_method_to_work_around_68987191; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_DaemonToRunner-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_DaemonToRunner-Protocol.h new file mode 100644 index 00000000..27a49da6 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_DaemonToRunner-Protocol.h @@ -0,0 +1,16 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import +#import +#import + +@protocol XCTMessagingChannel_DaemonToRunner + +@optional +- (void)__dummy_method_to_work_around_68987191; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_IDEToDaemon-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_IDEToDaemon-Protocol.h new file mode 100644 index 00000000..a55fb05a --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_IDEToDaemon-Protocol.h @@ -0,0 +1,18 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import +#import +#import +#import +#import + +@protocol XCTMessagingChannel_IDEToDaemon + +@optional +- (void)__dummy_method_to_work_around_68987191; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_IDEToRunner-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_IDEToRunner-Protocol.h new file mode 100644 index 00000000..6e019a1c --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_IDEToRunner-Protocol.h @@ -0,0 +1,17 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import +#import +#import +#import + +@protocol XCTMessagingChannel_IDEToRunner + +@optional +- (void)__dummy_method_to_work_around_68987191; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_RunnerToDaemon-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_RunnerToDaemon-Protocol.h new file mode 100644 index 00000000..1a7c94c9 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_RunnerToDaemon-Protocol.h @@ -0,0 +1,21 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import +#import +#import +#import +#import +#import +#import +#import + +@protocol XCTMessagingChannel_RunnerToDaemon + +@optional +- (void)__dummy_method_to_work_around_68987191; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_RunnerToIDE-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_RunnerToIDE-Protocol.h new file mode 100644 index 00000000..efe85eaa --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_RunnerToIDE-Protocol.h @@ -0,0 +1,23 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import + +@protocol XCTMessagingChannel_RunnerToIDE + +@optional +- (void)__dummy_method_to_work_around_68987191; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_RunnerToUIProcess-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_RunnerToUIProcess-Protocol.h new file mode 100644 index 00000000..37e1945a --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingChannel_RunnerToUIProcess-Protocol.h @@ -0,0 +1,15 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import +#import + +@protocol XCTMessagingChannel_RunnerToUIProcess + +@optional +- (void)__dummy_method_to_work_around_68987191; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_AccessibilityNotificationReporting-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_AccessibilityNotificationReporting-Protocol.h new file mode 100644 index 00000000..641d2ec6 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_AccessibilityNotificationReporting-Protocol.h @@ -0,0 +1,13 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSData, XCAccessibilityElement; + +@protocol XCTMessagingRole_AccessibilityNotificationReporting +- (void)_XCT_receivedAccessibilityNotification:(int)arg1 fromElement:(XCAccessibilityElement *)arg2 payload:(NSData *)arg3; +- (void)_XCT_receivedAccessibilityNotification:(int)arg1 withPayload:(NSData *)arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_ActivityReporting-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_ActivityReporting-Protocol.h new file mode 100644 index 00000000..b2c43e86 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_ActivityReporting-Protocol.h @@ -0,0 +1,13 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class XCActivityRecord, XCTTestIdentifier; + +@protocol XCTMessagingRole_ActivityReporting +- (id)_XCT_testCaseWithIdentifier:(XCTTestIdentifier *)arg1 didFinishActivity:(XCActivityRecord *)arg2; +- (id)_XCT_testCaseWithIdentifier:(XCTTestIdentifier *)arg1 willStartActivity:(XCActivityRecord *)arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_ActivityReporting_Legacy-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_ActivityReporting_Legacy-Protocol.h new file mode 100644 index 00000000..66a334a9 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_ActivityReporting_Legacy-Protocol.h @@ -0,0 +1,13 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSString, XCActivityRecord; + +@protocol XCTMessagingRole_ActivityReporting_Legacy +- (id)_XCT_testCase:(NSString *)arg1 method:(NSString *)arg2 didFinishActivity:(XCActivityRecord *)arg3; +- (id)_XCT_testCase:(NSString *)arg1 method:(NSString *)arg2 willStartActivity:(XCActivityRecord *)arg3; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_BundleRequesting-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_BundleRequesting-Protocol.h new file mode 100644 index 00000000..f0146fcb --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_BundleRequesting-Protocol.h @@ -0,0 +1,10 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@protocol XCTMessagingRole_BundleRequesting +- (void)_XCT_requestBundleIDForPID:(int)arg1 reply:(void (^)(NSString *, NSError *))arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTestManager_ManagerInterface-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_CapabilityExchange-Protocol.h similarity index 59% rename from bp/src/PrivateHeaders/XCTest/XCTestManager_ManagerInterface-Protocol.h rename to bp/src/PrivateHeaders/XCTest/XCTMessagingRole_CapabilityExchange-Protocol.h index 51749902..3f970c11 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestManager_ManagerInterface-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_CapabilityExchange-Protocol.h @@ -1,29 +1,19 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -@class NSArray, NSDictionary, NSNumber, NSString, NSURL, NSUUID, XCAccessibilityElement, XCDeviceEvent, XCSynthesizedEventRecord; +@class NSArray, NSDictionary, NSNumber, NSString, NSUUID, XCAccessibilityElement, XCTCapabilities, XCTScreenshotRequest, XCTSpindumpRequestSpecification; -@protocol XCTestManager_ManagerInterface -- (void)_XCT_requestBundleIDForPID:(int)arg1 reply:(void (^)(NSString *, NSError *))arg2; -- (void)_XCT_injectVoiceRecognitionAudioInputPaths:(NSArray *)arg1 completion:(void (^)(_Bool, NSError *))arg2; -- (void)_XCT_injectAssistantRecognitionStrings:(NSArray *)arg1 completion:(void (^)(_Bool, NSError *))arg2; -- (void)_XCT_startSiriUIRequestWithAudioFileURL:(NSURL *)arg1 completion:(void (^)(_Bool, NSError *))arg2; -- (void)_XCT_startSiriUIRequestWithText:(NSString *)arg1 completion:(void (^)(_Bool, NSError *))arg2; -- (void)_XCT_enableFauxCollectionViewCells:(void (^)(_Bool, NSError *))arg1; -- (void)_XCT_loadAccessibilityWithTimeout:(double)arg1 reply:(void (^)(_Bool, NSError *))arg2; -- (void)_XCT_setAXTimeout:(double)arg1 reply:(void (^)(int))arg2; -- (void)_XCT_requestScreenshotWithReply:(void (^)(NSData *, NSError *))arg1; -- (void)_XCT_sendString:(NSString *)arg1 maximumFrequency:(unsigned long long)arg2 completion:(void (^)(NSError *))arg3; -- (void)_XCT_updateDeviceOrientation:(long long)arg1 completion:(void (^)(NSError *))arg2; -- (void)_XCT_performDeviceEvent:(XCDeviceEvent *)arg1 completion:(void (^)(NSError *))arg2; -- (void)_XCT_synthesizeEvent:(XCSynthesizedEventRecord *)arg1 completion:(void (^)(NSError *))arg2; +@protocol XCTMessagingRole_CapabilityExchange - (void)_XCT_requestElementAtPoint:(struct CGPoint)arg1 reply:(void (^)(XCAccessibilityElement *, NSError *))arg2; +- (void)_XCT_fetchParameterizedAttribute:(NSString *)arg1 forElement:(XCAccessibilityElement *)arg2 parameter:(id)arg3 reply:(void (^)(id, NSError *))arg4; - (void)_XCT_fetchParameterizedAttributeForElement:(XCAccessibilityElement *)arg1 attributes:(NSNumber *)arg2 parameter:(id)arg3 reply:(void (^)(id, NSError *))arg4; - (void)_XCT_setAttribute:(NSNumber *)arg1 value:(id)arg2 element:(XCAccessibilityElement *)arg3 reply:(void (^)(_Bool, NSError *))arg4; +- (void)_XCT_fetchAttributes:(NSArray *)arg1 forElement:(XCAccessibilityElement *)arg2 reply:(void (^)(NSDictionary *, NSError *))arg3; - (void)_XCT_fetchAttributesForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 reply:(void (^)(NSDictionary *, NSError *))arg3; +- (void)_XCT_fetchSnapshotForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 parameters:(NSDictionary *)arg3 reply:(void (^)(XCUIElementSnapshotRequestResult *, NSError *))arg4; - (void)_XCT_requestSnapshotForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 parameters:(NSDictionary *)arg3 reply:(void (^)(XCElementSnapshot *, NSError *))arg4; - (void)_XCT_snapshotForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 parameters:(NSDictionary *)arg3 reply:(void (^)(XCElementSnapshot *, NSError *))arg4; - (void)_XCT_terminateApplicationWithBundleID:(NSString *)arg1 completion:(void (^)(NSError *))arg2; @@ -32,14 +22,17 @@ - (void)_XCT_registerForAccessibilityNotification:(int)arg1 reply:(void (^)(NSNumber *, NSError *))arg2; - (void)_XCT_launchApplicationWithBundleID:(NSString *)arg1 arguments:(NSArray *)arg2 environment:(NSDictionary *)arg3 completion:(void (^)(NSError *))arg4; - (void)_XCT_startMonitoringApplicationWithBundleID:(NSString *)arg1; -- (void)_XCT_requestBackgroundAssertionForPID:(int)arg1 reply:(void (^)(_Bool))arg2; - (void)_XCT_requestBackgroundAssertionWithReply:(void (^)(void))arg1; +- (void)_XCT_requestBackgroundAssertionForPID:(int)arg1 reply:(void (^)(_Bool))arg2; +- (void)_XCT_requestScreenshotWithReply:(void (^)(NSData *, NSError *))arg1; - (void)_XCT_requestScreenshotOfScreenWithID:(unsigned int)arg1 withRect:(struct CGRect)arg2 uti:(NSString *)arg3 compressionQuality:(double)arg4 withReply:(void (^)(NSData *, NSError *))arg5; -- (void)_XCT_requestScreenshotOfScreenWithID:(unsigned int)arg1 withRect:(struct CGRect)arg2 withReply:(void (^)(NSData *, NSError *))arg3; -- (void)_XCT_registerTarget; +- (void)_XCT_requestScreenshot:(XCTScreenshotRequest *)arg1 withReply:(void (^)(XCTImage *, NSError *))arg2; +- (void)_XCT_requestSpindumpWithSpecification:(XCTSpindumpRequestSpecification *)arg1 completion:(void (^)(NSData *, NSError *))arg2; +- (void)_XCT_requestUnsupportedBundleIdentifiersForAutomationSessions:(void (^)(NSSet *, NSError *))arg1; - (void)_XCT_requestEndpointForTestTargetWithPID:(int)arg1 preferredBackendPath:(NSString *)arg2 reply:(void (^)(NSXPCListenerEndpoint *, NSError *))arg3; -- (void)_XCT_requestSerializedTransportWrapperForIDESessionWithIdentifier:(NSUUID *)arg1 reply:(void (^)(void *))arg2; +- (void)_XCT_requestSerializedTransportWrapperForIDESessionWithIdentifier:(NSUUID *)arg1 reply:(void (^)(XCTSerializedTransportWrapper *))arg2; - (void)_XCT_requestSocketForSessionIdentifier:(NSUUID *)arg1 reply:(void (^)(NSFileHandle *))arg2; +- (void)_XCT_exchangeCapabilities:(XCTCapabilities *)arg1 reply:(void (^)(XCTCapabilities *))arg2; - (void)_XCT_exchangeProtocolVersion:(unsigned long long)arg1 reply:(void (^)(unsigned long long))arg2; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_ControlSessionInitiation-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_ControlSessionInitiation-Protocol.h new file mode 100644 index 00000000..e421d2be --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_ControlSessionInitiation-Protocol.h @@ -0,0 +1,16 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSNumber, XCTCapabilities; + +@protocol XCTMessagingRole_ControlSessionInitiation +- (id)_IDE_authorizeTestSessionWithProcessID:(NSNumber *)arg1; +- (id)_IDE_initiateControlSessionWithCapabilities:(XCTCapabilities *)arg1; +- (id)_IDE_initiateControlSessionWithProtocolVersion:(NSNumber *)arg1; +- (id)_IDE_initiateControlSessionForTestProcessID:(NSNumber *)arg1 protocolVersion:(NSNumber *)arg2; +- (id)_IDE_initiateControlSessionForTestProcessID:(NSNumber *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_CrashReporting-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_CrashReporting-Protocol.h new file mode 100644 index 00000000..63aa989c --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_CrashReporting-Protocol.h @@ -0,0 +1,12 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSData, NSString; + +@protocol XCTMessagingRole_CrashReporting +- (id)_XCT_handleCrashReportData:(NSData *)arg1 fromFileWithName:(NSString *)arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_DebugLogging-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_DebugLogging-Protocol.h new file mode 100644 index 00000000..b8c58615 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_DebugLogging-Protocol.h @@ -0,0 +1,12 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSString; + +@protocol XCTMessagingRole_DebugLogging +- (id)_XCT_logDebugMessage:(NSString *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_DiagnosticsCollection-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_DiagnosticsCollection-Protocol.h new file mode 100644 index 00000000..f877237e --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_DiagnosticsCollection-Protocol.h @@ -0,0 +1,15 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSArray, NSDate, XCTSpindumpRequestSpecification; + +@protocol XCTMessagingRole_DiagnosticsCollection +- (id)_IDE_requestSpindumpWithSpecification:(XCTSpindumpRequestSpecification *)arg1; +- (id)_IDE_requestSpindump; +- (id)_IDE_requestLogArchiveWithStartDate:(NSDate *)arg1; +- (id)_IDE_collectNewCrashReportsInDirectories:(NSArray *)arg1 matchingProcessNames:(NSArray *)arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_EventSynthesis-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_EventSynthesis-Protocol.h new file mode 100644 index 00000000..68c04f24 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_EventSynthesis-Protocol.h @@ -0,0 +1,20 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSString, XCDeviceEvent, XCSynthesizedEventRecord; + +@protocol XCTMessagingRole_EventSynthesis +- (void)_XCT_enableFauxCollectionViewCells:(void (^)(_Bool, NSError *))arg1; +- (void)_XCT_setLocalizableStringsDataGatheringEnabled:(_Bool)arg1 reply:(void (^)(_Bool, NSError *))arg2; +- (void)_XCT_loadAccessibilityWithTimeout:(double)arg1 reply:(void (^)(_Bool, NSError *))arg2; +- (void)_XCT_setAXTimeout:(double)arg1 reply:(void (^)(int))arg2; +- (void)_XCT_sendString:(NSString *)arg1 maximumFrequency:(unsigned long long)arg2 completion:(void (^)(NSError *))arg3; +- (void)_XCT_getDeviceOrientationWithCompletion:(void (^)(NSNumber *, NSError *))arg1; +- (void)_XCT_updateDeviceOrientation:(long long)arg1 completion:(void (^)(NSError *))arg2; +- (void)_XCT_performDeviceEvent:(XCDeviceEvent *)arg1 completion:(void (^)(NSError *))arg2; +- (void)_XCT_synthesizeEvent:(XCSynthesizedEventRecord *)arg1 completion:(void (^)(NSError *))arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_ForcePressureSupportQuerying-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_ForcePressureSupportQuerying-Protocol.h new file mode 100644 index 00000000..543a0155 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_ForcePressureSupportQuerying-Protocol.h @@ -0,0 +1,14 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSData, XCSynthesizedEventRecord; + +@protocol XCTMessagingRole_ForcePressureSupportQuerying +- (void)_XCT_synthesizeEvent:(XCSynthesizedEventRecord *)arg1 implicitConfirmationInterval:(double)arg2 completion:(void (^)(NSError *))arg3; +- (void)_XCT_postTelemetryData:(NSData *)arg1 reply:(void (^)(NSError *))arg2; +- (void)_XCT_requestPressureEventsSupported:(void (^)(_Bool, NSError *))arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_MemoryTesting-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_MemoryTesting-Protocol.h new file mode 100644 index 00000000..42a40cff --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_MemoryTesting-Protocol.h @@ -0,0 +1,9 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@protocol XCTMessagingRole_MemoryTesting +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_PerformanceMeasurementReporting-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_PerformanceMeasurementReporting-Protocol.h new file mode 100644 index 00000000..38a8f5c0 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_PerformanceMeasurementReporting-Protocol.h @@ -0,0 +1,12 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSDictionary, NSNumber, NSString, XCTTestIdentifier; + +@protocol XCTMessagingRole_PerformanceMeasurementReporting +- (id)_XCT_testCaseWithIdentifier:(XCTTestIdentifier *)arg1 didMeasureMetric:(NSDictionary *)arg2 file:(NSString *)arg3 line:(NSNumber *)arg4; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_PerformanceMeasurementReporting_Legacy-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_PerformanceMeasurementReporting_Legacy-Protocol.h new file mode 100644 index 00000000..801c9617 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_PerformanceMeasurementReporting_Legacy-Protocol.h @@ -0,0 +1,12 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSDictionary, NSNumber, NSString; + +@protocol XCTMessagingRole_PerformanceMeasurementReporting_Legacy +- (id)_XCT_testMethod:(NSString *)arg1 ofClass:(NSString *)arg2 didMeasureMetric:(NSDictionary *)arg3 file:(NSString *)arg4 line:(NSNumber *)arg5; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTestDriverInterface-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_ProcessMonitoring-Protocol.h similarity index 57% rename from bp/src/PrivateHeaders/XCTest/XCTestDriverInterface-Protocol.h rename to bp/src/PrivateHeaders/XCTest/XCTMessagingRole_ProcessMonitoring-Protocol.h index 8ade33d6..a428fe60 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestDriverInterface-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_ProcessMonitoring-Protocol.h @@ -1,15 +1,14 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // @class NSNumber, NSString; -@protocol XCTestDriverInterface +@protocol XCTMessagingRole_ProcessMonitoring - (id)_IDE_processWithToken:(NSNumber *)arg1 exitedWithStatus:(NSNumber *)arg2; - (id)_IDE_stopTrackingProcessWithToken:(NSNumber *)arg1; - (id)_IDE_processWithBundleID:(NSString *)arg1 path:(NSString *)arg2 pid:(NSNumber *)arg3 crashedUnderSymbol:(NSString *)arg4; -- (id)_IDE_startExecutingTestPlanWithProtocolVersion:(NSNumber *)arg1; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_ProtectedResourceAuthorization-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_ProtectedResourceAuthorization-Protocol.h new file mode 100644 index 00000000..f6b91965 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_ProtectedResourceAuthorization-Protocol.h @@ -0,0 +1,12 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSString; + +@protocol XCTMessagingRole_ProtectedResourceAuthorization +- (void)_XCT_resetAuthorizationStatusForBundleIdentifier:(NSString *)arg1 resourceIdentifier:(NSString *)arg2 reply:(void (^)(_Bool, NSError *))arg3; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_RunnerSessionInitiation-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_RunnerSessionInitiation-Protocol.h new file mode 100644 index 00000000..56f34fce --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_RunnerSessionInitiation-Protocol.h @@ -0,0 +1,13 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSNumber, NSString, NSUUID, XCTCapabilities; + +@protocol XCTMessagingRole_RunnerSessionInitiation +- (id)_IDE_initiateSessionWithIdentifier:(NSUUID *)arg1 forClient:(NSString *)arg2 atPath:(NSString *)arg3 protocolVersion:(NSNumber *)arg4; +- (id)_IDE_initiateSessionWithIdentifier:(NSUUID *)arg1 capabilities:(XCTCapabilities *)arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_SelfDiagnosisIssueReporting-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_SelfDiagnosisIssueReporting-Protocol.h new file mode 100644 index 00000000..a74fb643 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_SelfDiagnosisIssueReporting-Protocol.h @@ -0,0 +1,12 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSString; + +@protocol XCTMessagingRole_SelfDiagnosisIssueReporting +- (id)_XCT_reportSelfDiagnosisIssue:(NSString *)arg1 description:(NSString *)arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_SiriAutomation-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_SiriAutomation-Protocol.h new file mode 100644 index 00000000..2b04841a --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_SiriAutomation-Protocol.h @@ -0,0 +1,16 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSArray, NSString, NSURL; + +@protocol XCTMessagingRole_SiriAutomation +- (void)_XCT_injectVoiceRecognitionAudioInputPaths:(NSArray *)arg1 completion:(void (^)(_Bool, NSError *))arg2; +- (void)_XCT_injectAssistantRecognitionStrings:(NSArray *)arg1 completion:(void (^)(_Bool, NSError *))arg2; +- (void)_XCT_startSiriUIRequestWithAudioFileURL:(NSURL *)arg1 completion:(void (^)(_Bool, NSError *))arg2; +- (void)_XCT_startSiriUIRequestWithText:(NSString *)arg1 completion:(void (^)(_Bool, NSError *))arg2; +- (void)_XCT_requestSiriEnabledStatus:(void (^)(_Bool, NSError *))arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_TestExecution-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_TestExecution-Protocol.h new file mode 100644 index 00000000..e105e90b --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_TestExecution-Protocol.h @@ -0,0 +1,15 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSNumber, XCTTestIdentifierSet; + +@protocol XCTMessagingRole_TestExecution +- (id)_IDE_shutdown; +- (id)_IDE_executeTestsWithIdentifiersToRun:(XCTTestIdentifierSet *)arg1 identifiersToSkip:(XCTTestIdentifierSet *)arg2; +- (id)_IDE_fetchParallelizableTestIdentifiers; +- (id)_IDE_startExecutingTestPlanWithProtocolVersion:(NSNumber *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_TestExecution_Legacy-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_TestExecution_Legacy-Protocol.h new file mode 100644 index 00000000..795827e4 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_TestExecution_Legacy-Protocol.h @@ -0,0 +1,13 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSSet; + +@protocol XCTMessagingRole_TestExecution_Legacy +- (id)_IDE_executeTestIdentifiers:(NSSet *)arg1 skippingTestIdentifiers:(NSSet *)arg2; +- (id)_IDE_fetchDiscoveredTestClasses; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_TestReporting-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_TestReporting-Protocol.h new file mode 100644 index 00000000..72b4c71b --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_TestReporting-Protocol.h @@ -0,0 +1,27 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSError, NSNumber, NSString, XCTCapabilities, XCTExpectedFailure, XCTIssue, XCTSourceCodeContext, XCTTestIdentifier; + +@protocol XCTMessagingRole_TestReporting +- (id)_XCT_testCaseWithIdentifier:(XCTTestIdentifier *)arg1 didStallOnMainThreadInFile:(NSString *)arg2 line:(NSNumber *)arg3; +- (id)_XCT_testCaseWithIdentifier:(XCTTestIdentifier *)arg1 didFinishWithStatus:(NSString *)arg2 duration:(NSNumber *)arg3; +- (id)_XCT_testCaseWithIdentifier:(XCTTestIdentifier *)arg1 didRecordExpectedFailure:(XCTExpectedFailure *)arg2; +- (id)_XCT_testCaseWithIdentifier:(XCTTestIdentifier *)arg1 didRecordIssue:(XCTIssue *)arg2; +- (id)_XCT_testCaseWithIdentifier:(XCTTestIdentifier *)arg1 wasSkippedWithMessage:(NSString *)arg2 sourceCodeContext:(XCTSourceCodeContext *)arg3; +- (id)_XCT_testCaseDidStartWithIdentifier:(XCTTestIdentifier *)arg1 iteration:(NSNumber *)arg2; +- (id)_XCT_testCaseDidStartWithIdentifier:(XCTTestIdentifier *)arg1; +- (id)_XCT_testSuiteWithIdentifier:(XCTTestIdentifier *)arg1 didFinishAt:(NSString *)arg2 runCount:(NSNumber *)arg3 skipCount:(NSNumber *)arg4 failureCount:(NSNumber *)arg5 expectedFailureCount:(NSNumber *)arg6 uncaughtExceptionCount:(NSNumber *)arg7 testDuration:(NSNumber *)arg8 totalDuration:(NSNumber *)arg9; +- (id)_XCT_testSuiteWithIdentifier:(XCTTestIdentifier *)arg1 didRecordIssue:(XCTIssue *)arg2; +- (id)_XCT_testSuiteWithIdentifier:(XCTTestIdentifier *)arg1 didStartAt:(NSString *)arg2; +- (id)_XCT_didFinishExecutingTestPlan; +- (id)_XCT_didBeginExecutingTestPlan; +- (id)_XCT_testBundleReadyWithProtocolVersion:(NSNumber *)arg1 minimumVersion:(NSNumber *)arg2; +- (id)_XCT_testRunnerReadyWithCapabilities:(XCTCapabilities *)arg1; +- (id)_XCT_reportTestWithIdentifier:(XCTTestIdentifier *)arg1 didExceedExecutionTimeAllowance:(NSNumber *)arg2; +- (id)_XCT_didFailToBootstrapWithError:(NSError *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_TestReporting_Legacy-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_TestReporting_Legacy-Protocol.h new file mode 100644 index 00000000..aa8d11bc --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_TestReporting_Legacy-Protocol.h @@ -0,0 +1,20 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSNumber, NSString; + +@protocol XCTMessagingRole_TestReporting_Legacy +- (id)_XCT_testCase:(NSString *)arg1 method:(NSString *)arg2 didStallOnMainThreadInFile:(NSString *)arg3 line:(NSNumber *)arg4; +- (id)_XCT_testCaseDidFinishForTestClass:(NSString *)arg1 method:(NSString *)arg2 withStatus:(NSString *)arg3 duration:(NSNumber *)arg4; +- (id)_XCT_testCaseDidFailForTestClass:(NSString *)arg1 method:(NSString *)arg2 withMessage:(NSString *)arg3 file:(NSString *)arg4 line:(NSNumber *)arg5; +- (id)_XCT_testCaseWasSkippedForTestClass:(NSString *)arg1 method:(NSString *)arg2 withMessage:(NSString *)arg3 file:(NSString *)arg4 line:(NSNumber *)arg5; +- (id)_XCT_testCaseDidStartForTestClass:(NSString *)arg1 method:(NSString *)arg2; +- (id)_XCT_testSuite:(NSString *)arg1 didFinishAt:(NSString *)arg2 runCount:(NSNumber *)arg3 skipCount:(NSNumber *)arg4 failureCount:(NSNumber *)arg5 expectedFailureCount:(NSNumber *)arg6 uncaughtExceptionCount:(NSNumber *)arg7 testDuration:(NSNumber *)arg8 totalDuration:(NSNumber *)arg9; +- (id)_XCT_testSuite:(NSString *)arg1 didFinishAt:(NSString *)arg2 runCount:(NSNumber *)arg3 skipCount:(NSNumber *)arg4 failureCount:(NSNumber *)arg5 unexpectedFailureCount:(NSNumber *)arg6 testDuration:(NSNumber *)arg7 totalDuration:(NSNumber *)arg8; +- (id)_XCT_testSuite:(NSString *)arg1 didFinishAt:(NSString *)arg2 runCount:(NSNumber *)arg3 withFailures:(NSNumber *)arg4 unexpected:(NSNumber *)arg5 testDuration:(NSNumber *)arg6 totalDuration:(NSNumber *)arg7; +- (id)_XCT_testSuite:(NSString *)arg1 didStartAt:(NSString *)arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_UIApplicationStateUpdating-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_UIApplicationStateUpdating-Protocol.h new file mode 100644 index 00000000..f4b33722 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_UIApplicationStateUpdating-Protocol.h @@ -0,0 +1,12 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSString; + +@protocol XCTMessagingRole_UIApplicationStateUpdating +- (void)_XCT_applicationWithBundleID:(NSString *)arg1 didUpdatePID:(int)arg2 andState:(unsigned long long)arg3; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_UIAutomation-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_UIAutomation-Protocol.h new file mode 100644 index 00000000..01c2e5c2 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_UIAutomation-Protocol.h @@ -0,0 +1,16 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSArray, NSDictionary, NSError, NSString; + +@protocol XCTMessagingRole_UIAutomation +- (id)_XCT_getProgressForLaunch:(id)arg1; +- (id)_XCT_terminateProcess:(id)arg1; +- (id)_XCT_launchProcessWithPath:(NSString *)arg1 bundleID:(NSString *)arg2 arguments:(NSArray *)arg3 environmentVariables:(NSDictionary *)arg4; +- (id)_XCT_initializationForUITestingDidFailWithError:(NSError *)arg1; +- (id)_XCT_didBeginInitializingForUITesting; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_UIAutomationEventReporting-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_UIAutomationEventReporting-Protocol.h new file mode 100644 index 00000000..a7ff12d3 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_UIAutomationEventReporting-Protocol.h @@ -0,0 +1,16 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSArray, NSDictionary, NSNumber, NSString, XCElementSnapshot; + +@protocol XCTMessagingRole_UIAutomationEventReporting +- (id)_XCT_nativeFocusItemDidChangeAtTime:(NSNumber *)arg1 parameterSnapshot:(XCElementSnapshot *)arg2 applicationSnapshot:(XCElementSnapshot *)arg3; +- (id)_XCT_recordedEventNames:(NSArray *)arg1 timestamp:(NSNumber *)arg2 duration:(NSNumber *)arg3 startLocation:(NSDictionary *)arg4 startElementSnapshot:(XCElementSnapshot *)arg5 startApplicationSnapshot:(XCElementSnapshot *)arg6 endLocation:(NSDictionary *)arg7 endElementSnapshot:(XCElementSnapshot *)arg8 endApplicationSnapshot:(XCElementSnapshot *)arg9; +- (id)_XCT_recordedOrientationChange:(NSString *)arg1; +- (id)_XCT_recordedKeyEventsWithApplicationSnapshot:(XCElementSnapshot *)arg1 characters:(NSString *)arg2 charactersIgnoringModifiers:(NSString *)arg3 modifierFlags:(NSNumber *)arg4; +- (id)_XCT_recordedFirstResponderChangedWithApplicationSnapshot:(XCElementSnapshot *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_UIAutomationProcess-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_UIAutomationProcess-Protocol.h new file mode 100644 index 00000000..73002616 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_UIAutomationProcess-Protocol.h @@ -0,0 +1,20 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, XCAccessibilityElement, XCTCapabilities, XCTElementQuery, XCTSerializedTransportWrapper2; + +@protocol XCTMessagingRole_UIAutomationProcess +- (void)listenForRemoteConnectionViaSerializedTransportWrapper:(XCTSerializedTransportWrapper2 *)arg1 completion:(void (^)(void))arg2; +- (void)notifyWhenAnimationsAreIdle:(void (^)(NSError *))arg1; +- (void)notifyWhenMainRunLoopIsIdle:(void (^)(NSError *))arg1; +- (void)attributesForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 reply:(void (^)(NSDictionary *, NSError *))arg3; +- (void)fetchMatchesForQuery:(XCTElementQuery *)arg1 reply:(void (^)(XCTElementQueryResults *, NSError *))arg2; +- (void)exchangeCapabilities:(XCTCapabilities *)arg1 reply:(void (^)(XCTCapabilities *))arg2; +- (void)requestHostAppExecutableNameWithReply:(void (^)(NSString *))arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_UIRecordingControl-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_UIRecordingControl-Protocol.h new file mode 100644 index 00000000..51803bc0 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMessagingRole_UIRecordingControl-Protocol.h @@ -0,0 +1,13 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSArray, NSDictionary, NSNumber; + +@protocol XCTMessagingRole_UIRecordingControl +- (id)_IDE_stopRecording; +- (id)_IDE_startRecordingProcessPID:(NSNumber *)arg1 applicationSnapshotAttributes:(NSArray *)arg2 applicationSnapshotParameters:(NSDictionary *)arg3 elementSnapshotAttributes:(NSArray *)arg4 elementSnapshotParameters:(NSDictionary *)arg5 simpleTargetGestureNames:(NSArray *)arg6; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMetric-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMetric-Protocol.h new file mode 100644 index 00000000..b13da77d --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMetric-Protocol.h @@ -0,0 +1,19 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import +#import + +@class NSArray, XCTPerformanceMeasurementTimestamp; + +@protocol XCTMetric +- (NSArray *)reportMeasurementsFromStartTime:(XCTPerformanceMeasurementTimestamp *)arg1 toEndTime:(XCTPerformanceMeasurementTimestamp *)arg2 error:(id *)arg3; + +@optional +- (void)didStopMeasuring; +- (void)willBeginMeasuring; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMetricInstrumentalAdapter.h b/bp/src/PrivateHeaders/XCTest/XCTMetricInstrumentalAdapter.h new file mode 100644 index 00000000..e36759ec --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMetricInstrumentalAdapter.h @@ -0,0 +1,35 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class XCTPerformanceMeasurementTimestamp; +@protocol XCTMetric; + +@interface XCTMetricInstrumentalAdapter : NSObject +{ + XCTPerformanceMeasurementTimestamp *_startTimestamp; + XCTPerformanceMeasurementTimestamp *_stopTimestamp; + id _metric; +} + ++ (void)addMetricToMeasurements:(id)arg1 sampleTag:(id)arg2 identifier:(id)arg3 displayName:(id)arg4 measurements:(id)arg5 skipConversion:(_Bool)arg6 polarity:(long long)arg7; +- (void).cxx_destruct; +@property(retain, nonatomic) id metric; // @synthesize metric=_metric; +- (_Bool)harvestData:(id *)arg1 error:(id *)arg2; +- (void)didStopAtContinuousTime:(unsigned long long)arg1 absoluteTime:(unsigned long long)arg2 stopDate:(id)arg3; +- (void)didStopAtTime:(unsigned long long)arg1 stopDate:(id)arg2; +- (void)didStartAtContinuousTime:(unsigned long long)arg1 absoluteTime:(unsigned long long)arg2 startDate:(id)arg3; +- (void)didStartAtTime:(unsigned long long)arg1 startDate:(id)arg2; +- (void)willStartAtEstimatedTime:(unsigned long long)arg1; +- (_Bool)prepareWithOptions:(id)arg1 error:(id *)arg2; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (id)initWithMetric:(id)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMetric_Private-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTMetric_Private-Protocol.h new file mode 100644 index 00000000..c9aa1544 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMetric_Private-Protocol.h @@ -0,0 +1,20 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSString, XCTMeasureOptions, XCTPerformanceMeasurementTimestamp; + +@protocol XCTMetric_Private + +@optional +@property(readonly, nonatomic) NSString *instrumentationName; +- (void)didStopMeasuringAtTimestamp:(XCTPerformanceMeasurementTimestamp *)arg1; +- (void)didStartMeasuringAtTimestamp:(XCTPerformanceMeasurementTimestamp *)arg1; +- (void)willBeginMeasuringAtEstimatedTimestamp:(XCTPerformanceMeasurementTimestamp *)arg1; +- (void)prepareToMeasureWithOptions:(XCTMeasureOptions *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTMutableIssue.h b/bp/src/PrivateHeaders/XCTest/XCTMutableIssue.h new file mode 100644 index 00000000..db7d019a --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTMutableIssue.h @@ -0,0 +1,30 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, NSDate, NSError, NSMutableArray, NSString, XCTSourceCodeContext; + +@interface XCTMutableIssue : XCTIssue +{ + NSMutableArray *_mutableAttachments; +} + +- (void).cxx_destruct; +- (void)addAttachment:(id)arg1; +@property(copy) NSArray *attachments; +- (id)initWithType:(long long)arg1 compactDescription:(id)arg2 detailedDescription:(id)arg3 sourceCodeContext:(id)arg4 associatedError:(id)arg5 attachments:(id)arg6; + +// Remaining properties +@property(retain) NSError *associatedError; // @dynamic associatedError; +@property(copy) NSString *compactDescription; // @dynamic compactDescription; +@property(copy) NSString *detailedDescription; // @dynamic detailedDescription; +@property(retain) XCTSourceCodeContext *sourceCodeContext; // @dynamic sourceCodeContext; +@property(copy) NSDate *timestamp; // @dynamic timestamp; +@property long long type; // @dynamic type; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTNSNotificationExpectation.h b/bp/src/PrivateHeaders/XCTest/XCTNSNotificationExpectation.h index dc3bc0b5..db2d2139 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTNSNotificationExpectation.h +++ b/bp/src/PrivateHeaders/XCTest/XCTNSNotificationExpectation.h @@ -1,28 +1,36 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // #import -@class NSNotificationCenter, NSString, _XCTNSNotificationExpectationImplementation; +@class NSNotificationCenter, NSObject, NSString; +@protocol OS_dispatch_queue; @interface XCTNSNotificationExpectation : XCTestExpectation { - _XCTNSNotificationExpectationImplementation *_internal; + _Bool _hasCleanedUp; + CDUnknownBlockType _handler; + NSString *_notificationName; + id _observedObject; + NSNotificationCenter *_notificationCenter; + NSObject *_queue; } -@property(retain) _XCTNSNotificationExpectationImplementation *internal; // @synthesize internal=_internal; +- (void).cxx_destruct; +@property _Bool hasCleanedUp; // @synthesize hasCleanedUp=_hasCleanedUp; +@property(readonly) NSObject *queue; // @synthesize queue=_queue; +@property(readonly) NSNotificationCenter *notificationCenter; // @synthesize notificationCenter=_notificationCenter; +@property(readonly) id observedObject; // @synthesize observedObject=_observedObject; +@property(readonly, copy) NSString *notificationName; // @synthesize notificationName=_notificationName; - (void)cleanup; -@property(copy) CDUnknownBlockType handler; -@property(readonly) NSNotificationCenter *notificationCenter; -@property(readonly, copy) NSString *notificationName; -@property(readonly) id observedObject; +- (void)_observeExpectedNotification:(id)arg1; +@property(copy) CDUnknownBlockType handler; // @synthesize handler=_handler; - (id)initWithName:(id)arg1; - (id)initWithName:(id)arg1 object:(id)arg2; - (id)initWithName:(id)arg1 object:(id)arg2 notificationCenter:(id)arg3; -- (void)dealloc; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTNSPredicateExpectation.h b/bp/src/PrivateHeaders/XCTest/XCTNSPredicateExpectation.h index 0a5494ee..a721b1c4 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTNSPredicateExpectation.h +++ b/bp/src/PrivateHeaders/XCTest/XCTNSPredicateExpectation.h @@ -1,28 +1,48 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // #import -@class NSPredicate, _XCTNSPredicateExpectationImplementation; +@class NSObject, NSPredicate, NSRunLoop, NSString, NSTimer; +@protocol OS_dispatch_queue; @interface XCTNSPredicateExpectation : XCTestExpectation { - _XCTNSPredicateExpectationImplementation *_internal; + _Bool _hasCleanedUp; + _Bool _isEvaluating; + _Bool _shouldEvaluate; + CDUnknownBlockType _handler; + NSString *_debugDescription; + NSPredicate *_predicate; + id _object; + NSObject *_queue; + NSRunLoop *_timerRunLoop; + NSTimer *_timer; + double _pollingInterval; } -@property(retain) _XCTNSPredicateExpectationImplementation *internal; // @synthesize internal=_internal; -- (void)considerFulfilling; +- (void).cxx_destruct; +@property double pollingInterval; // @synthesize pollingInterval=_pollingInterval; +@property _Bool shouldEvaluate; // @synthesize shouldEvaluate=_shouldEvaluate; +@property _Bool isEvaluating; // @synthesize isEvaluating=_isEvaluating; +@property _Bool hasCleanedUp; // @synthesize hasCleanedUp=_hasCleanedUp; +@property(retain) NSTimer *timer; // @synthesize timer=_timer; +@property(retain) NSRunLoop *timerRunLoop; // @synthesize timerRunLoop=_timerRunLoop; +@property(readonly) NSObject *queue; // @synthesize queue=_queue; +@property(readonly) id object; // @synthesize object=_object; +@property(readonly, copy) NSPredicate *predicate; // @synthesize predicate=_predicate; +@property(copy) NSString *debugDescription; // @synthesize debugDescription=_debugDescription; - (void)cleanup; - (void)fulfill; -@property double pollingInterval; -@property(copy) CDUnknownBlockType handler; -@property(readonly, copy) NSPredicate *predicate; -@property(readonly) id object; -- (id)debugDescription; -- (void)setHasBeenWaitedOn:(_Bool)arg1; +- (_Bool)_shouldFulfillForObject:(id)arg1 handler:(CDUnknownBlockType)arg2; +- (void)_considerFulfilling; +@property(copy) CDUnknownBlockType handler; // @synthesize handler=_handler; +- (void)_scheduleTimer; +- (void)startPolling; +- (void)on_queue_setHasBeenWaitedOn:(_Bool)arg1; - (id)initWithPredicate:(id)arg1 object:(id)arg2; - (void)dealloc; diff --git a/bp/src/PrivateHeaders/XCTest/XCTNSPredicateExpectationObject-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTNSPredicateExpectationObject-Protocol.h index 07a48a01..9addf230 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTNSPredicateExpectationObject-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCTNSPredicateExpectationObject-Protocol.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class XCTNSPredicateExpectation; diff --git a/bp/src/PrivateHeaders/XCTest/XCTOSSignpostMetric.h b/bp/src/PrivateHeaders/XCTest/XCTOSSignpostMetric.h new file mode 100644 index 00000000..ca8d6fb6 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTOSSignpostMetric.h @@ -0,0 +1,44 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import +#import + +@class MXMOSSignpostMetric, NSString; + +@interface XCTOSSignpostMetric : NSObject +{ + NSString *_instrumentationName; + MXMOSSignpostMetric *__underlyingMetric; +} + ++ (id)scrollDraggingMetric; ++ (id)scrollDecelerationMetric; ++ (id)customNavigationTransitionMetric; ++ (id)navigationTransitionMetric; ++ (id)applicationLaunchMetric; +- (void).cxx_destruct; +@property(retain, nonatomic) MXMOSSignpostMetric *_underlyingMetric; // @synthesize _underlyingMetric=__underlyingMetric; +@property(readonly, nonatomic) NSString *instrumentationName; // @synthesize instrumentationName=_instrumentationName; +- (id)reportMeasurementsFromStartTime:(id)arg1 toEndTime:(id)arg2 error:(id *)arg3; +- (void)didStopMeasuringAtTimestamp:(id)arg1; +- (void)didStartMeasuringAtTimestamp:(id)arg1; +- (void)willBeginMeasuringAtEstimatedTimestamp:(id)arg1; +- (void)prepareToMeasureWithOptions:(id)arg1; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (id)initWithUnderlyingMetric:(id)arg1; +- (id)initWithSubsystem:(id)arg1 category:(id)arg2 name:(id)arg3; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTPerformanceMeasurement.h b/bp/src/PrivateHeaders/XCTest/XCTPerformanceMeasurement.h new file mode 100644 index 00000000..6780ffdf --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTPerformanceMeasurement.h @@ -0,0 +1,35 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSMeasurement, NSString; + +@interface XCTPerformanceMeasurement : NSObject +{ + NSString *_identifier; + NSString *_displayName; + NSMeasurement *_value; + double _doubleValue; + NSString *_unitSymbol; + long long _polarity; +} + ++ (id)displayFriendlyMeasurement:(id)arg1; +- (void).cxx_destruct; +@property(readonly) long long polarity; // @synthesize polarity=_polarity; +@property(readonly, copy) NSString *unitSymbol; // @synthesize unitSymbol=_unitSymbol; +@property(readonly) double doubleValue; // @synthesize doubleValue=_doubleValue; +@property(readonly, copy) NSMeasurement *value; // @synthesize value=_value; +@property(readonly, copy) NSString *displayName; // @synthesize displayName=_displayName; +@property(readonly, copy) NSString *identifier; // @synthesize identifier=_identifier; +- (id)initWithIdentifier:(id)arg1 displayName:(id)arg2 value:(id)arg3 polarity:(long long)arg4; +- (id)initWithIdentifier:(id)arg1 displayName:(id)arg2 doubleValue:(double)arg3 unitSymbol:(id)arg4 polarity:(long long)arg5; +- (id)initWithIdentifier:(id)arg1 displayName:(id)arg2 value:(id)arg3; +- (id)initWithIdentifier:(id)arg1 displayName:(id)arg2 doubleValue:(double)arg3 unitSymbol:(id)arg4; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTPerformanceMeasurementTimestamp.h b/bp/src/PrivateHeaders/XCTest/XCTPerformanceMeasurementTimestamp.h new file mode 100644 index 00000000..f642ce57 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTPerformanceMeasurementTimestamp.h @@ -0,0 +1,30 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSDate; + +@interface XCTPerformanceMeasurementTimestamp : NSObject +{ + _Bool _hasContinuousTime; + unsigned long long _continuousTime; + unsigned long long _absoluteTime; + NSDate *_date; +} + +- (void).cxx_destruct; +@property(readonly) _Bool hasContinuousTime; // @synthesize hasContinuousTime=_hasContinuousTime; +@property(readonly, copy) NSDate *date; // @synthesize date=_date; +@property(readonly) unsigned long long absoluteTime; // @synthesize absoluteTime=_absoluteTime; +@property(readonly) unsigned long long continuousTime; // @synthesize continuousTime=_continuousTime; +@property(readonly) unsigned long long absoluteTimeNanoSeconds; +- (id)initWithAbsoluteTime:(unsigned long long)arg1 date:(id)arg2; +- (id)initWithContinuousTime:(unsigned long long)arg1 absoluteTime:(unsigned long long)arg2 date:(id)arg3; +- (id)init; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTPromise.h b/bp/src/PrivateHeaders/XCTest/XCTPromise.h new file mode 100644 index 00000000..a04b3879 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTPromise.h @@ -0,0 +1,32 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSError, NSString, XCTestExpectation; + +@interface XCTPromise : NSObject +{ + struct atomic_flag _promiseFulfilled; + NSString *_promiseDescription; + id _value; + NSError *_error; + XCTestExpectation *_expectation; +} + +- (void).cxx_destruct; +@property(readonly) struct atomic_flag promiseFulfilled; // @synthesize promiseFulfilled=_promiseFulfilled; +@property(readonly) XCTestExpectation *expectation; // @synthesize expectation=_expectation; +@property(retain) NSError *error; // @synthesize error=_error; +@property(retain) id value; // @synthesize value=_value; +@property(readonly, copy) NSString *promiseDescription; // @synthesize promiseDescription=_promiseDescription; +- (void)fulfillWithValue:(id)arg1 error:(id)arg2; +- (void)fulfillWithError:(id)arg1; +- (void)fulfillWithValue:(id)arg1; +- (id)initWithDescription:(id)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTRerunPolicy.h b/bp/src/PrivateHeaders/XCTest/XCTRerunPolicy.h new file mode 100644 index 00000000..393ae631 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTRerunPolicy.h @@ -0,0 +1,37 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@interface XCTRerunPolicy : NSObject +{ + long long _rerunMode; + long long _maximumIterations; +} + ++ (_Bool)supportsSecureCoding; ++ (long long)rerunModeFromString:(id)arg1; ++ (id)stringFromRerunMode:(long long)arg1; ++ (id)defaultRerunPolicy; +@property(readonly) long long maximumIterations; // @synthesize maximumIterations=_maximumIterations; +@property(readonly) long long rerunMode; // @synthesize rerunMode=_rerunMode; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +- (_Bool)isDefaultPolicy; +- (unsigned long long)hash; +- (_Bool)isEqual:(id)arg1; +- (id)dictionaryRepresentation; +- (id)description; +- (id)initWithDictionary:(id)arg1; +- (id)initWithFixedIterations:(long long)arg1; +- (id)initWithMaximumIterationsUntilSuccess:(long long)arg1; +- (id)initWithMaximumIterationsUntilFailure:(long long)arg1; +- (id)initWithRerunMode:(long long)arg1 maximumIterations:(long long)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTResult.h b/bp/src/PrivateHeaders/XCTest/XCTResult.h index 84fc4c4b..414cffc2 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTResult.h +++ b/bp/src/PrivateHeaders/XCTest/XCTResult.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSError; @@ -18,11 +18,11 @@ + (id)resultWithValue:(id)arg1; + (id)result; + (id)resultWithValue:(id)arg1 error:(id)arg2; +- (void).cxx_destruct; @property(retain) NSError *error; // @synthesize error=_error; @property(retain) id value; // @synthesize value=_value; @property(readonly) _Bool hasError; @property(readonly) _Bool hasValue; -- (void)dealloc; - (id)initWithValue:(id)arg1 error:(id)arg2; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTRunnerAutomationSession-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTRunnerAutomationSession-Protocol.h index accecef5..59bbb286 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTRunnerAutomationSession-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCTRunnerAutomationSession-Protocol.h @@ -1,14 +1,21 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -@class XCTElementQuery, XCTElementQueryResults; +@class XCTCapabilities, XCTElementQuery, XCTElementQueryResults; -@protocol XCTRunnerAutomationSession +@protocol XCTRunnerAutomationSession +@property(readonly) _Bool isMacCatalyst; +@property(readonly) _Bool supportsAnimationsIdleNotifications; +@property(readonly) _Bool supportsMainRunLoopIdleNotifications; +@property(readonly) _Bool supportsFetchingAttributesForElement; +@property(readonly) XCTCapabilities *remoteInterfaceCapabilities; +- (void)notifyWhenAnimationsAreIdle:(void (^)(NSError *))arg1; +- (void)notifyWhenMainRunLoopIsIdle:(void (^)(NSError *))arg1; - (XCTElementQueryResults *)matchesForQuery:(XCTElementQuery *)arg1 error:(id *)arg2; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTRunnerAutomationSession.h b/bp/src/PrivateHeaders/XCTest/XCTRunnerAutomationSession.h index 81843cd1..afe9b98f 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTRunnerAutomationSession.h +++ b/bp/src/PrivateHeaders/XCTest/XCTRunnerAutomationSession.h @@ -1,23 +1,46 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "XCTRunnerAutomationSession.h" +#import -@class NSString, NSXPCConnection; +@class NSString, NSXPCConnection, XCTCapabilities; @interface XCTRunnerAutomationSession : NSObject { + int _connectionPid; NSXPCConnection *_connection; + XCTCapabilities *_remoteInterfaceCapabilities; } -@property NSXPCConnection *connection; // @synthesize connection=_connection; ++ (id)legacyCapabilitiesForOSVersion:(CDStruct_2ec95fd7)arg1 platform:(unsigned long long)arg2 error:(id *)arg3; ++ (id)exportedCapabilities; ++ (void)requestSessionWithEndpoint:(id)arg1 pid:(int)arg2 completion:(CDUnknownBlockType)arg3; +- (void).cxx_destruct; +@property(retain) XCTCapabilities *remoteInterfaceCapabilities; // @synthesize remoteInterfaceCapabilities=_remoteInterfaceCapabilities; +@property(readonly) int connectionPid; // @synthesize connectionPid=_connectionPid; +@property(readonly) NSXPCConnection *connection; // @synthesize connection=_connection; +- (_Bool)isMacCatalystForPID:(int)arg1; +@property(readonly) _Bool hasBannerNotificationIsStickyAttribute; +@property(readonly) _Bool usePointTransformationsForFrameConversions; +@property(readonly) _Bool supportsHostedViewCoordinateTransformations; +- (id)parameterizedAttribute:(id)arg1 forElement:(id)arg2 parameter:(id)arg3 error:(id *)arg4; +- (id)valuesForPrivilegedAttributes:(id)arg1 forElement:(id)arg2 error:(id *)arg3; +@property(readonly) _Bool providesValuesForPrivilegedAttributes; +- (id)attributesForElement:(id)arg1 attributes:(id)arg2 error:(id *)arg3; +@property(readonly) _Bool allowsRemoteAccess; +@property(readonly) _Bool isMacCatalyst; +- (void)notifyWhenAnimationsAreIdle:(CDUnknownBlockType)arg1; +@property(readonly) _Bool supportsAnimationsIdleNotifications; +- (void)notifyWhenMainRunLoopIsIdle:(CDUnknownBlockType)arg1; +@property(readonly) _Bool supportsMainRunLoopIdleNotifications; +@property(readonly) _Bool supportsFetchingAttributesForElement; - (id)matchesForQuery:(id)arg1 error:(id *)arg2; -- (id)initWithEndpoint:(id)arg1; +- (id)initWithConnection:(id)arg1 pid:(int)arg2 remoteInterfaceCapabilities:(id)arg3; // Remaining properties @property(readonly, copy) NSString *debugDescription; diff --git a/bp/src/PrivateHeaders/XCTest/XCTRunnerDaemonSession.h b/bp/src/PrivateHeaders/XCTest/XCTRunnerDaemonSession.h index 34e263c5..7998fcbc 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTRunnerDaemonSession.h +++ b/bp/src/PrivateHeaders/XCTest/XCTRunnerDaemonSession.h @@ -1,73 +1,117 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "XCTestManager_TestsInterface.h" +#import +#import +#import +#import +#import +#import +#import +#import +#import -@class NSMutableDictionary, NSObject, NSXPCConnection; +@class NSMutableDictionary, NSString, NSXPCConnection, XCTCapabilities; +@protocol OS_dispatch_queue, XCTMessagingChannel_RunnerToDaemon, XCUIAXNotificationHandling, XCUIApplicationPlatformServicesProviderDelegate; -@interface XCTRunnerDaemonSession : NSObject +@interface XCTRunnerDaemonSession : NSObject { - NSObject *_queue; - id _applicationMonitor; - id _accessibilityClient; + double _implicitEventConfirmationIntervalForCurrentContext; NSXPCConnection *_connection; - unsigned long long _daemonProtocolVersion; + XCTCapabilities *_remoteInterfaceCapabilities; + id _platformApplicationServicesProviderDelegate; + id _axNotificationHandler; + NSObject *_queue; NSMutableDictionary *_invalidationHandlers; } -+ (_Bool)isSupported; ++ (id)daemonCapabilitiesForProtocolVersion:(unsigned long long)arg1 platform:(unsigned long long)arg2 error:(id *)arg3; ++ (id)capabilities; ++ (void)legacyCapabilitiesForDaemonConnection:(id)arg1 completion:(CDUnknownBlockType)arg2; ++ (void)modernCapabilitiesForDaemonConnection:(id)arg1 completion:(CDUnknownBlockType)arg2; ++ (void)capabilitiesForDaemonConnection:(id)arg1 completion:(CDUnknownBlockType)arg2; ++ (void)sessionWithConnection:(id)arg1 completion:(CDUnknownBlockType)arg2; ++ (void)initiateSharedSessionWithCompletion:(CDUnknownBlockType)arg1; ++ (id)sharedSessionIfInitiated; + (id)sharedSession; -@property(retain) NSObject *queue; // @synthesize queue=_queue; -@property id accessibilityClient; // @synthesize accessibilityClient=_accessibilityClient; -@property id applicationMonitor; // @synthesize applicationMonitor=_applicationMonitor; ++ (id)sharedSessionPromiseAndImplicitlyInitiateSession:(_Bool)arg1; ++ (id)connectionForInitiatingSharedSession; ++ (id)unsupportedBundleIdentifiersForAutomationSessions; +- (void).cxx_destruct; @property(retain) NSMutableDictionary *invalidationHandlers; // @synthesize invalidationHandlers=_invalidationHandlers; -@property(retain) NSXPCConnection *connection; // @synthesize connection=_connection; -- (void)requestBundleIDForPID:(int)arg1 reply:(CDUnknownBlockType)arg2; -- (void)injectVoiceRecognitionAudioInputPaths:(id)arg1 completion:(CDUnknownBlockType)arg2; -- (void)injectAssistantRecognitionStrings:(id)arg1 completion:(CDUnknownBlockType)arg2; -- (void)startSiriUIRequestWithAudioFileURL:(id)arg1 completion:(CDUnknownBlockType)arg2; -- (void)startSiriUIRequestWithText:(id)arg1 completion:(CDUnknownBlockType)arg2; +@property(readonly) NSObject *queue; // @synthesize queue=_queue; +@property __weak id axNotificationHandler; // @synthesize axNotificationHandler=_axNotificationHandler; +@property __weak id platformApplicationServicesProviderDelegate; // @synthesize platformApplicationServicesProviderDelegate=_platformApplicationServicesProviderDelegate; +@property(readonly) XCTCapabilities *remoteInterfaceCapabilities; // @synthesize remoteInterfaceCapabilities=_remoteInterfaceCapabilities; +@property(readonly) NSXPCConnection *connection; // @synthesize connection=_connection; +- (void)postTelemetryData:(id)arg1 reply:(CDUnknownBlockType)arg2; +@property(readonly) _Bool supportsPostingTelemetryData; - (void)enableFauxCollectionViewCells:(CDUnknownBlockType)arg1; +- (void)setLocalizableStringsDataGatheringEnabled:(_Bool)arg1 reply:(CDUnknownBlockType)arg2; - (void)loadAccessibilityWithTimeout:(double)arg1 reply:(CDUnknownBlockType)arg2; - (void)setAXTimeout:(double)arg1 reply:(CDUnknownBlockType)arg2; -- (void)requestScreenshotWithReply:(CDUnknownBlockType)arg1; -- (void)sendString:(id)arg1 maximumFrequency:(unsigned long long)arg2 completion:(CDUnknownBlockType)arg3; -- (void)updateDeviceOrientation:(long long)arg1 completion:(CDUnknownBlockType)arg2; -- (void)performDeviceEvent:(id)arg1 completion:(CDUnknownBlockType)arg2; -- (void)synthesizeEvent:(id)arg1 completion:(CDUnknownBlockType)arg2; +- (id)synthesizeEvent:(id)arg1 completion:(CDUnknownBlockType)arg2; - (void)requestElementAtPoint:(struct CGPoint)arg1 reply:(CDUnknownBlockType)arg2; -- (void)fetchParameterizedAttributeForElement:(id)arg1 attribute:(id)arg2 parameter:(id)arg3 reply:(CDUnknownBlockType)arg4; +- (void)fetchParameterizedAttribute:(id)arg1 forElement:(id)arg2 parameter:(id)arg3 reply:(CDUnknownBlockType)arg4; - (void)setAttribute:(id)arg1 value:(id)arg2 element:(id)arg3 reply:(CDUnknownBlockType)arg4; -- (void)fetchAttributesForElement:(id)arg1 attributes:(id)arg2 reply:(CDUnknownBlockType)arg3; +- (void)fetchAttributes:(id)arg1 forElement:(id)arg2 reply:(CDUnknownBlockType)arg3; +- (void)fetchSnapshotForElement:(id)arg1 attributes:(id)arg2 parameters:(id)arg3 reply:(CDUnknownBlockType)arg4; - (void)requestSnapshotForElement:(id)arg1 attributes:(id)arg2 parameters:(id)arg3 reply:(CDUnknownBlockType)arg4; - (void)snapshotForElement:(id)arg1 attributes:(id)arg2 parameters:(id)arg3 reply:(CDUnknownBlockType)arg4; +@property(readonly) _Bool axNotificationsIncludeElement; @property(readonly) _Bool useLegacySnapshotPath; -- (void)terminateApplicationWithBundleID:(id)arg1 completion:(CDUnknownBlockType)arg2; -- (void)performAccessibilityAction:(int)arg1 onElement:(id)arg2 value:(id)arg3 reply:(CDUnknownBlockType)arg4; +- (void)performAccessibilityAction:(id)arg1 onElement:(id)arg2 value:(id)arg3 reply:(CDUnknownBlockType)arg4; - (void)unregisterForAccessibilityNotification:(int)arg1 registrationToken:(id)arg2 reply:(CDUnknownBlockType)arg3; - (void)registerForAccessibilityNotification:(int)arg1 reply:(CDUnknownBlockType)arg2; -- (void)launchApplicationWithBundleID:(id)arg1 arguments:(id)arg2 environment:(id)arg3 completion:(CDUnknownBlockType)arg4; -- (void)startMonitoringApplicationWithBundleID:(id)arg1; +- (void)requestSpindumpWithSpecification:(id)arg1 completion:(CDUnknownBlockType)arg2; +@property double implicitEventConfirmationIntervalForCurrentContext; // @synthesize implicitEventConfirmationIntervalForCurrentContext=_implicitEventConfirmationIntervalForCurrentContext; - (void)requestBackgroundAssertionForPID:(int)arg1 reply:(CDUnknownBlockType)arg2; -- (void)requestScreenshotOfScreenWithID:(unsigned int)arg1 withRect:(struct CGRect)arg2 formatUTI:(id)arg3 compressionQuality:(double)arg4 imageFormatRespected:(_Bool *)arg5 withReply:(CDUnknownBlockType)arg6; -- (void)requestAutomationSessionForTestTargetWithPID:(int)arg1 reply:(CDUnknownBlockType)arg2; - (void)requestIDEConnectionTransportForSessionIdentifier:(id)arg1 reply:(CDUnknownBlockType)arg2; +- (void)_XCT_receivedAccessibilityNotification:(int)arg1 fromElement:(id)arg2 payload:(id)arg3; - (void)_XCT_receivedAccessibilityNotification:(int)arg1 withPayload:(id)arg2; - (void)_XCT_applicationWithBundleID:(id)arg1 didUpdatePID:(int)arg2 andState:(unsigned long long)arg3; -@property(readonly) _Bool useLegacyScreenshotPath; +@property(readonly) _Bool usePointTransformationsForFrameConversions; @property(readonly) _Bool useLegacyEventCoordinateTransformationPath; -@property unsigned long long daemonProtocolVersion; -@property(readonly) id daemonProxy; +- (_Bool)requestPressureEventsSupportedOrError:(id *)arg1; +@property(readonly) id daemonProxy; - (void)unregisterInvalidationHandlerWithToken:(id)arg1; - (id)registerInvalidationHandler:(CDUnknownBlockType)arg1; - (void)_reportInvalidation; -- (id)initWithConnection:(id)arg1; +- (id)initWithConnection:(id)arg1 remoteInterfaceCapabilities:(id)arg2; - (void)dealloc; +- (void)requestScreenshotOfScreenWithID:(long long)arg1 withRect:(struct CGRect)arg2 encoding:(id)arg3 withReply:(CDUnknownBlockType)arg4; +@property(readonly, nonatomic) _Bool supportsHEICImageEncoding; +@property(readonly, nonatomic) _Bool useLegacyScreenshotPath; +@property(readonly) _Bool supportsInjectingVoiceRecognitionAudioInputPaths; +- (void)injectVoiceRecognitionAudioInputPaths:(id)arg1 completion:(CDUnknownBlockType)arg2; +- (void)injectAssistantRecognitionStrings:(id)arg1 completion:(CDUnknownBlockType)arg2; +@property(readonly) _Bool supportsStartingSiriUIRequestWithAudioFileURL; +- (void)startSiriUIRequestWithAudioFileURL:(id)arg1 completion:(CDUnknownBlockType)arg2; +- (void)startSiriUIRequestWithText:(id)arg1 completion:(CDUnknownBlockType)arg2; +- (void)requestSiriEnabledStatus:(CDUnknownBlockType)arg1; +- (void)updateDeviceOrientation:(long long)arg1 completion:(CDUnknownBlockType)arg2; +- (void)performDeviceEvent:(id)arg1 completion:(CDUnknownBlockType)arg2; +- (void)getDeviceOrientationWithCompletion:(CDUnknownBlockType)arg1; +- (void)requestApplicationSpecifierForPID:(int)arg1 reply:(CDUnknownBlockType)arg2; +- (void)fetchAttributesForElement:(id)arg1 attributes:(id)arg2 reply:(CDUnknownBlockType)arg3; +- (void)terminateApplicationWithBundleID:(id)arg1 pid:(int)arg2 completion:(CDUnknownBlockType)arg3; +- (void)launchApplicationWithPath:(id)arg1 bundleID:(id)arg2 arguments:(id)arg3 environment:(id)arg4 completion:(CDUnknownBlockType)arg5; +- (void)beginMonitoringApplicationWithSpecifier:(id)arg1; +- (void)requestUnsupportedBundleIdentifiersForAutomationSessions:(CDUnknownBlockType)arg1; +- (void)requestAutomationSessionForTestTargetWithPID:(int)arg1 preferredBackendPath:(id)arg2 reply:(CDUnknownBlockType)arg3; +@property(readonly) long long applicationAutomationSessionSupport; +- (_Bool)resetAuthorizationStatusForBundleIdentifier:(id)arg1 resourceIdentifier:(id)arg2 error:(id *)arg3; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTRunnerDaemonSessionEventRequest.h b/bp/src/PrivateHeaders/XCTest/XCTRunnerDaemonSessionEventRequest.h new file mode 100644 index 00000000..ac8c94e4 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTRunnerDaemonSessionEventRequest.h @@ -0,0 +1,33 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSString, XCSynthesizedEventRecord; + +__attribute__((visibility("hidden"))) +@interface XCTRunnerDaemonSessionEventRequest : NSObject +{ + XCSynthesizedEventRecord *_event; + double _upperBoundOnDuration; +} + +- (void).cxx_destruct; +@property double upperBoundOnDuration; // @synthesize upperBoundOnDuration=_upperBoundOnDuration; +@property(readonly) XCSynthesizedEventRecord *event; // @synthesize event=_event; +- (void)invalidate; +- (id)initWithEvent:(id)arg1; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTRunnerIDESession.h b/bp/src/PrivateHeaders/XCTest/XCTRunnerIDESession.h index 7232baed..3ef855a7 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTRunnerIDESession.h +++ b/bp/src/PrivateHeaders/XCTest/XCTRunnerIDESession.h @@ -1,67 +1,95 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "XCTTestRunSessionDelegate.h" -#import "XCTestDriverInterface.h" -#import "XCTestObservation.h" +#import +#import +#import +#import +#import -@class DTXConnection, NSObject, NSString, XCTestRun; +@class DTXConnection, NSString, XCTCapabilities, XCTFuture, XCTPromise, XCTestRun; +@protocol OS_dispatch_queue, XCTMessagingChannel_RunnerToIDE> +@interface XCTRunnerIDESession : NSObject <_XCTestObservationInternal, XCTMessagingChannel_IDEToRunner, XCTTestRunSessionDelegate, XCUIXcodeApplicationManaging, XCDebugLogDelegate> { + XCTCapabilities *_IDECapabilities; + XCTFuture *_readyForTestingFuture; + XCTFuture *_testConfigurationFuture; + id _delegate; + id _applicationMonitor; NSObject *_queue; DTXConnection *_IDEConnection; - id _IDEProxy; - long long _IDEProtocolVersion; - id _applicationMonitor; + id _IDEProxy; + XCTPromise *_readyForTestingPromise; XCTestRun *_currentTestRun; CDUnknownBlockType _readinessReply; } -+ (id)transportForLocalPath:(id)arg1 error:(id *)arg2; ++ (id)IDECapabilitiesForLegacyProtocolVersion:(unsigned long long)arg1; ++ (id)exportedCapabilities; ++ (void)daemonMediatedSessionForSessionIdentifier:(id)arg1 daemonSession:(id)arg2 delegate:(id)arg3 completion:(CDUnknownBlockType)arg4; ++ (double)IDEConnectionTimeout; + (void)setSharedSession:(id)arg1; + (id)sharedSession; + (id)sharedSessionQueue; +- (void).cxx_destruct; @property(copy) CDUnknownBlockType readinessReply; // @synthesize readinessReply=_readinessReply; -@property(retain) id IDEProxy; // @synthesize IDEProxy=_IDEProxy; +@property(retain) XCTestRun *currentTestRun; // @synthesize currentTestRun=_currentTestRun; +@property(retain) XCTPromise *readyForTestingPromise; // @synthesize readyForTestingPromise=_readyForTestingPromise; +@property(retain) id IDEProxy; // @synthesize IDEProxy=_IDEProxy; @property(retain) DTXConnection *IDEConnection; // @synthesize IDEConnection=_IDEConnection; -@property __weak id applicationMonitor; // @synthesize applicationMonitor=_applicationMonitor; -@property(retain) NSObject *queue; // @synthesize queue=_queue; +@property(readonly) NSObject *queue; // @synthesize queue=_queue; +@property __weak id applicationMonitor; // @synthesize applicationMonitor=_applicationMonitor; +@property __weak id delegate; // @synthesize delegate=_delegate; - (void)testBundleDidFinish:(id)arg1; -- (void)_testCase:(id)arg1 didFinishActivity:(id)arg2; -- (void)_testCase:(id)arg1 willStartActivity:(id)arg2; -- (void)_testCase:(id)arg1 didMeasureValues:(id)arg2 forPerformanceMetricID:(id)arg3 name:(id)arg4 unitsOfMeasurement:(id)arg5 baselineName:(id)arg6 baselineAverage:(id)arg7 maxPercentRegression:(id)arg8 maxPercentRelativeStandardDeviation:(id)arg9 maxRegression:(id)arg10 maxStandardDeviation:(id)arg11 file:(id)arg12 line:(unsigned long long)arg13; -- (void)testCase:(id)arg1 didFailWithDescription:(id)arg2 inFile:(id)arg3 atLine:(unsigned long long)arg4; +- (void)_context:(id)arg1 didFinishActivity:(id)arg2; +- (void)_context:(id)arg1 willStartActivity:(id)arg2; +- (void)_testCase:(id)arg1 didMeasureValues:(id)arg2 forPerformanceMetricID:(id)arg3 name:(id)arg4 unitsOfMeasurement:(id)arg5 baselineName:(id)arg6 baselineAverage:(id)arg7 maxPercentRegression:(id)arg8 maxPercentRelativeStandardDeviation:(id)arg9 maxRegression:(id)arg10 maxStandardDeviation:(id)arg11 file:(id)arg12 line:(unsigned long long)arg13 polarity:(long long)arg14; +- (void)testCase:(id)arg1 didRecordExpectedFailure:(id)arg2; +- (void)testCase:(id)arg1 didRecordIssue:(id)arg2; - (void)testCaseDidFinish:(id)arg1; +- (void)testCase:(id)arg1 wasSkippedWithDescription:(id)arg2 sourceCodeContext:(id)arg3; - (void)testCaseWillStart:(id)arg1; - (void)testSuiteDidFinish:(id)arg1; -- (void)testSuite:(id)arg1 didFailWithDescription:(id)arg2 inFile:(id)arg3 atLine:(unsigned long long)arg4; +- (void)testSuite:(id)arg1 didRecordExpectedFailure:(id)arg2; +- (void)testSuite:(id)arg1 didRecordIssue:(id)arg2; - (void)testSuiteWillStart:(id)arg1; - (void)testBundleWillStart:(id)arg1; - (id)_IDE_processWithToken:(id)arg1 exitedWithStatus:(id)arg2; - (id)_IDE_stopTrackingProcessWithToken:(id)arg1; +- (void)reportSelfDiagnosisIssue:(id)arg1 description:(id)arg2; - (void)terminateProcessWithToken:(id)arg1 completion:(CDUnknownBlockType)arg2; - (void)requestLaunchProgressForProcessWithToken:(id)arg1 completion:(CDUnknownBlockType)arg2; - (void)launchProcessWithPath:(id)arg1 bundleID:(id)arg2 arguments:(id)arg3 environmentVariables:(id)arg4 completion:(CDUnknownBlockType)arg5; - (id)_IDE_processWithBundleID:(id)arg1 path:(id)arg2 pid:(id)arg3 crashedUnderSymbol:(id)arg4; -- (void)reportStallOnMainThreadInTestCase:(id)arg1 method:(id)arg2 file:(id)arg3 line:(unsigned long long)arg4; +- (void)reportStallOnMainThreadInTestCase:(id)arg1 file:(id)arg2 line:(unsigned long long)arg3; - (void)logDebugMessage:(id)arg1; - (void)testRunSessionDidFinishExecutingTestPlan:(id)arg1 reply:(CDUnknownBlockType)arg2; - (void)testRunSession:(id)arg1 initializationForUITestingDidFailWithError:(id)arg2; - (void)testRunSessionDidBeginInitializingForUITesting:(id)arg1; - (void)testRunSessionDidBeginExecutingTestPlan:(id)arg1; +- (id)_IDE_shutdown; +- (id)_IDE_executeTestsWithIdentifiersToRun:(id)arg1 identifiersToSkip:(id)arg2; +- (id)_IDE_executeTestIdentifiers:(id)arg1 skippingTestIdentifiers:(id)arg2; +- (id)_IDE_fetchParallelizableTestIdentifiers; +- (id)_IDE_fetchDiscoveredTestClasses; - (id)_IDE_startExecutingTestPlanWithProtocolVersion:(id)arg1; -- (void)requestReadinessForTesting:(CDUnknownBlockType)arg1; -@property(readonly) _Bool supportsVariableScreenshotFormats; -@property(readonly) _Bool reportsCrashes; -@property long long IDEProtocolVersion; // @synthesize IDEProtocolVersion=_IDEProtocolVersion; -- (id)initWithTransport:(id)arg1; -- (void)dealloc; +- (void)flushOutgoingMessagesWithIDEConfirmationTimeout:(double)arg1; +- (void)reportTestWithIdentifier:(id)arg1 didExceedExecutionTimeAllowance:(double)arg2; +- (void)reportBootstrappingFailure:(id)arg1 completion:(CDUnknownBlockType)arg2; +@property(readonly) XCTFuture *readyForTestingFuture; // @synthesize readyForTestingFuture=_readyForTestingFuture; +- (id)_queue_makeReadyForTestingFuture; +@property(readonly) XCTFuture *testConfigurationFuture; // @synthesize testConfigurationFuture=_testConfigurationFuture; +- (id)_queue_testConfigurationFuture; +- (id)_queue_makeTestConfigurationFuture; +- (void)patchUpRelativePathsInTestConfiguration:(id)arg1; +@property(retain) XCTCapabilities *IDECapabilities; // @synthesize IDECapabilities=_IDECapabilities; +- (id)initWithTransport:(id)arg1 delegate:(id)arg2; // Remaining properties @property(readonly, copy) NSString *debugDescription; diff --git a/bp/src/PrivateHeaders/XCTest/XCTRunnerIDESessionDelegate-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTRunnerIDESessionDelegate-Protocol.h new file mode 100644 index 00000000..96372a92 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTRunnerIDESessionDelegate-Protocol.h @@ -0,0 +1,16 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@import Foundation; + +@class XCTRunnerIDESession; +@protocol XCTTestWorker; + +@protocol XCTRunnerIDESessionDelegate +- (id )testWorkerForIDESession:(XCTRunnerIDESession *)arg1; +- (void)IDESessionDidDisconnect:(XCTRunnerIDESession *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTSerializedTransportWrapper.h b/bp/src/PrivateHeaders/XCTest/XCTSerializedTransportWrapper.h index 561ece8f..b07b2fc1 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTSerializedTransportWrapper.h +++ b/bp/src/PrivateHeaders/XCTest/XCTSerializedTransportWrapper.h @@ -1,14 +1,14 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "NSSecureCoding.h" +#import -@class NSObject; +@protocol OS_xpc_object; @interface XCTSerializedTransportWrapper : NSObject { @@ -16,10 +16,10 @@ } + (_Bool)supportsSecureCoding; +- (void).cxx_destruct; @property(readonly) NSObject *serializedTransport; // @synthesize serializedTransport=_serializedTransport; - (void)encodeWithCoder:(id)arg1; - (id)initWithCoder:(id)arg1; -- (void)dealloc; - (id)initWithSerializedTransport:(id)arg1; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTSkippedTestContext.h b/bp/src/PrivateHeaders/XCTest/XCTSkippedTestContext.h new file mode 100644 index 00000000..233d2ee4 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTSkippedTestContext.h @@ -0,0 +1,32 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSString, XCTSourceCodeContext; + +@interface XCTSkippedTestContext : NSObject +{ + NSString *_summary; + NSString *_explanation; + NSString *_evaluatedExpression; + NSString *_message; + XCTSourceCodeContext *_sourceCodeContext; +} + +- (void).cxx_destruct; +@property(readonly) XCTSourceCodeContext *sourceCodeContext; // @synthesize sourceCodeContext=_sourceCodeContext; +@property(readonly, copy) NSString *message; // @synthesize message=_message; +@property(readonly, copy) NSString *evaluatedExpression; // @synthesize evaluatedExpression=_evaluatedExpression; +@property(readonly, copy) NSString *explanation; // @synthesize explanation=_explanation; +@property(readonly, copy) NSString *summary; // @synthesize summary=_summary; +- (id)initWithError:(id)arg1 evaluatedExpression:(id)arg2 message:(id)arg3 sourceCodeContext:(id)arg4; +- (id)initWithException:(id)arg1 evaluatedExpression:(id)arg2 message:(id)arg3 sourceCodeContext:(id)arg4; +- (id)initWithExpectedValue:(_Bool)arg1 evaluatedExpression:(id)arg2 message:(id)arg3 sourceCodeContext:(id)arg4; +- (id)initWithExplanation:(id)arg1 evaluatedExpression:(id)arg2 message:(id)arg3 sourceCodeContext:(id)arg4; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTSourceCodeContext.h b/bp/src/PrivateHeaders/XCTest/XCTSourceCodeContext.h new file mode 100644 index 00000000..686f577f --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTSourceCodeContext.h @@ -0,0 +1,34 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSArray, XCTSourceCodeLocation; + +@interface XCTSourceCodeContext : NSObject +{ + NSArray *_callStack; + XCTSourceCodeLocation *_location; +} + ++ (_Bool)supportsSecureCoding; ++ (id)sourceCodeFramesFromCallStackReturnAddresses:(id)arg1; +- (void).cxx_destruct; +@property(readonly) XCTSourceCodeLocation *location; // @synthesize location=_location; +@property(readonly, copy) NSArray *callStack; // @synthesize callStack=_callStack; +- (_Bool)isEqual:(id)arg1; +- (unsigned long long)hash; +- (id)initWithCoder:(id)arg1; +- (void)encodeWithCoder:(id)arg1; +- (id)init; +- (id)initWithLocation:(id)arg1; +- (id)initWithCallStackAddresses:(id)arg1 location:(id)arg2; +- (id)initWithCallStack:(id)arg1 location:(id)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTSourceCodeFrame.h b/bp/src/PrivateHeaders/XCTest/XCTSourceCodeFrame.h new file mode 100644 index 00000000..21be6aaa --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTSourceCodeFrame.h @@ -0,0 +1,35 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSError, XCTSourceCodeSymbolInfo; + +@interface XCTSourceCodeFrame : NSObject +{ + XCTSourceCodeSymbolInfo *_frameSymbolInfo; + unsigned long long _address; + NSError *_symbolicationError; +} + ++ (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property(readonly) NSError *symbolicationError; // @synthesize symbolicationError=_symbolicationError; +@property(readonly) unsigned long long address; // @synthesize address=_address; +- (_Bool)isEqual:(id)arg1; +- (unsigned long long)hash; +- (id)initWithCoder:(id)arg1; +- (void)encodeWithCoder:(id)arg1; +@property(readonly) XCTSourceCodeSymbolInfo *symbolInfo; +- (id)symbolInfoWithError:(id *)arg1; +- (id)description; +- (id)initWithAddress:(unsigned long long)arg1; +- (id)initWithAddress:(unsigned long long)arg1 symbolInfo:(id)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTSourceCodeLocation.h b/bp/src/PrivateHeaders/XCTest/XCTSourceCodeLocation.h new file mode 100644 index 00000000..b2f19f76 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTSourceCodeLocation.h @@ -0,0 +1,32 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSURL; + +@interface XCTSourceCodeLocation : NSObject +{ + NSURL *_fileURL; + long long _lineNumber; +} + ++ (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property(readonly) long long lineNumber; // @synthesize lineNumber=_lineNumber; +@property(readonly) NSURL *fileURL; // @synthesize fileURL=_fileURL; +- (_Bool)isEqual:(id)arg1; +- (unsigned long long)hash; +- (id)initWithCoder:(id)arg1; +- (void)encodeWithCoder:(id)arg1; +- (id)description; +- (id)initWithFilePath:(id)arg1 lineNumber:(long long)arg2; +- (id)initWithFileURL:(id)arg1 lineNumber:(long long)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTSourceCodeSymbolInfo.h b/bp/src/PrivateHeaders/XCTest/XCTSourceCodeSymbolInfo.h new file mode 100644 index 00000000..3517f5e6 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTSourceCodeSymbolInfo.h @@ -0,0 +1,33 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSString, XCTSourceCodeLocation; + +@interface XCTSourceCodeSymbolInfo : NSObject +{ + NSString *_imageName; + NSString *_symbolName; + XCTSourceCodeLocation *_location; +} + ++ (_Bool)supportsSecureCoding; +- (void).cxx_destruct; +@property(readonly) XCTSourceCodeLocation *location; // @synthesize location=_location; +@property(readonly, copy) NSString *symbolName; // @synthesize symbolName=_symbolName; +@property(readonly, copy) NSString *imageName; // @synthesize imageName=_imageName; +- (_Bool)isEqual:(id)arg1; +- (unsigned long long)hash; +- (id)description; +- (id)initWithCoder:(id)arg1; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithImageName:(id)arg1 symbolName:(id)arg2 location:(id)arg3; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTStorageMetric.h b/bp/src/PrivateHeaders/XCTest/XCTStorageMetric.h new file mode 100644 index 00000000..751b4edb --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTStorageMetric.h @@ -0,0 +1,42 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import +#import + +@class MXMDiskMetric, NSString; + +@interface XCTStorageMetric : NSObject +{ + NSString *_instrumentationName; + MXMDiskMetric *__underlyingMetric; +} + +- (void).cxx_destruct; +@property(retain, nonatomic) MXMDiskMetric *_underlyingMetric; // @synthesize _underlyingMetric=__underlyingMetric; +@property(readonly, nonatomic) NSString *instrumentationName; // @synthesize instrumentationName=_instrumentationName; +- (id)reportMeasurementsFromStartTime:(id)arg1 toEndTime:(id)arg2 error:(id *)arg3; +- (void)didStopMeasuringAtTimestamp:(id)arg1; +- (void)didStartMeasuringAtTimestamp:(id)arg1; +- (void)willBeginMeasuringAtEstimatedTimestamp:(id)arg1; +- (void)prepareToMeasureWithOptions:(id)arg1; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (id)initWithUnderlyingMetric:(id)arg1; +- (id)initWithApplication:(id)arg1; +- (id)initWithProcessName:(id)arg1; +- (id)initWithProcessIdentifier:(int)arg1; +- (id)init; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTSwiftErrorObservation.h b/bp/src/PrivateHeaders/XCTest/XCTSwiftErrorObservation.h new file mode 100644 index 00000000..90937ec9 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTSwiftErrorObservation.h @@ -0,0 +1,19 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@interface XCTSwiftErrorObservation : NSObject +{ +} + ++ (id)observeErrorsInBlock:(CDUnknownBlockType)arg1; ++ (void)installSwiftErrorObserverIfPossible; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTSwiftErrorObservation_Overlay-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTSwiftErrorObservation_Overlay-Protocol.h new file mode 100644 index 00000000..fa6e1dfc --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTSwiftErrorObservation_Overlay-Protocol.h @@ -0,0 +1,13 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@protocol XCTSwiftErrorObservation_Overlay + +@optional ++ (XCTIssue * (^)(void))_observeErrors; ++ (_Bool)_installErrorObserver; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTSymbolInfoProviding-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTSymbolInfoProviding-Protocol.h new file mode 100644 index 00000000..3a2598e5 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTSymbolInfoProviding-Protocol.h @@ -0,0 +1,14 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class XCTSourceCodeSymbolInfo; + +@protocol XCTSymbolInfoProviding +- (XCTSourceCodeSymbolInfo *)symbolInfoForAddressInCurrentProcess:(unsigned long long)arg1 error:(id *)arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTSymbolicationService.h b/bp/src/PrivateHeaders/XCTest/XCTSymbolicationService.h new file mode 100644 index 00000000..f9b6acc4 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTSymbolicationService.h @@ -0,0 +1,18 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface XCTSymbolicationService : NSObject +{ +} + ++ (void)pushSharedSymbolicationService:(id)arg1 forScope:(CDUnknownBlockType)arg2; ++ (void)setSharedService:(id)arg1; ++ (id)sharedService; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTTelemetryLogger.h b/bp/src/PrivateHeaders/XCTest/XCTTelemetryLogger.h new file mode 100644 index 00000000..9f03390e --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTTelemetryLogger.h @@ -0,0 +1,40 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSArray, NSString; + +@interface XCTTelemetryLogger : NSObject +{ + NSArray *_loggers; +} + ++ (double)defaultFlushTimeout; ++ (void)setSharedLogger:(id)arg1; ++ (id)sharedLogger; ++ (id)defaultLoggers; ++ (void)initialize; +- (void).cxx_destruct; +@property(readonly, copy) NSArray *loggers; // @synthesize loggers=_loggers; +- (void)flushWithCompletion:(CDUnknownBlockType)arg1; +- (void)logUsageOfFunction:(id)arg1; +- (void)logUsageOfClass:(id)arg1 method:(id)arg2; +- (void)logEventWithName:(id)arg1; +- (void)flushWithTimeout:(double)arg1; +- (id)initWithLoggers:(id)arg1; +- (id)init; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTTelemetryLogging-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTTelemetryLogging-Protocol.h new file mode 100644 index 00000000..30afdb24 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTTelemetryLogging-Protocol.h @@ -0,0 +1,17 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSString; + +@protocol XCTTelemetryLogging +- (void)flushWithCompletion:(void (^)(void))arg1; +- (void)logUsageOfFunction:(NSString *)arg1; +- (void)logUsageOfClass:(NSString *)arg1 method:(NSString *)arg2; +- (void)logEventWithName:(NSString *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTTelemetryObserver.h b/bp/src/PrivateHeaders/XCTest/XCTTelemetryObserver.h new file mode 100644 index 00000000..7fcd5352 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTTelemetryObserver.h @@ -0,0 +1,27 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSString; + +__attribute__((visibility("hidden"))) +@interface XCTTelemetryObserver : NSObject +{ +} + +- (void)testCaseWillStart:(id)arg1; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTTestIdentifier.h b/bp/src/PrivateHeaders/XCTest/XCTTestIdentifier.h new file mode 100644 index 00000000..155fb279 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTTestIdentifier.h @@ -0,0 +1,59 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@import Foundation; + +@class NSArray, NSString; + +@interface XCTTestIdentifier : NSObject +{ +} + ++ (_Bool)supportsSecureCoding; ++ (id)allocWithZone:(struct _NSZone *)arg1; ++ (id)bundleIdentifier; ++ (id)identifierForClass:(Class)arg1; ++ (id)leafIdentifierWithComponents:(id)arg1; ++ (id)containerIdentifierWithComponents:(id)arg1; ++ (id)containerIdentifierWithComponent:(id)arg1; +- (Class)classForCoder; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +@property(readonly) unsigned long long options; +- (id)componentAtIndex:(unsigned long long)arg1; +@property(readonly) unsigned long long componentCount; +@property(readonly) NSArray *components; +- (id)initWithComponents:(id)arg1 options:(unsigned long long)arg2; +- (id)initWithStringRepresentation:(id)arg1 preserveModulePrefix:(_Bool)arg2; +- (id)initWithStringRepresentation:(id)arg1; +- (id)initWithClassName:(id)arg1; +- (id)initWithClassName:(id)arg1 methodName:(id)arg2; +- (id)initWithClassAndMethodComponents:(id)arg1; +- (id)initWithComponents:(id)arg1 isContainer:(_Bool)arg2; +- (id)copyWithZone:(struct _NSZone *)arg1; +@property(readonly) XCTTestIdentifier *swiftMethodCounterpart; +@property(readonly) XCTTestIdentifier *firstComponentIdentifier; +@property(readonly) XCTTestIdentifier *parentIdentifier; +- (id)_identifierString; +@property(readonly) NSString *identifierString; +@property(readonly) NSString *displayName; +@property(readonly) NSString *lastComponentDisplayName; +@property(readonly) NSString *lastComponent; +@property(readonly) NSString *firstComponent; +@property(readonly) _Bool representsBundle; +@property(readonly) _Bool isLeaf; +@property(readonly) _Bool isContainer; +- (unsigned long long)hash; +- (_Bool)isEqual:(id)arg1; +- (id)debugDescription; +- (id)description; +@property(readonly) _Bool isSwiftMethod; +@property(readonly) _Bool usesClassAndMethodSemantics; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTTestIdentifierSet.h b/bp/src/PrivateHeaders/XCTest/XCTTestIdentifierSet.h new file mode 100644 index 00000000..bc0586a6 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTTestIdentifierSet.h @@ -0,0 +1,41 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@import Foundation; + + +@class NSDictionary, XCTTestIdentifier; + +@interface XCTTestIdentifierSet : NSObject +{ +} + ++ (_Bool)supportsSecureCoding; ++ (id)allocWithZone:(struct _NSZone *)arg1; ++ (id)emptyTestIdentifierSet; +- (Class)classForCoder; +- (void)encodeWithCoder:(id)arg1; +- (id)initWithCoder:(id)arg1; +- (unsigned long long)countByEnumeratingWithState:(id *)arg1 objects:(id *)arg2 count:(unsigned long long)arg3; +- (_Bool)isEqual:(id)arg1; +- (id)description; +- (_Bool)containsTestIdentifier:(id)arg1; +@property(readonly) unsigned long long count; +- (id)init; +- (id)initWithTestIdentifiers:(const id *)arg1 count:(unsigned long long)arg2; +- (id)initWithSet:(id)arg1; +- (id)initWithArray:(id)arg1; +- (id)initWithTestIdentifier:(id)arg1; +- (id)copyWithZone:(struct _NSZone *)arg1; +@property(readonly) NSDictionary *testIdentifiersGroupedByFirstComponentIdentifier; +- (id)builder; +- (id)setByAddingTestIdentifiersFromSet:(id)arg1; +- (id)setByApplyingBlock:(id)arg1; +- (void)enumerateTestIdentifiersUsingBlock:(id)arg1; +@property(readonly) XCTTestIdentifier *anyTestIdentifier; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTTestIdentifierSetBuilder.h b/bp/src/PrivateHeaders/XCTest/XCTTestIdentifierSetBuilder.h new file mode 100644 index 00000000..f3a6320f --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTTestIdentifierSetBuilder.h @@ -0,0 +1,38 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSMutableSet, XCTTestIdentifierSet; + +@interface XCTTestIdentifierSetBuilder : NSObject +{ + NSMutableSet *_testIdentifiers; +} + +- (void).cxx_destruct; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (void)addTestIdentifierWithLegacyStringRepresentation:(id)arg1 includingSwiftCounterpart:(_Bool)arg2; +- (void)minusBuilder:(id)arg1; +- (void)minusSet:(id)arg1; +- (void)unionBuilder:(id)arg1; +- (void)unionSet:(id)arg1; +- (void)removeAllTestIdentifiers; +- (void)removeTestIdentifier:(id)arg1; +- (void)addTestIdentifier:(id)arg1; +- (_Bool)containsTestIdentifier:(id)arg1; +@property(readonly) XCTTestIdentifierSet *testIdentifierSet; +@property(readonly) unsigned long long count; +- (id)initWithTestIdentifierSet:(id)arg1; +- (id)initWithSet:(id)arg1; +- (id)initWithArray:(id)arg1; +- (id)initWithTestIdentifier:(id)arg1; +- (id)init; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTTestRunSession.h b/bp/src/PrivateHeaders/XCTest/XCTTestRunSession.h index ff5d0634..f26f362c 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTTestRunSession.h +++ b/bp/src/PrivateHeaders/XCTest/XCTTestRunSession.h @@ -1,27 +1,42 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -@class XCTestConfiguration; +#import -@interface XCTTestRunSession : NSObject +@class NSString, XCTBlockingQueue, XCTestConfiguration; +@protocol XCTTestRunSessionDelegate; + +@interface XCTTestRunSession : NSObject { - XCTestConfiguration *_testConfiguration; id _delegate; + XCTestConfiguration *_testConfiguration; + XCTBlockingQueue *_workQueue; } -@property id delegate; // @synthesize delegate=_delegate; ++ (void)initialize; +- (void).cxx_destruct; +@property(retain) XCTBlockingQueue *workQueue; // @synthesize workQueue=_workQueue; @property(retain) XCTestConfiguration *testConfiguration; // @synthesize testConfiguration=_testConfiguration; +@property __weak id delegate; // @synthesize delegate=_delegate; +- (void)shutdown; +- (void)executeTestIdentifiers:(id)arg1 skippingTestIdentifiers:(id)arg2 completionHandler:(CDUnknownBlockType)arg3 completionQueue:(id)arg4; +- (void)fetchDiscoveredTestClasses:(CDUnknownBlockType)arg1; - (_Bool)runTestsAndReturnError:(id *)arg1; - (_Bool)_preTestingInitialization; - (void)resumeAppSleep:(id)arg1; - (id)suspendAppSleep; -- (id)initWithTestConfiguration:(id)arg1 delegate:(id)arg2; -- (void)dealloc; +- (id)initWithTestConfiguration:(id)arg1; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTTestRunSessionDelegate-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTTestRunSessionDelegate-Protocol.h index 9dd15d3c..f277b222 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTTestRunSessionDelegate-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCTTestRunSessionDelegate-Protocol.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSError, XCTTestRunSession; diff --git a/bp/src/PrivateHeaders/XCTest/XCTTestScheduler-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTTestScheduler-Protocol.h new file mode 100644 index 00000000..a8a817b0 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTTestScheduler-Protocol.h @@ -0,0 +1,17 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class NSObject, XCTTestIdentifierSet; +@protocol OS_dispatch_queue, XCTTestSchedulerDelegate, XCTTestSchedulerWorker; + +@protocol XCTTestScheduler +@property(retain) NSObject *delegateQueue; +@property __weak id delegate; +@property(retain) NSObject *workerQueue; +- (void)startWithTestIdentifiersToRun:(XCTTestIdentifierSet *)arg1 testIdentifiersToSkip:(XCTTestIdentifierSet *)arg2; +- (void)workerDidBecomeAvailable:(id )arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTTestSchedulerWorker-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTTestSchedulerWorker-Protocol.h new file mode 100644 index 00000000..fb3c6c38 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTTestSchedulerWorker-Protocol.h @@ -0,0 +1,16 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSObject, XCTTestIdentifierSet; +@protocol OS_dispatch_queue; + +@protocol XCTTestSchedulerWorker +- (void)shutdown; +- (void)executeTestIdentifiers:(XCTTestIdentifierSet *)arg1 skippingTestIdentifiers:(XCTTestIdentifierSet *)arg2 completionHandler:(void (^)(NSError *))arg3 completionQueue:(NSObject *)arg4; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTTestWorker-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTTestWorker-Protocol.h new file mode 100644 index 00000000..18e0c455 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTTestWorker-Protocol.h @@ -0,0 +1,12 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@protocol XCTTestWorker +- (void)fetchDiscoveredTestClasses:(void (^)(XCTTestIdentifierSet *, NSError *))arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTUIApplicationMonitor-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTUIApplicationMonitor-Protocol.h deleted file mode 100644 index c13555e7..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCTUIApplicationMonitor-Protocol.h +++ /dev/null @@ -1,18 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSNumber, NSString, XCTApplicationStateSnapshot; - -@protocol XCTUIApplicationMonitor -- (void)updatedApplicationStateSnapshot:(XCTApplicationStateSnapshot *)arg1; -- (void)applicationWithBundleID:(NSString *)arg1 didUpdatePID:(int)arg2 state:(unsigned long long)arg3; -- (void)processWithToken:(NSNumber *)arg1 exitedWithStatus:(int)arg2; -- (void)stopTrackingProcessWithToken:(NSNumber *)arg1; -- (void)crashInProcessWithBundleID:(NSString *)arg1 path:(NSString *)arg2 pid:(int)arg3 symbol:(NSString *)arg4; -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCTUniformTypeIdentifier.h b/bp/src/PrivateHeaders/XCTest/XCTUniformTypeIdentifier.h index 37573638..bf2efadb 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTUniformTypeIdentifier.h +++ b/bp/src/PrivateHeaders/XCTest/XCTUniformTypeIdentifier.h @@ -1,19 +1,22 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @interface XCTUniformTypeIdentifier : NSObject { } -+ (_Bool)isImageUTI:(id)arg1; -+ (id)inferredUTIForFileExtension:(id)arg1; ++ (id)testIssue; ++ (_Bool)isImageUniformTypeIdentifier:(id)arg1; ++ (id)inferredFileExtensionForUniformTypeIdentifier:(id)arg1; ++ (id)inferredUniformTypeIdentifierForFileExtension:(id)arg1; + (id)zipArchive; + (id)XMLPropertyList; ++ (id)HEIC; + (id)GIF; + (id)TIFF; + (id)JPEG; diff --git a/bp/src/PrivateHeaders/XCTest/XCTWaiter.h b/bp/src/PrivateHeaders/XCTest/XCTWaiter.h index 7389fd9a..a2d6d17c 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTWaiter.h +++ b/bp/src/PrivateHeaders/XCTest/XCTWaiter.h @@ -1,41 +1,59 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "XCTWaiterManagement.h" -#import "XCTestExpectationDelegate.h" +#import +#import -@class NSArray, NSObject, NSString, _XCTWaiterImpl; +@class NSArray, NSMutableArray, NSString, XCTWaiterManager; +@protocol OS_dispatch_queue, XCTWaiterDelegate; @interface XCTWaiter : NSObject { - _XCTWaiterImpl *_internalImplementation; + _Bool _enforceOrderOfFulfillment; + id _delegate; + NSObject *_delegateQueue; + long long _state; + long long _result; + double _timeout; + NSArray *_waitCallStackReturnAddresses; + NSArray *_expectations; + NSMutableArray *_mutableFulfilledExpectations; + struct __CFRunLoop *_waitingRunLoop; + XCTWaiterManager *_manager; + unsigned long long _waitingThreadId; } -+ (id)waitForActivity:(id)arg1 timeout:(double)arg2 block:(CDUnknownBlockType)arg3; + (long long)waitForExpectations:(id)arg1 timeout:(double)arg2 enforceOrder:(_Bool)arg3; + (long long)waitForExpectations:(id)arg1 timeout:(double)arg2; + (void)wait:(double)arg1; + (void)setStallHandler:(CDUnknownBlockType)arg1; + (void)handleStalledWaiter:(id)arg1; -+ (CDUnknownBlockType)installWatchdogForWaiter:(id)arg1 timeout:(double)arg2; -@property(readonly) _XCTWaiterImpl *internalImplementation; // @synthesize internalImplementation=_internalImplementation; -- (long long)result; -@property(readonly) double timeout; -- (void)setState:(long long)arg1; -- (long long)state; ++ (void)installWatchdogForWaiter:(id)arg1 timeout:(double)arg2; ++ (double)watchdogTimeoutSlop; ++ (void)setWatchdogTimeoutSlop:(double)arg1; ++ (id)subsystemQueue; +- (void).cxx_destruct; +@property(readonly) unsigned long long waitingThreadId; // @synthesize waitingThreadId=_waitingThreadId; +@property __weak XCTWaiterManager *manager; // @synthesize manager=_manager; +@property struct __CFRunLoop *waitingRunLoop; // @synthesize waitingRunLoop=_waitingRunLoop; +@property(readonly, nonatomic) NSMutableArray *mutableFulfilledExpectations; // @synthesize mutableFulfilledExpectations=_mutableFulfilledExpectations; +@property(copy, nonatomic) NSArray *expectations; // @synthesize expectations=_expectations; +@property(copy) NSArray *waitCallStackReturnAddresses; // @synthesize waitCallStackReturnAddresses=_waitCallStackReturnAddresses; +@property _Bool enforceOrderOfFulfillment; // @synthesize enforceOrderOfFulfillment=_enforceOrderOfFulfillment; +@property double timeout; // @synthesize timeout=_timeout; +@property long long result; // @synthesize result=_result; +@property long long state; // @synthesize state=_state; +@property(readonly, nonatomic) NSObject *delegateQueue; // @synthesize delegateQueue=_delegateQueue; +@property __weak id delegate; // @synthesize delegate=_delegate; +@property(readonly) _Bool currentContextIsNested; +- (_Bool)isFinished; @property(readonly, getter=isInProgress) _Bool inProgress; -@property struct __CFRunLoop *waitingRunLoop; -@property(readonly, nonatomic) NSObject *delegateQueue; -@property(readonly, nonatomic) NSObject *queue; -- (void)setWaitCallStackReturnAddresses:(id)arg1; -@property(readonly, copy) NSArray *waitCallStackReturnAddresses; @property(readonly) NSArray *fulfilledExpectations; -@property __weak id delegate; - (void)_queue_validateExpectationFulfillmentWithTimeoutState:(_Bool)arg1; - (_Bool)_queue_enforceOrderingWithFulfilledExpectations:(id)arg1; - (void)_queue_computeInitiallyFulfilledExpectations; @@ -49,9 +67,9 @@ - (long long)waitForExpectations:(id)arg1 timeout:(double)arg2 enforceOrder:(_Bool)arg3; - (long long)waitForExpectations:(id)arg1 timeout:(double)arg2; @property(readonly, copy) NSString *description; +- (void)dealloc; - (id)initWithDelegate:(id)arg1; - (id)init; -- (void)dealloc; // Remaining properties @property(readonly, copy) NSString *debugDescription; diff --git a/bp/src/PrivateHeaders/XCTest/XCTWaiterDelegate-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTWaiterDelegate-Protocol.h index 0ec4724c..ca59b949 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTWaiterDelegate-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCTWaiterDelegate-Protocol.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +@import Foundation; @class NSArray, XCTWaiter, XCTestExpectation; diff --git a/bp/src/PrivateHeaders/XCTest/XCTWaiterInterruptionCompletionHandler.h b/bp/src/PrivateHeaders/XCTest/XCTWaiterInterruptionCompletionHandler.h new file mode 100644 index 00000000..d79ee770 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTWaiterInterruptionCompletionHandler.h @@ -0,0 +1,27 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSMutableSet, NSSet; + +__attribute__((visibility("hidden"))) +@interface XCTWaiterInterruptionCompletionHandler : NSObject +{ + CDUnknownBlockType _completion; + NSSet *_waiters; + NSMutableSet *_finishedWaiters; +} + +- (void).cxx_destruct; +@property(readonly) NSMutableSet *finishedWaiters; // @synthesize finishedWaiters=_finishedWaiters; +@property(readonly, copy) NSSet *waiters; // @synthesize waiters=_waiters; +@property(readonly, copy) CDUnknownBlockType completion; // @synthesize completion=_completion; +- (_Bool)waiterDidFinishWaiting:(id)arg1; +- (id)initWithWaiters:(id)arg1 completion:(CDUnknownBlockType)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTWaiterManagement-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTWaiterManagement-Protocol.h index 46c3d844..647353a2 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTWaiterManagement-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCTWaiterManagement-Protocol.h @@ -1,10 +1,12 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import + +@protocol XCTWaiterManagement; @protocol XCTWaiterManagement @property(readonly, getter=isInProgress) _Bool inProgress; diff --git a/bp/src/PrivateHeaders/XCTest/XCTWaiterManager.h b/bp/src/PrivateHeaders/XCTest/XCTWaiterManager.h index 30daf54e..fed12fdd 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTWaiterManager.h +++ b/bp/src/PrivateHeaders/XCTest/XCTWaiterManager.h @@ -1,26 +1,30 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -@class NSMutableArray, NSObject, NSThread; +@class NSMutableArray, NSMutableSet, NSThread; +@protocol OS_dispatch_queue; @interface XCTWaiterManager : NSObject { NSMutableArray *_waiterStack; NSThread *_thread; NSObject *_queue; + NSMutableSet *_interruptionCompletionHandlers; } + (id)threadLocalManager; +- (void).cxx_destruct; +@property(readonly) NSMutableSet *interruptionCompletionHandlers; // @synthesize interruptionCompletionHandlers=_interruptionCompletionHandlers; @property(readonly) NSObject *queue; // @synthesize queue=_queue; @property NSThread *thread; // @synthesize thread=_thread; @property(retain) NSMutableArray *waiterStack; // @synthesize waiterStack=_waiterStack; - (void)waiterDidFinishWaiting:(id)arg1; -- (void)waiterTimedOutWhileWaiting:(id)arg1; +- (void)waiterTimedOutWhileWaiting:(id)arg1 withCompletion:(CDUnknownBlockType)arg2; - (void)waiterWillBeginWaiting:(id)arg1; - (id)init; - (void)dealloc; diff --git a/bp/src/PrivateHeaders/XCTest/XCTest.h b/bp/src/PrivateHeaders/XCTest/XCTest.h index 1e5d6f5a..b31346f4 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTest.h +++ b/bp/src/PrivateHeaders/XCTest/XCTest.h @@ -1,36 +1,55 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +@import Foundation; -@class NSString, XCTestRun; +#import -@interface XCTest : NSObject +@class NSString, XCTExpectedFailureContextManager, XCTTestIdentifier, XCTestObservationCenter, XCTestRun; + +@interface XCTest : NSObject { - id _internal; + XCTExpectedFailureContextManager *_expectedFailureContextManager; + XCTestRun *_testRun; + XCTestObservationCenter *_observationCenter; } -+ (id)languageAgnosticTestClassNameForTestClass:(Class)arg1; +- (void)expectFailureWithContext:(id)arg1 inBlock:(id)arg2; +- (void)expectFailureWithContext:(id)arg1; +- (void)_checkForExpectedFailureMatchingIssue:(id)arg1; +- (id)expectedFailureContextManager; +- (void)handleIssue:(id)arg1; +- (long long)defaultExecutionOrderCompare:(id)arg1; @property(readonly) NSString *nameForLegacyLogging; @property(readonly) NSString *languageAgnosticTestMethodName; @property(readonly) NSString *languageAgnosticTestClassName; +- (_Bool)tearDownWithError:(id *)arg1; - (void)tearDown; - (void)setUp; +- (_Bool)setUpWithError:(id *)arg1; +- (_Bool)_shouldRerunTest; - (void)runTest; - (void)performTest:(id)arg1; -@property(readonly) XCTestRun *testRun; +@property(retain) XCTestObservationCenter *observationCenter; // @synthesize observationCenter=_observationCenter; +@property(readonly) XCTestRun *testRun; // @synthesize testRun=_testRun; @property(readonly) Class testRunClass; @property(readonly) Class _requiredTestRunBaseClass; @property(readonly, copy) NSString *name; @property(readonly) unsigned long long testCaseCount; -- (id)init; -- (void)dealloc; -- (void)removeTestsWithNames:(id)arg1; +- (id)_duplicate; @property(readonly) NSString *_methodNameForReporting; @property(readonly) NSString *_classNameForReporting; +- (void)removeTestsWithIdentifierInSet:(id)arg1; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) NSUInteger hash; +@property(readonly, getter=_identifier) XCTTestIdentifier *identifier; // @dynamic identifier; +@property(readonly) Class superclass; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTestCase.h b/bp/src/PrivateHeaders/XCTest/XCTestCase.h index b2e0e24e..116f35ad 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestCase.h +++ b/bp/src/PrivateHeaders/XCTest/XCTestCase.h @@ -1,33 +1,68 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // #import -#import "XCTActivity.h" -#import "XCTWaiterDelegate.h" +#import +#import -@class NSDictionary, NSInvocation, NSString, XCTestCaseRun, XCUITestContext, _XCTestCaseImplementation; +@class MXMInstrument, NSArray, NSDictionary, NSInvocation, NSMutableArray, NSMutableDictionary, NSMutableSet, NSObject, NSString, NSThread, XCTAttachmentManager, XCTIssue, XCTSkippedTestContext, XCTTestIdentifier, XCTWaiter, XCTestCaseRun; +@protocol OS_dispatch_source; @interface XCTestCase : XCTest { - id _internalImplementation; + _Bool _continueAfterFailure; + _Bool __preciseTimeoutsEnabled; + _Bool _isMeasuringMetrics; + _Bool __didMeasureMetrics; + _Bool __didStartMeasuring; + _Bool __didStopMeasuring; + _Bool _hasDequeuedTeardownBlocks; + _Bool _hasReportedFailuresToTestCaseRun; + _Bool _canHandleInterruptions; + _Bool _shouldHaltWhenReceivesControl; + _Bool _shouldSetShouldHaltWhenReceivesControl; + _Bool _hasAttemptedToCaptureScreenshotOnFailure; + XCTTestIdentifier *_identifier; + NSInvocation *_invocation; + double _executionTimeAllowance; + NSArray *_activePerformanceMetricIDs; + unsigned long long _startWallClockTime; + struct time_value _startUserTime; + struct time_value _startSystemTime; + unsigned long long _measuringIteration; + MXMInstrument *_instrument; + long long _runLoopNestingCount; + NSMutableArray *_teardownBlocks; + NSMutableArray *_primaryThreadBlocks; + XCTAttachmentManager *_attachmentManager; + NSDictionary *_activityAggregateStatistics; + NSObject *_timeoutSource; + unsigned long long _signpostID; + NSThread *_primaryThread; + NSMutableSet *_previousIssuesAssociatedWithSwiftErrors; + NSMutableArray *_enqueuedIssues; + NSMutableArray *_expectations; + XCTWaiter *_currentWaiter; + XCTSkippedTestContext *_skippedTestContext; + XCTestCaseRun *_testCaseRun; + NSMutableDictionary *__perfMetricsForID; } + (id)_baselineDictionary; + (_Bool)_treatMissingBaselinesAsTestFailures; -+ (id)knownMemoryMetrics; -+ (id)measurementFormatter; ++ (id)defaultMeasureOptions; ++ (id)defaultMetrics; + (id)defaultPerformanceMetrics; + (_Bool)_reportPerformanceFailuresForLargeImprovements; -+ (_Bool)_enableSymbolication; + (id)testInvocations; + (_Bool)isInheritingTestCases; -+ (id)_testStartActvityDateFormatter; + (id)bundle; + (id)testCaseWithSelector:(SEL)arg1; ++ (_Bool)_isDiscoverable; + (id)testCaseWithInvocation:(id)arg1; + (void)tearDown; + (void)setUp; @@ -35,98 +70,119 @@ + (id)allTestMethodInvocations; + (void)_allTestMethodInvocations:(id)arg1; + (id)testMethodInvocations; ++ (id)allSubclassesOutsideXCTest; + (id)allSubclasses; -@property(retain) _XCTestCaseImplementation *internalImplementation; // @synthesize internalImplementation=_internalImplementation; -- (void)removeUIInterruptionMonitor:(id)arg1; -- (id)addUIInterruptionMonitorWithDescription:(id)arg1 handler:(CDUnknownBlockType)arg2; -@property(readonly) XCUITestContext *testContext; -- (void)_dequeueAndReportBackgroundAttachments; ++ (id)_allSubclasses; + +@property(retain) NSMutableDictionary *_perfMetricsForID; // @synthesize _perfMetricsForID=__perfMetricsForID; +@property(retain) XCTestCaseRun *testCaseRun; // @synthesize testCaseRun=_testCaseRun; +@property(nonatomic) _Bool shouldSetShouldHaltWhenReceivesControl; // @synthesize shouldSetShouldHaltWhenReceivesControl=_shouldSetShouldHaltWhenReceivesControl; +@property(nonatomic) _Bool shouldHaltWhenReceivesControl; // @synthesize shouldHaltWhenReceivesControl=_shouldHaltWhenReceivesControl; +@property(retain) NSThread *primaryThread; // @synthesize primaryThread=_primaryThread; +@property(copy) NSDictionary *activityAggregateStatistics; // @synthesize activityAggregateStatistics=_activityAggregateStatistics; +@property long long runLoopNestingCount; // @synthesize runLoopNestingCount=_runLoopNestingCount; +@property _Bool _didStopMeasuring; // @synthesize _didStopMeasuring=__didStopMeasuring; +@property _Bool _didStartMeasuring; // @synthesize _didStartMeasuring=__didStartMeasuring; +@property _Bool _didMeasureMetrics; // @synthesize _didMeasureMetrics=__didMeasureMetrics; +@property(nonatomic) _Bool _preciseTimeoutsEnabled; // @synthesize _preciseTimeoutsEnabled=__preciseTimeoutsEnabled; +@property(readonly) double _effectiveExecutionTimeAllowance; +- (void)_resetTimer; +- (void)_stopTimeoutTimer; +- (void)_startTimeoutTimer; +- (void)_exceededExecutionTimeAllowance; +@property unsigned long long maxDurationInMinutes; +@property double executionTimeAllowance; // @synthesize executionTimeAllowance=_executionTimeAllowance; - (void)addAttachment:(id)arg1; -@property(readonly) NSDictionary *activityAggregateStatistics; -@property(readonly) unsigned long long activityRecordStackDepth; -- (void)runActivityNamed:(id)arg1 inScope:(CDUnknownBlockType)arg2; -- (void)startActivityWithTitle:(id)arg1 block:(CDUnknownBlockType)arg2; -- (void)startActivityWithTitle:(id)arg1 type:(id)arg2 block:(CDUnknownBlockType)arg3; -- (void)measureMetrics:(id)arg1 automaticallyStartMeasuring:(_Bool)arg2 forBlock:(CDUnknownBlockType)arg3; +- (void)runActivityNamed:(id)arg1 inScope:(id)arg2; +- (void)startActivityWithTitle:(id)arg1 block:(id)arg2; +- (void)startActivityWithTitle:(id)arg1 type:(id)arg2 block:(id)arg3; +- (void)measureMetrics:(id)arg1 automaticallyStartMeasuring:(_Bool)arg2 forBlock:(id)arg3; - (void)registerDefaultMetrics; - (id)baselinesDictionaryForTest; - (void)_logAndReportPerformanceMetrics:(id)arg1 perfMetricResultsForIDs:(id)arg2 withBaselinesForTest:(id)arg3; - (void)_logAndReportPerformanceMetrics:(id)arg1 perfMetricResultsForIDs:(id)arg2 withBaselinesForTest:(id)arg3 defaultBaselinesForPerfMetricID:(id)arg4; +- (void)registerMetricID:(id)arg1 name:(id)arg2 unitString:(id)arg3 polarity:(long long)arg4; - (void)registerMetricID:(id)arg1 name:(id)arg2 unitString:(id)arg3; - (void)registerMetricID:(id)arg1 name:(id)arg2 unit:(id)arg3; - (void)reportMetric:(id)arg1 reportFailures:(_Bool)arg2; - (void)reportMeasurements:(id)arg1 forMetricID:(id)arg2 reportFailures:(_Bool)arg3; -- (void)_recordValues:(id)arg1 forPerformanceMetricID:(id)arg2 name:(id)arg3 unitsOfMeasurement:(id)arg4 baselineName:(id)arg5 baselineAverage:(id)arg6 maxPercentRegression:(id)arg7 maxPercentRelativeStandardDeviation:(id)arg8 maxRegression:(id)arg9 maxStandardDeviation:(id)arg10 file:(id)arg11 line:(unsigned long long)arg12; -- (id)_symbolicationRecordForTestCodeInAddressStack:(id)arg1; -- (void)measureBlock:(CDUnknownBlockType)arg1; +- (void)_recordValues:(id)arg1 forPerformanceMetricID:(id)arg2 name:(id)arg3 unitsOfMeasurement:(id)arg4 baselineName:(id)arg5 baselineAverage:(id)arg6 maxPercentRegression:(id)arg7 maxPercentRelativeStandardDeviation:(id)arg8 maxRegression:(id)arg9 maxStandardDeviation:(id)arg10 file:(id)arg11 line:(unsigned long long)arg12 polarity:(long long)arg13; +- (void)measureWithMetrics:(id)arg1 options:(id)arg2 block:(id)arg3; +- (void)measureWithMetrics:(id)arg1 block:(id)arg2; +- (void)measureWithOptions:(id)arg1 block:(id)arg2; +- (void)measureBlock:(id)arg1; - (void)stopMeasuring; - (void)startMeasuring; -- (_Bool)_isMeasuringMetrics; -- (_Bool)_didStopMeasuring; -- (_Bool)_didStartMeasuring; -- (_Bool)_didMeasureMetrics; -- (id)_perfMetricsForID; +@property(readonly) id minimumOperatingSystemVersion; - (void)_logMemoryGraphDataFromFilePath:(id)arg1 withTitle:(id)arg2; - (void)_logMemoryGraphData:(id)arg1 withTitle:(id)arg2; - (unsigned long long)numberOfTestIterationsForTestWithSelector:(SEL)arg1; +- (id)addAdditionalIterationsBasedOnOptions:(id)arg1; - (void)afterTestIteration:(unsigned long long)arg1 selector:(SEL)arg2; - (void)beforeTestIteration:(unsigned long long)arg1 selector:(SEL)arg2; - (void)tearDownTestWithSelector:(SEL)arg1; - (void)setUpTestWithSelector:(SEL)arg1; -- (void)_addTeardownBlock:(CDUnknownBlockType)arg1; -- (void)addTeardownBlock:(CDUnknownBlockType)arg1; +- (void)_addTeardownBlock:(id)arg1; +- (void)addTeardownBlock:(id)arg1; - (void)_purgeTeardownBlocks; -- (void)_runTeardownBlocks; -- (id)_dequeueTeardownBlocks; -- (void)_performTearDownSequenceWithSelector:(SEL)arg1; - (void)performTest:(id)arg1; -- (void)_reportFailuresForUnwaitedExpectations; +- (_Bool)_shouldRerunTest; +- (void)_reportFailuresAtFile:(id)arg1 line:(unsigned long long)arg2 forTestAssertionsInScope:(id)arg3; - (void)invokeTest; - (Class)testRunClass; - (Class)_requiredTestRunBaseClass; -- (void)_reportFailuresAtFile:(id)arg1 line:(unsigned long long)arg2 forTestAssertionsInScope:(CDUnknownBlockType)arg3; -- (void)_recordUnexpectedFailureWithDescription:(id)arg1 error:(id)arg2; -- (void)_recordUnexpectedFailureWithDescription:(id)arg1 exception:(id)arg2; -- (void)_recordUnexpectedFailureWithDescription:(id)arg1; -- (void)_enqueueFailureWithDescription:(id)arg1 inFile:(id)arg2 atLine:(unsigned long long)arg3 expected:(_Bool)arg4 breakWhenDequeued:(_Bool)arg5; -- (void)_dequeueFailures; -- (void)_recordFailureActivityWithDescription:(id)arg1 inFile:(id)arg2 atLine:(unsigned long long)arg3; -- (void)recordFailureWithDescription:(id)arg1 inFile:(id)arg2 atLine:(unsigned long long)arg3 expected:(_Bool)arg4; -- (void)_interruptTest; -@property(nonatomic) _Bool shouldHaltWhenReceivesControl; -@property _Bool continueAfterFailure; -@property(retain) XCTestCaseRun *testCaseRun; -@property(retain) NSInvocation *invocation; +- (void)recordIssue:(id)arg1; +@property _Bool continueAfterFailure; // @synthesize continueAfterFailure=_continueAfterFailure; +@property(retain) NSInvocation *invocation; // @synthesize invocation=_invocation; - (void)dealloc; @property(readonly, copy) NSString *description; - (_Bool)isEqual:(id)arg1; +- (long long)defaultExecutionOrderCompare:(id)arg1; - (id)nameForLegacyLogging; @property(readonly, copy) NSString *name; - (id)languageAgnosticTestMethodName; +- (id)_identifier; - (unsigned long long)testCaseCount; - (id)bundle; - (id)initWithSelector:(SEL)arg1; +- (id)_duplicate; - (id)initWithInvocation:(id)arg1; - (id)init; +- (void)removeUIInterruptionMonitor:(id)arg1; +- (id)addUIInterruptionMonitorWithDescription:(id)arg1 handler:(id)arg2; - (void)nestedWaiter:(id)arg1 wasInterruptedByTimedOutWaiter:(id)arg2; - (void)waiter:(id)arg1 didFulfillInvertedExpectation:(id)arg2; - (void)waiter:(id)arg1 fulfillmentDidViolateOrderingConstraintsForExpectation:(id)arg2 requiredExpectation:(id)arg3; - (void)waiter:(id)arg1 didTimeoutWithUnfulfilledExpectations:(id)arg2; -- (id)expectationForPredicate:(id)arg1 evaluatedWithObject:(id)arg2 handler:(CDUnknownBlockType)arg3; -- (id)expectationForNotification:(id)arg1 object:(id)arg2 handler:(CDUnknownBlockType)arg3; -- (id)keyValueObservingExpectationForObject:(id)arg1 keyPath:(id)arg2 handler:(CDUnknownBlockType)arg3; +- (id)expectationForPredicate:(id)arg1 evaluatedWithObject:(id)arg2 handler:(id)arg3; +- (id)expectationForNotification:(id)arg1 object:(id)arg2 notificationCenter:(id)arg3 handler:(id)arg4; +- (id)expectationForNotification:(id)arg1 object:(id)arg2 handler:(id)arg3; +- (id)keyValueObservingExpectationForObject:(id)arg1 keyPath:(id)arg2 handler:(id)arg3; - (id)keyValueObservingExpectationForObject:(id)arg1 keyPath:(id)arg2 expectedValue:(id)arg3; - (id)expectationWithDescription:(id)arg1; -- (void)_addExpectation:(id)arg1; - (void)waitForExpectations:(id)arg1 timeout:(double)arg2 enforceOrder:(_Bool)arg3; - (void)waitForExpectations:(id)arg1 timeout:(double)arg2; -- (void)waitForExpectationsWithTimeout:(double)arg1 handler:(CDUnknownBlockType)arg2; -- (void)_waitForExpectations:(id)arg1 timeout:(double)arg2 enforceOrder:(_Bool)arg3 handler:(CDUnknownBlockType)arg4; +- (void)waitForExpectationsWithTimeout:(double)arg1 handler:(id)arg2; +- (id)_expectationForDistributedNotification:(id)arg1 object:(id)arg2 handler:(id)arg3; - (id)_expectationForDarwinNotification:(id)arg1; +- (void)recordFailureWithDescription:(id)arg1 inFile:(id)arg2 atLine:(unsigned long long)arg3 expected:(_Bool)arg4; +- (void)_interruptOrMarkForLaterInterruption; +- (_Bool)_caughtUnhandledDeveloperExceptionPermittingControlFlowInterruptions:(_Bool)arg1 caughtInterruptionException:(_Bool *)arg2 whileExecutingBlock:(id)arg3; +- (_Bool)_caughtUnhandledDeveloperExceptionPermittingControlFlowInterruptions:(_Bool)arg1 whileExecutingBlock:(id)arg2; +- (id)_issueWithFailureScreenshotAttachedToIssue:(id)arg1; +- (void)_handleIssue:(id)arg1; +- (void)_dequeueIssues; +- (void)_enqueueIssue:(id)arg1; +- (void)_recordIssue:(id)arg1; +- (_Bool)_isDuplicateOfIssueAssociatedWithSameSwiftError:(id)arg1; +- (void)expectFailureWithContext:(id)arg1; +@property(copy) XCTIssue *candidateIssueForCurrentThread; +- (id)_storageKeyForCandidateIssue; +- (void)handleIssue:(id)arg1; // Remaining properties @property(readonly, copy) NSString *debugDescription; -@property(readonly) unsigned long long hash; +@property(readonly) NSUInteger hash; @property(readonly) Class superclass; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTestCaseRun.h b/bp/src/PrivateHeaders/XCTest/XCTestCaseRun.h index 22729adb..c663f19b 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestCaseRun.h +++ b/bp/src/PrivateHeaders/XCTest/XCTestCaseRun.h @@ -1,7 +1,7 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // #import @@ -10,8 +10,10 @@ { } -- (void)_recordValues:(id)arg1 forPerformanceMetricID:(id)arg2 name:(id)arg3 unitsOfMeasurement:(id)arg4 baselineName:(id)arg5 baselineAverage:(id)arg6 maxPercentRegression:(id)arg7 maxPercentRelativeStandardDeviation:(id)arg8 maxRegression:(id)arg9 maxStandardDeviation:(id)arg10 file:(id)arg11 line:(unsigned long long)arg12; -- (void)recordFailureWithDescription:(id)arg1 inFile:(id)arg2 atLine:(unsigned long long)arg3 expected:(_Bool)arg4; +- (void)_recordValues:(id)arg1 forPerformanceMetricID:(id)arg2 name:(id)arg3 unitsOfMeasurement:(id)arg4 baselineName:(id)arg5 baselineAverage:(id)arg6 maxPercentRegression:(id)arg7 maxPercentRelativeStandardDeviation:(id)arg8 maxRegression:(id)arg9 maxStandardDeviation:(id)arg10 file:(id)arg11 line:(unsigned long long)arg12 polarity:(long long)arg13; +- (void)_handleIssue:(id)arg1; +- (void)recordExpectedFailure:(id)arg1; +- (void)recordSkipWithDescription:(id)arg1 sourceCodeContext:(id)arg2; - (void)recordFailureInTest:(id)arg1 withDescription:(id)arg2 inFile:(id)arg3 atLine:(unsigned long long)arg4 expected:(_Bool)arg5; - (void)stop; - (void)start; diff --git a/bp/src/PrivateHeaders/XCTest/XCTestCaseSuite.h b/bp/src/PrivateHeaders/XCTest/XCTestCaseSuite.h index b5683374..cc55289c 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestCaseSuite.h +++ b/bp/src/PrivateHeaders/XCTest/XCTestCaseSuite.h @@ -1,17 +1,20 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // #import +__attribute__((visibility("hidden"))) @interface XCTestCaseSuite : XCTestSuite { Class _testCaseClass; } + (id)emptyTestSuiteForTestCaseClass:(Class)arg1; +- (void).cxx_destruct; +@property(readonly) Class testCaseClass; // @synthesize testCaseClass=_testCaseClass; - (void)tearDown; - (void)setUp; - (id)initWithTestCaseClass:(Class)arg1; diff --git a/bp/src/PrivateHeaders/XCTest/XCTestConfiguration.h b/bp/src/PrivateHeaders/XCTest/XCTestConfiguration.h index 78561c21..1b15c16d 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestConfiguration.h +++ b/bp/src/PrivateHeaders/XCTest/XCTestConfiguration.h @@ -1,29 +1,31 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // @import Foundation; -@class NSArray, NSDictionary, NSSet, NSString, NSURL, NSUUID; +@class NSArray, NSDictionary, NSNumber, NSString, NSURL, NSUUID, XCTAggregateSuiteRunStatistics, XCTCapabilities, XCTRerunPolicy, XCTTestIdentifierSet; -@interface XCTestConfiguration : NSObject +@interface XCTestConfiguration : NSObject { _Bool _reportResultsToIDE; + _Bool _testsDrivenByIDE; _Bool _disablePerformanceMetrics; _Bool _treatMissingBaselinesAsFailures; _Bool _reportActivities; _Bool _testsMustRunOnMainThread; _Bool _initializeForUITesting; + _Bool _gatherLocalizableStringsData; _Bool _emitOSLogs; + _Bool _testTimeoutsEnabled; NSString *_absolutePath; NSString *_testBundleRelativePath; NSURL *_testBundleURL; - NSSet *_testsToRun; - NSSet *_testsToSkip; + XCTTestIdentifierSet *_testsToRun; + XCTTestIdentifierSet *_testsToSkip; NSUUID *_sessionIdentifier; - NSString *_pathToXcodeReportingSocket; NSURL *_baselineFileURL; NSString *_baselineFileRelativePath; NSString *_targetApplicationPath; @@ -31,25 +33,45 @@ NSDictionary *_testApplicationDependencies; NSDictionary *_testApplicationUserOverrides; NSString *_productModuleName; + NSNumber *_traceCollectionEnabled; + NSDictionary *_performanceTestConfiguration; NSDictionary *_targetApplicationEnvironment; NSArray *_targetApplicationArguments; - NSDictionary *_aggregateStatisticsBeforeCrash; + XCTAggregateSuiteRunStatistics *_aggregateStatisticsBeforeCrash; NSString *_automationFrameworkPath; long long _systemAttachmentLifetime; long long _userAttachmentLifetime; + long long _testExecutionOrdering; + NSNumber *_randomExecutionOrderingSeed; + XCTRerunPolicy *_rerunPolicy; + NSNumber *_defaultTestExecutionTimeAllowance; + NSNumber *_maximumTestExecutionTimeAllowance; + id _randomNumberGenerator; + XCTCapabilities *_IDECapabilities; } -+ (id)configurationWithContentsOfFile:(id)arg1; + (id)activeTestConfiguration; + (void)setActiveTestConfiguration:(id)arg1; + (_Bool)supportsSecureCoding; + +@property(retain) XCTCapabilities *IDECapabilities; // @synthesize IDECapabilities=_IDECapabilities; +@property(copy) id randomNumberGenerator; // @synthesize randomNumberGenerator=_randomNumberGenerator; +@property(copy, nonatomic) NSNumber *maximumTestExecutionTimeAllowance; // @synthesize maximumTestExecutionTimeAllowance=_maximumTestExecutionTimeAllowance; +@property(copy, nonatomic) NSNumber *defaultTestExecutionTimeAllowance; // @synthesize defaultTestExecutionTimeAllowance=_defaultTestExecutionTimeAllowance; +@property _Bool testTimeoutsEnabled; // @synthesize testTimeoutsEnabled=_testTimeoutsEnabled; +@property(retain) XCTRerunPolicy *rerunPolicy; // @synthesize rerunPolicy=_rerunPolicy; +@property(retain) NSNumber *randomExecutionOrderingSeed; // @synthesize randomExecutionOrderingSeed=_randomExecutionOrderingSeed; +@property long long testExecutionOrdering; // @synthesize testExecutionOrdering=_testExecutionOrdering; @property long long userAttachmentLifetime; // @synthesize userAttachmentLifetime=_userAttachmentLifetime; @property long long systemAttachmentLifetime; // @synthesize systemAttachmentLifetime=_systemAttachmentLifetime; @property _Bool emitOSLogs; // @synthesize emitOSLogs=_emitOSLogs; @property(copy) NSString *automationFrameworkPath; // @synthesize automationFrameworkPath=_automationFrameworkPath; -@property(copy) NSDictionary *aggregateStatisticsBeforeCrash; // @synthesize aggregateStatisticsBeforeCrash=_aggregateStatisticsBeforeCrash; +@property(copy) XCTAggregateSuiteRunStatistics *aggregateStatisticsBeforeCrash; // @synthesize aggregateStatisticsBeforeCrash=_aggregateStatisticsBeforeCrash; @property(copy) NSArray *targetApplicationArguments; // @synthesize targetApplicationArguments=_targetApplicationArguments; @property(copy) NSDictionary *targetApplicationEnvironment; // @synthesize targetApplicationEnvironment=_targetApplicationEnvironment; +@property _Bool gatherLocalizableStringsData; // @synthesize gatherLocalizableStringsData=_gatherLocalizableStringsData; +@property(copy) NSDictionary *performanceTestConfiguration; // @synthesize performanceTestConfiguration=_performanceTestConfiguration; +@property(copy) NSNumber *traceCollectionEnabled; // @synthesize traceCollectionEnabled=_traceCollectionEnabled; @property _Bool initializeForUITesting; // @synthesize initializeForUITesting=_initializeForUITesting; @property _Bool testsMustRunOnMainThread; // @synthesize testsMustRunOnMainThread=_testsMustRunOnMainThread; @property _Bool reportActivities; // @synthesize reportActivities=_reportActivities; @@ -60,25 +82,26 @@ @property(copy) NSString *targetApplicationPath; // @synthesize targetApplicationPath=_targetApplicationPath; @property _Bool treatMissingBaselinesAsFailures; // @synthesize treatMissingBaselinesAsFailures=_treatMissingBaselinesAsFailures; @property _Bool disablePerformanceMetrics; // @synthesize disablePerformanceMetrics=_disablePerformanceMetrics; +@property _Bool testsDrivenByIDE; // @synthesize testsDrivenByIDE=_testsDrivenByIDE; @property _Bool reportResultsToIDE; // @synthesize reportResultsToIDE=_reportResultsToIDE; @property(copy) NSString *baselineFileRelativePath; // @synthesize baselineFileRelativePath=_baselineFileRelativePath; @property(copy, nonatomic) NSURL *baselineFileURL; // @synthesize baselineFileURL=_baselineFileURL; -@property(copy) NSString *pathToXcodeReportingSocket; // @synthesize pathToXcodeReportingSocket=_pathToXcodeReportingSocket; @property(copy) NSUUID *sessionIdentifier; // @synthesize sessionIdentifier=_sessionIdentifier; -@property(copy) NSSet *testsToSkip; // @synthesize testsToSkip=_testsToSkip; -@property(copy) NSSet *testsToRun; // @synthesize testsToRun=_testsToRun; +@property(copy) XCTTestIdentifierSet *testsToSkip; // @synthesize testsToSkip=_testsToSkip; +@property(copy) XCTTestIdentifierSet *testsToRun; // @synthesize testsToRun=_testsToRun; @property(copy, nonatomic) NSURL *testBundleURL; // @synthesize testBundleURL=_testBundleURL; @property(copy) NSString *testBundleRelativePath; // @synthesize testBundleRelativePath=_testBundleRelativePath; @property(copy) NSString *absolutePath; // @synthesize absolutePath=_absolutePath; +- (void)clearXcodeReportingConfiguration; @property(readonly) long long testMode; - (_Bool)isEqual:(id)arg1; - (unsigned long long)hash; - (id)description; -- (_Bool)writeToFile:(id)arg1; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (void)_encodeTestIdentifiersWithCoder:(id)arg1; - (void)encodeWithCoder:(id)arg1; - (id)initWithCoder:(id)arg1; - (id)init; -- (void)dealloc; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTestConfigurationLoader.h b/bp/src/PrivateHeaders/XCTest/XCTestConfigurationLoader.h new file mode 100644 index 00000000..0bc5a5ad --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCTestConfigurationLoader.h @@ -0,0 +1,31 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSURL; + +@interface XCTestConfigurationLoader : NSObject +{ + NSURL *_testConfigurationURLFromEnvironment; +} + +- (void).cxx_destruct; +@property(readonly, copy) NSURL *testConfigurationURLFromEnvironment; // @synthesize testConfigurationURLFromEnvironment=_testConfigurationURLFromEnvironment; +- (id)_mostRecentFileInDirectory:(id)arg1 withExtension:(id)arg2; +- (id)_mostRecentTestBundle; +- (id)_testConfigurationFromURL:(id)arg1; +- (id)_synthesizedConfigurationForTestBundle:(id)arg1; +- (id)_configurationForTestBundle:(id)arg1; +- (id)_loadTestConfigurationFromTemporaryDirectoryWithDidFind:(_Bool *)arg1; +- (id)_loadTestConfigurationFromEnvironmentURL:(id)arg1; +- (id)loadTestConfigurationFromEnvironmentWithDidSpecify:(_Bool *)arg1; +- (id)loadTestConfiguration; +- (id)init; +- (id)initWithTestConfigurationURLFromEnvironment:(id)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTestDriver.h b/bp/src/PrivateHeaders/XCTest/XCTestDriver.h index 1ef89a72..22bd4bc1 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestDriver.h +++ b/bp/src/PrivateHeaders/XCTest/XCTestDriver.h @@ -1,46 +1,60 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "XCDebugLogDelegate.h" -#import "XCTASDebugLogDelegate.h" +@class NSBundle, NSString, NSURL, NSUUID, XCTFuture, XCTPromise, XCTRunnerIDESession, XCTestConfiguration; -@class NSMutableArray, NSObject, NSString, XCTestConfiguration; - -@interface XCTestDriver : NSObject +@interface XCTestDriver : NSObject { + XCTRunnerIDESession *_ideSession; + NSURL *_testBundleURLFromEnvironment; + NSUUID *_sessionIdentifierFromEnvironment; + NSURL *_testConfigurationURLFromEnvironment; + id _daemonSessionProvider; XCTestConfiguration *_testConfiguration; - NSObject *_queue; - NSMutableArray *_debugMessageBuffer; - int _debugMessageBufferOverflow; + NSBundle *_testBundle; + id _testBundlePrincipalClassInstance; + XCTFuture *_testRunSessionFuture; + XCTPromise *_testRunSessionPromise; } -+ (id)sharedTestDriver; -@property int debugMessageBufferOverflow; // @synthesize debugMessageBufferOverflow=_debugMessageBufferOverflow; -@property(retain) NSMutableArray *debugMessageBuffer; // @synthesize debugMessageBuffer=_debugMessageBuffer; -@property(retain) NSObject *queue; // @synthesize queue=_queue; -@property(readonly) XCTestConfiguration *testConfiguration; // @synthesize testConfiguration=_testConfiguration; -- (void)runTestConfiguration:(id)arg1 completionHandler:(CDUnknownBlockType)arg2; -- (void)runTestSuite:(id)arg1 completionHandler:(CDUnknownBlockType)arg2; -- (void)reportStallOnMainThreadInTestCase:(id)arg1 method:(id)arg2 file:(id)arg3 line:(unsigned long long)arg4; -- (_Bool)runTestsAndReturnError:(id *)arg1; -- (id)_readyIDESession:(id *)arg1; -- (id)_transportForIDESession:(id *)arg1; -- (void)_queue_flushDebugMessageBufferWithBlock:(CDUnknownBlockType)arg1; -- (void)logDebugMessage:(id)arg1; -- (void)printBufferedDebugMessages; -- (void)logStartupInfo; ++ (void)_applyRandomExecutionOrderingSeed:(id)arg1; ++ (_Bool)environmentSpecifiesTestConfiguration; ++ (_Bool)shouldSkipInitialBundleLoadBeforeXCTestMain; ++ (id)testBundleURLFromEnvironment; + +@property(retain) XCTPromise *testRunSessionPromise; // @synthesize testRunSessionPromise=_testRunSessionPromise; +@property(retain) XCTFuture *testRunSessionFuture; // @synthesize testRunSessionFuture=_testRunSessionFuture; +@property(retain) id testBundlePrincipalClassInstance; // @synthesize testBundlePrincipalClassInstance=_testBundlePrincipalClassInstance; +@property(retain) NSBundle *testBundle; // @synthesize testBundle=_testBundle; +@property(retain) XCTestConfiguration *testConfiguration; // @synthesize testConfiguration=_testConfiguration; +@property(readonly, copy) id daemonSessionProvider; // @synthesize daemonSessionProvider=_daemonSessionProvider; +@property(readonly, copy) NSURL *testConfigurationURLFromEnvironment; // @synthesize testConfigurationURLFromEnvironment=_testConfigurationURLFromEnvironment; +@property(readonly, copy) NSUUID *sessionIdentifierFromEnvironment; // @synthesize sessionIdentifierFromEnvironment=_sessionIdentifierFromEnvironment; +@property(readonly, copy) NSURL *testBundleURLFromEnvironment; // @synthesize testBundleURLFromEnvironment=_testBundleURLFromEnvironment; +@property(retain) XCTRunnerIDESession *ideSession; // @synthesize ideSession=_ideSession; +- (id)testWorkerForIDESession:(id)arg1; +- (void)IDESessionDidDisconnect:(id)arg1; +- (Class)_declaredPrincipalClassFromTestBundle:(id)arg1; +- (void)_createTestBundlePrincipalClassInstance; +- (id)_loadTestBundleFromURL:(id)arg1 error:(id *)arg2; +- (void)_reportBootstrappingFailure:(id)arg1; +- (id)_prepareIDESessionWithIdentifier:(id)arg1 exitCode:(int *)arg2; +- (int)_runTests; +- (void)_configureGlobalState; +- (int)_prepareTestConfigurationAndIDESession; +- (int)run; - (id)initWithTestConfiguration:(id)arg1; -- (void)dealloc; +- (id)initWithTestBundleURLFromEnvironment:(id)arg1 sessionIdentifierFromEnvironment:(id)arg2 testConfigurationURLFromEnvironment:(id)arg3 testConfiguration:(id)arg4 daemonSessionProvider:(id)arg5; // Remaining properties @property(readonly, copy) NSString *debugDescription; @property(readonly, copy) NSString *description; -@property(readonly) unsigned long long hash; +@property(readonly) NSUInteger hash; @property(readonly) Class superclass; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTestExpectation.h b/bp/src/PrivateHeaders/XCTest/XCTestExpectation.h index 1c6bee4b..6a6f27a9 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestExpectation.h +++ b/bp/src/PrivateHeaders/XCTest/XCTestExpectation.h @@ -1,42 +1,58 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -@class NSArray, NSObject, NSString, _XCTestExpectationImplementation; +@class NSArray, NSString; +@protocol XCTestExpectationDelegate; @interface XCTestExpectation : NSObject { - id _internalImplementation; + _Bool _fulfilled; + _Bool _hasBeenWaitedOn; + _Bool _inverted; + _Bool _assertForOverFulfill; + id _delegate; + unsigned long long _fulfillmentToken; + NSArray *_fulfillCallStackReturnAddresses; + unsigned long long _expectedFulfillmentCount; + NSString *_expectationDescription; + unsigned long long _numberOfFulfillments; + unsigned long long _creationToken; + NSArray *_creationCallStackReturnAddresses; } + (id)expectationWithDescription:(id)arg1; -@property(readonly) _XCTestExpectationImplementation *internalImplementation; // @synthesize internalImplementation=_internalImplementation; ++ (id)compoundOrExpectationWithSubexpectations:(id)arg1; ++ (id)compoundAndExpectationWithSubexpectations:(id)arg1; +- (void).cxx_destruct; +@property(readonly, copy) NSArray *creationCallStackReturnAddresses; // @synthesize creationCallStackReturnAddresses=_creationCallStackReturnAddresses; +@property(readonly) unsigned long long creationToken; // @synthesize creationToken=_creationToken; +@property unsigned long long numberOfFulfillments; // @synthesize numberOfFulfillments=_numberOfFulfillments; +@property(copy) NSString *expectationDescription; // @synthesize expectationDescription=_expectationDescription; - (void)cleanup; -@property _Bool hasBeenWaitedOn; -@property id delegate; -@property(readonly, copy) NSArray *fulfillCallStackReturnAddresses; -@property(readonly, copy) NSArray *creationCallStackReturnAddresses; -@property(readonly) _Bool fulfilled; +@property _Bool hasBeenWaitedOn; // @synthesize hasBeenWaitedOn=_hasBeenWaitedOn; +- (void)on_queue_setHasBeenWaitedOn:(_Bool)arg1; +@property __weak id delegate; // @synthesize delegate=_delegate; +@property(readonly, copy) NSArray *fulfillCallStackReturnAddresses; // @synthesize fulfillCallStackReturnAddresses=_fulfillCallStackReturnAddresses; +@property(readonly) _Bool on_queue_fulfilled; +@property(readonly) _Bool fulfilled; // @synthesize fulfilled=_fulfilled; @property _Bool hasInverseBehavior; -@property(getter=isInverted) _Bool inverted; -@property(nonatomic) _Bool assertForOverFulfill; -@property(nonatomic) unsigned long long expectedFulfillmentCount; +@property(getter=isInverted) _Bool inverted; // @synthesize inverted=_inverted; +@property(readonly) _Bool on_queue_isInverted; +@property(nonatomic) _Bool assertForOverFulfill; // @synthesize assertForOverFulfill=_assertForOverFulfill; +@property(nonatomic) unsigned long long expectedFulfillmentCount; // @synthesize expectedFulfillmentCount=_expectedFulfillmentCount; @property(nonatomic) unsigned long long fulfillmentCount; -@property(readonly) unsigned long long fulfillmentToken; -@property(readonly) unsigned long long creationToken; -- (void)_queue_fulfillWithCallStackReturnAddresses:(id)arg1; +@property(readonly) unsigned long long on_queue_fulfillmentToken; +@property(readonly) unsigned long long fulfillmentToken; // @synthesize fulfillmentToken=_fulfillmentToken; +- (_Bool)_queue_fulfillWithCallStackReturnAddresses:(id)arg1; - (void)fulfill; -@property(copy) NSString *expectationDescription; - (id)description; -@property(readonly, nonatomic) NSObject *delegateQueue; -@property(readonly, nonatomic) NSObject *queue; - (id)initWithDescription:(id)arg1; - (id)init; -- (void)dealloc; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTestExpectationDelegate-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTestExpectationDelegate-Protocol.h index 4270ee16..f9693528 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestExpectationDelegate-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCTestExpectationDelegate-Protocol.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class XCTestExpectation; diff --git a/bp/src/PrivateHeaders/XCTest/XCTestExpectationWaiter.h b/bp/src/PrivateHeaders/XCTest/XCTestExpectationWaiter.h deleted file mode 100644 index b14cfdde..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCTestExpectationWaiter.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import - -@interface XCTestExpectationWaiter : XCTWaiter -{ -} - -- (long long)wait:(double)arg1 forExpectations:(id)arg2 enforceOrder:(_Bool)arg3; -- (long long)wait:(double)arg1 forExpectations:(id)arg2; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCTestLog.h b/bp/src/PrivateHeaders/XCTest/XCTestLog.h index 9a5bc261..1f61ab76 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestLog.h +++ b/bp/src/PrivateHeaders/XCTest/XCTestLog.h @@ -1,31 +1,34 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // #import -#import "XCTestObservation.h" -#import "_XCTestObservationPrivate.h" +#import @class NSFileHandle, NSString; -@interface XCTestLog : XCTestObserver +@interface XCTestLog : XCTestObserver <_XCTestObservationInternal> { } -+ (void)_logActivity:(id)arg1 inTestCase:(id)arg2; -+ (id)_messageForTest:(id)arg1 didMeasureValues:(id)arg2 forPerformanceMetricID:(id)arg3 name:(id)arg4 unitsOfMeasurement:(id)arg5 baselineName:(id)arg6 baselineAverage:(id)arg7 maxPercentRegression:(id)arg8 maxPercentRelativeStandardDeviation:(id)arg9 maxRegression:(id)arg10 maxStandardDeviation:(id)arg11 file:(id)arg12 line:(unsigned long long)arg13; -- (void)_testCase:(id)arg1 willStartActivity:(id)arg2; ++ (id)_messageForTest:(id)arg1 didMeasureValues:(id)arg2 forPerformanceMetricID:(id)arg3 name:(id)arg4 unitsOfMeasurement:(id)arg5 baselineName:(id)arg6 baselineAverage:(id)arg7 maxPercentRegression:(id)arg8 maxPercentRelativeStandardDeviation:(id)arg9 maxRegression:(id)arg10 maxStandardDeviation:(id)arg11 file:(id)arg12 line:(unsigned long long)arg13 polarity:(long long)arg14; +- (void)_context:(id)arg1 willStartActivity:(id)arg2; +- (void)testCase:(id)arg1 didRecordExpectedFailure:(id)arg2; - (void)testCase:(id)arg1 didFailWithDescription:(id)arg2 inFile:(id)arg3 atLine:(unsigned long long)arg4; -- (void)_testCase:(id)arg1 didMeasureValues:(id)arg2 forPerformanceMetricID:(id)arg3 name:(id)arg4 unitsOfMeasurement:(id)arg5 baselineName:(id)arg6 baselineAverage:(id)arg7 maxPercentRegression:(id)arg8 maxPercentRelativeStandardDeviation:(id)arg9 maxRegression:(id)arg10 maxStandardDeviation:(id)arg11 file:(id)arg12 line:(unsigned long long)arg13; +- (void)_testCase:(id)arg1 didMeasureValues:(id)arg2 forPerformanceMetricID:(id)arg3 name:(id)arg4 unitsOfMeasurement:(id)arg5 baselineName:(id)arg6 baselineAverage:(id)arg7 maxPercentRegression:(id)arg8 maxPercentRelativeStandardDeviation:(id)arg9 maxRegression:(id)arg10 maxStandardDeviation:(id)arg11 file:(id)arg12 line:(unsigned long long)arg13 polarity:(long long)arg14; - (void)testCaseDidFinish:(id)arg1; +- (void)testCase:(id)arg1 wasSkippedWithDescription:(id)arg2 inFile:(id)arg3 atLine:(unsigned long long)arg4; - (void)testCaseWillStart:(id)arg1; - (void)testSuiteDidFinish:(id)arg1; +- (void)testSuite:(id)arg1 didRecordExpectedFailure:(id)arg2; - (void)testSuite:(id)arg1 didFailWithDescription:(id)arg2 inFile:(id)arg3 atLine:(unsigned long long)arg4; - (void)testSuiteWillStart:(id)arg1; +- (void)_testWithName:(id)arg1 didRecordExpectedFailure:(id)arg2; - (void)_testDidFail:(id)arg1 withDescription:(id)arg2 inFile:(id)arg3 atLine:(unsigned long long)arg4; +- (void)logTestMessage:(id)arg1; - (void)testLogWithFormat:(id)arg1 arguments:(struct __va_list_tag [1])arg2; - (void)testLogWithFormat:(id)arg1; @property(readonly) NSFileHandle *logFileHandle; diff --git a/bp/src/PrivateHeaders/XCTest/XCTestManager_DaemonConnectionInterface-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTestManager_DaemonConnectionInterface-Protocol.h index 8d318c66..afe7cc7d 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestManager_DaemonConnectionInterface-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCTestManager_DaemonConnectionInterface-Protocol.h @@ -1,22 +1,9 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -@class NSArray, NSDictionary, NSNumber, NSString, NSUUID, DTXRemoteInvocationReceipt; - @protocol XCTestManager_DaemonConnectionInterface -- (DTXRemoteInvocationReceipt *)_IDE_stopRecording; -- (DTXRemoteInvocationReceipt *)_IDE_startRecordingProcessPID:(NSNumber *)arg1 applicationSnapshotAttributes:(NSArray *)arg2 applicationSnapshotParameters:(NSDictionary *)arg3 elementSnapshotAttributes:(NSArray *)arg4 elementSnapshotParameters:(NSDictionary *)arg5 simpleTargetGestureNames:(NSArray *)arg6; -- (DTXRemoteInvocationReceipt *)_IDE_startRecordingProcessPID:(NSNumber *)arg1 snapshotAttributes:(NSArray *)arg2 snapshotParameters:(NSDictionary *)arg3 simpleTargetGestureNames:(NSArray *)arg4; -- (DTXRemoteInvocationReceipt *)_IDE_startRecordingProcessPID:(NSNumber *)arg1; -- (DTXRemoteInvocationReceipt *)_IDE_startRecording; -- (DTXRemoteInvocationReceipt *)_IDE_beginSessionWithIdentifier:(NSUUID *)arg1 forClient:(NSString *)arg2 atPath:(NSString *)arg3; -- (DTXRemoteInvocationReceipt *)_IDE_initiateControlSessionForTestProcessID:(NSNumber *)arg1; -- (DTXRemoteInvocationReceipt *)_IDE_initiateControlSessionForTestProcessID:(NSNumber *)arg1 protocolVersion:(NSNumber *)arg2; -- (DTXRemoteInvocationReceipt *)_IDE_initiateSessionWithIdentifier:(NSUUID *)arg1 forClient:(NSString *)arg2 atPath:(NSString *)arg3 protocolVersion:(NSNumber *)arg4; - -// iOS 10.x specific -- (DTXRemoteInvocationReceipt *)_IDE_collectNewCrashReportsInDirectories:(NSArray *)arg1 matchingProcessNames:(NSArray *)arg2; @end + diff --git a/bp/src/PrivateHeaders/XCTest/XCTestManager_IDEInterface-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTestManager_IDEInterface-Protocol.h index 18571b31..f5dac00b 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestManager_IDEInterface-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCTestManager_IDEInterface-Protocol.h @@ -1,37 +1,9 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -@class NSArray, NSData, NSDictionary, NSError, NSNumber, NSString, XCActivityRecord, XCElementSnapshot; - @protocol XCTestManager_IDEInterface -- (id)_XCT_handleCrashReportData:(NSData *)arg1 fromFileWithName:(NSString *)arg2; -- (id)_XCT_nativeFocusItemDidChangeAtTime:(NSNumber *)arg1 parameterSnapshot:(XCElementSnapshot *)arg2 applicationSnapshot:(XCElementSnapshot *)arg3; -- (id)_XCT_recordedEventNames:(NSArray *)arg1 timestamp:(NSNumber *)arg2 duration:(NSNumber *)arg3 startLocation:(NSDictionary *)arg4 startElementSnapshot:(XCElementSnapshot *)arg5 startApplicationSnapshot:(XCElementSnapshot *)arg6 endLocation:(NSDictionary *)arg7 endElementSnapshot:(XCElementSnapshot *)arg8 endApplicationSnapshot:(XCElementSnapshot *)arg9; -- (id)_XCT_recordedOrientationChange:(NSString *)arg1; -- (id)_XCT_recordedKeyEventsWithApplicationSnapshot:(XCElementSnapshot *)arg1 characters:(NSString *)arg2 charactersIgnoringModifiers:(NSString *)arg3 modifierFlags:(NSNumber *)arg4; -- (id)_XCT_recordedFirstResponderChangedWithApplicationSnapshot:(XCElementSnapshot *)arg1; -- (id)_XCT_exchangeCurrentProtocolVersion:(NSNumber *)arg1 minimumVersion:(NSNumber *)arg2; -- (id)_XCT_testMethod:(NSString *)arg1 ofClass:(NSString *)arg2 didMeasureMetric:(NSDictionary *)arg3 file:(NSString *)arg4 line:(NSNumber *)arg5; -- (id)_XCT_testCase:(NSString *)arg1 method:(NSString *)arg2 didFinishActivity:(XCActivityRecord *)arg3; -- (id)_XCT_testCase:(NSString *)arg1 method:(NSString *)arg2 willStartActivity:(XCActivityRecord *)arg3; -- (id)_XCT_testCase:(NSString *)arg1 method:(NSString *)arg2 didStallOnMainThreadInFile:(NSString *)arg3 line:(NSNumber *)arg4; -- (id)_XCT_testCaseDidFinishForTestClass:(NSString *)arg1 method:(NSString *)arg2 withStatus:(NSString *)arg3 duration:(NSNumber *)arg4; -- (id)_XCT_testCaseDidFailForTestClass:(NSString *)arg1 method:(NSString *)arg2 withMessage:(NSString *)arg3 file:(NSString *)arg4 line:(NSNumber *)arg5; -- (id)_XCT_testCaseDidStartForTestClass:(NSString *)arg1 method:(NSString *)arg2; -- (id)_XCT_testSuite:(NSString *)arg1 didFinishAt:(NSString *)arg2 runCount:(NSNumber *)arg3 withFailures:(NSNumber *)arg4 unexpected:(NSNumber *)arg5 testDuration:(NSNumber *)arg6 totalDuration:(NSNumber *)arg7; -- (id)_XCT_testSuite:(NSString *)arg1 didStartAt:(NSString *)arg2; -- (id)_XCT_initializationForUITestingDidFailWithError:(NSError *)arg1; -- (id)_XCT_didBeginInitializingForUITesting; -- (id)_XCT_didFinishExecutingTestPlan; -- (id)_XCT_didBeginExecutingTestPlan; -- (id)_XCT_testBundleReadyWithProtocolVersion:(NSNumber *)arg1 minimumVersion:(NSNumber *)arg2; -- (id)_XCT_getProgressForLaunch:(id)arg1; -- (id)_XCT_terminateProcess:(id)arg1; -- (id)_XCT_launchProcessWithPath:(NSString *)arg1 bundleID:(NSString *)arg2 arguments:(NSArray *)arg3 environmentVariables:(NSDictionary *)arg4; -- (id)_XCT_logDebugMessage:(NSString *)arg1; -- (id)_XCT_logMessage:(NSString *)arg1; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTestManager_TestsInterface-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTestManager_TestsInterface-Protocol.h deleted file mode 100644 index 94581847..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCTestManager_TestsInterface-Protocol.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -@class NSData, NSString; - -@protocol XCTestManager_TestsInterface -- (void)_XCT_receivedAccessibilityNotification:(int)arg1 withPayload:(NSData *)arg2; -- (void)_XCT_applicationWithBundleID:(NSString *)arg1 didUpdatePID:(int)arg2 andState:(unsigned long long)arg3; -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCTestMisuseObserver.h b/bp/src/PrivateHeaders/XCTest/XCTestMisuseObserver.h index 8986069d..6410c36f 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestMisuseObserver.h +++ b/bp/src/PrivateHeaders/XCTest/XCTestMisuseObserver.h @@ -1,12 +1,12 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "XCTestObservation.h" +#import @class NSMutableArray, NSString, XCTestCase, XCTestSuite; @@ -17,6 +17,7 @@ XCTestCase *_currentTestCase; } +- (void).cxx_destruct; @property(retain) XCTestCase *currentTestCase; // @synthesize currentTestCase=_currentTestCase; @property(readonly) NSMutableArray *testSuiteStack; // @synthesize testSuiteStack=_testSuiteStack; @property(readonly, copy) CDUnknownBlockType warningLogHandler; // @synthesize warningLogHandler=_warningLogHandler; @@ -31,7 +32,6 @@ - (void)pushTestSuite:(id)arg1; @property(readonly) XCTestSuite *currentTestSuite; - (void)emitWarningLog:(id)arg1; -- (void)dealloc; - (id)initWithWarningLogHandler:(CDUnknownBlockType)arg1; // Remaining properties diff --git a/bp/src/PrivateHeaders/XCTest/XCTestObservation-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCTestObservation-Protocol.h index 003e0757..333759cb 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestObservation-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCTestObservation-Protocol.h @@ -1,21 +1,25 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -@class NSBundle, NSString, XCTestCase, XCTestSuite; +@class NSBundle, NSString, XCTExpectedFailure, XCTIssue, XCTestCase, XCTestSuite; @protocol XCTestObservation @optional -- (void)testCaseDidFinish:(XCTestCase *)arg1; - (void)testCase:(XCTestCase *)arg1 didFailWithDescription:(NSString *)arg2 inFile:(NSString *)arg3 atLine:(unsigned long long)arg4; +- (void)testSuite:(XCTestSuite *)arg1 didFailWithDescription:(NSString *)arg2 inFile:(NSString *)arg3 atLine:(unsigned long long)arg4; +- (void)testCaseDidFinish:(XCTestCase *)arg1; +- (void)testCase:(XCTestCase *)arg1 didRecordExpectedFailure:(XCTExpectedFailure *)arg2; +- (void)testCase:(XCTestCase *)arg1 didRecordIssue:(XCTIssue *)arg2; - (void)testCaseWillStart:(XCTestCase *)arg1; - (void)testSuiteDidFinish:(XCTestSuite *)arg1; -- (void)testSuite:(XCTestSuite *)arg1 didFailWithDescription:(NSString *)arg2 inFile:(NSString *)arg3 atLine:(unsigned long long)arg4; +- (void)testSuite:(XCTestSuite *)arg1 didRecordExpectedFailure:(XCTExpectedFailure *)arg2; +- (void)testSuite:(XCTestSuite *)arg1 didRecordIssue:(XCTIssue *)arg2; - (void)testSuiteWillStart:(XCTestSuite *)arg1; - (void)testBundleDidFinish:(NSBundle *)arg1; - (void)testBundleWillStart:(NSBundle *)arg1; diff --git a/bp/src/PrivateHeaders/XCTest/XCTestObservationCenter.h b/bp/src/PrivateHeaders/XCTest/XCTestObservationCenter.h index 938cb6c2..e5363248 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestObservationCenter.h +++ b/bp/src/PrivateHeaders/XCTest/XCTestObservationCenter.h @@ -1,41 +1,60 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSMutableArray; +@protocol XCTestObservation; @interface XCTestObservationCenter : NSObject { - id _internalImplementation; + _Bool _suspended; + NSMutableArray *_observers; + NSMutableArray *_privateObservers; + NSMutableArray *_internalObservers; + CDUnknownBlockType _exceptionHandler; + id _throwingTestObserver; + SEL _throwingTestObserverMethod; } + (void)setSharedTestObservationCenter:(id)arg1; + (id)sharedTestObservationCenter; -- (void)_testCase:(id)arg1 didFinishActivity:(id)arg2; -- (void)_testCase:(id)arg1 willStartActivity:(id)arg2; -- (void)_testCaseDidFail:(id)arg1 withDescription:(id)arg2 inFile:(id)arg3 atLine:(unsigned long long)arg4; -- (void)_testCase:(id)arg1 didMeasureValues:(id)arg2 forPerformanceMetricID:(id)arg3 name:(id)arg4 unitsOfMeasurement:(id)arg5 baselineName:(id)arg6 baselineAverage:(id)arg7 maxPercentRegression:(id)arg8 maxPercentRelativeStandardDeviation:(id)arg9 maxRegression:(id)arg10 maxStandardDeviation:(id)arg11 file:(id)arg12 line:(unsigned long long)arg13; +- (void).cxx_destruct; +@property SEL throwingTestObserverMethod; // @synthesize throwingTestObserverMethod=_throwingTestObserverMethod; +@property(retain) id throwingTestObserver; // @synthesize throwingTestObserver=_throwingTestObserver; +@property(readonly, copy) CDUnknownBlockType exceptionHandler; // @synthesize exceptionHandler=_exceptionHandler; +@property _Bool suspended; // @synthesize suspended=_suspended; +@property(readonly) NSMutableArray *internalObservers; // @synthesize internalObservers=_internalObservers; +@property(readonly) NSMutableArray *privateObservers; // @synthesize privateObservers=_privateObservers; +@property(readonly) NSMutableArray *observers; // @synthesize observers=_observers; +- (void)_performBlockOnInternalObserversWhichRespondToSelector:(SEL)arg1 block:(CDUnknownBlockType)arg2; +- (void)_performBlockOnPrivateObserversWhichRespondToSelector:(SEL)arg1 block:(CDUnknownBlockType)arg2; +- (void)_performBlockOnObserversWhichRespondToSelector:(SEL)arg1 block:(CDUnknownBlockType)arg2; +- (void)_context:(id)arg1 didFinishActivity:(id)arg2; +- (void)_context:(id)arg1 willStartActivity:(id)arg2; +- (void)_testCase:(id)arg1 didRecordExpectedFailure:(id)arg2; +- (void)_testCase:(id)arg1 didRecordIssue:(id)arg2; +- (void)_testCase:(id)arg1 didMeasureValues:(id)arg2 forPerformanceMetricID:(id)arg3 name:(id)arg4 unitsOfMeasurement:(id)arg5 baselineName:(id)arg6 baselineAverage:(id)arg7 maxPercentRegression:(id)arg8 maxPercentRelativeStandardDeviation:(id)arg9 maxRegression:(id)arg10 maxStandardDeviation:(id)arg11 file:(id)arg12 line:(unsigned long long)arg13 polarity:(long long)arg14; - (void)_testCaseDidStop:(id)arg1; +- (void)_testCaseWasSkipped:(id)arg1 withDescription:(id)arg2 sourceCodeContext:(id)arg3; - (void)_testCaseDidStart:(id)arg1; -- (void)_testSuiteDidFail:(id)arg1 withDescription:(id)arg2 inFile:(id)arg3 atLine:(unsigned long long)arg4; +- (void)_testSuite:(id)arg1 didRecordExpectedFailure:(id)arg2; +- (void)_testSuite:(id)arg1 didRecordIssue:(id)arg2; - (void)_testSuiteDidStop:(id)arg1; - (void)_testSuiteDidStart:(id)arg1; +- (void)_handleException:(id)arg1 thrownBy:(id)arg2 inMethod:(SEL)arg3; - (void)_suspendObservationForBlock:(CDUnknownBlockType)arg1; - (void)_suspendObservation; - (void)_resumeObservation; - (void)_observeTestExecutionForBlock:(CDUnknownBlockType)arg1; - (void)removeTestObserver:(id)arg1; - (void)addTestObserver:(id)arg1; -@property _Bool suspended; -@property(readonly) NSMutableArray *observers; - (id)description; -- (void)dealloc; - (id)init; -- (id)initBasicCenter; +- (id)initWithObservers:(id)arg1 exceptionHandler:(CDUnknownBlockType)arg2; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTestObserver.h b/bp/src/PrivateHeaders/XCTest/XCTestObserver.h index b0358c97..3e09a3c3 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestObserver.h +++ b/bp/src/PrivateHeaders/XCTest/XCTestObserver.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @interface XCTestObserver : NSObject { diff --git a/bp/src/PrivateHeaders/XCTest/XCTestProbe.h b/bp/src/PrivateHeaders/XCTest/XCTestProbe.h index a9a0a4b5..ec794163 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestProbe.h +++ b/bp/src/PrivateHeaders/XCTest/XCTestProbe.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @interface XCTestProbe : NSObject { diff --git a/bp/src/PrivateHeaders/XCTest/XCTestRun.h b/bp/src/PrivateHeaders/XCTest/XCTestRun.h index 6897cb94..26197f65 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestRun.h +++ b/bp/src/PrivateHeaders/XCTest/XCTestRun.h @@ -1,41 +1,73 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -@class NSDate, XCTest, _XCInternalTestRun; +@class NSDate, XCTIssue, XCTest, XCTestObservationCenter; @interface XCTestRun : NSObject { - id _internalTestRun; + _Bool _hasBeenSkipped; + _Bool _hasStarted; + _Bool _hasStopped; + _Bool _hasExpectedFailure; + XCTest *_test; + unsigned long long _executionCount; + unsigned long long _failureCount; + unsigned long long _unexpectedExceptionCount; + double _startTimeInterval; + double _stopTimeInterval; + XCTIssue *_candidateIssue; + unsigned long long __runCount; + unsigned long long _executionCountBeforeCrash; + unsigned long long _skipCountBeforeCrash; + unsigned long long _expectedFailureCountBeforeCrash; + unsigned long long _failureCountBeforeCrash; + unsigned long long _unexpectedExceptionCountBeforeCrash; } + (id)testRunWithTest:(id)arg1; -@property(readonly) _XCInternalTestRun *implementation; // @synthesize implementation=_internalTestRun; -@property unsigned long long unexpectedExceptionCountBeforeCrash; -@property unsigned long long failureCountBeforeCrash; -@property unsigned long long executionCountBeforeCrash; -- (void)recordFailureWithDescription:(id)arg1 inFile:(id)arg2 atLine:(unsigned long long)arg3 expected:(_Bool)arg4; +- (void).cxx_destruct; +@property unsigned long long unexpectedExceptionCountBeforeCrash; // @synthesize unexpectedExceptionCountBeforeCrash=_unexpectedExceptionCountBeforeCrash; +@property unsigned long long failureCountBeforeCrash; // @synthesize failureCountBeforeCrash=_failureCountBeforeCrash; +@property unsigned long long expectedFailureCountBeforeCrash; // @synthesize expectedFailureCountBeforeCrash=_expectedFailureCountBeforeCrash; +@property unsigned long long skipCountBeforeCrash; // @synthesize skipCountBeforeCrash=_skipCountBeforeCrash; +@property unsigned long long executionCountBeforeCrash; // @synthesize executionCountBeforeCrash=_executionCountBeforeCrash; +@property unsigned long long _runCount; // @synthesize _runCount=__runCount; +@property(retain) XCTIssue *candidateIssue; // @synthesize candidateIssue=_candidateIssue; +@property _Bool hasExpectedFailure; // @synthesize hasExpectedFailure=_hasExpectedFailure; +@property _Bool hasStopped; // @synthesize hasStopped=_hasStopped; +@property _Bool hasStarted; // @synthesize hasStarted=_hasStarted; +@property double stopTimeInterval; // @synthesize stopTimeInterval=_stopTimeInterval; +@property double startTimeInterval; // @synthesize startTimeInterval=_startTimeInterval; +@property _Bool hasBeenSkipped; // @synthesize hasBeenSkipped=_hasBeenSkipped; +@property unsigned long long unexpectedExceptionCount; // @synthesize unexpectedExceptionCount=_unexpectedExceptionCount; +@property unsigned long long failureCount; // @synthesize failureCount=_failureCount; +@property unsigned long long executionCount; // @synthesize executionCount=_executionCount; +@property(readonly) XCTest *test; // @synthesize test=_test; +- (void)_handleIssue:(id)arg1; +- (void)_recordIssue:(id)arg1; +- (void)recordIssue:(id)arg1; +- (void)recordExpectedFailure:(id)arg1; +- (void)recordSkipWithDescription:(id)arg1 sourceCodeContext:(id)arg2; +- (unsigned long long)expectedFailureCount; +@property(readonly) unsigned long long skipCount; @property(readonly) _Bool hasSucceeded; @property(readonly) unsigned long long testCaseCount; -@property(readonly) unsigned long long unexpectedExceptionCount; -@property(readonly) unsigned long long failureCount; @property(readonly) unsigned long long totalFailureCount; -@property(readonly) unsigned long long executionCount; - (void)stop; - (void)start; @property(readonly, copy) NSDate *stopDate; @property(readonly, copy) NSDate *startDate; @property(readonly) double testDuration; @property(readonly) double totalDuration; -@property(readonly) XCTest *test; +@property(readonly) XCTestObservationCenter *observationCenter; - (id)description; -- (void)dealloc; -- (id)init; - (id)initWithTest:(id)arg1; +- (void)recordFailureWithDescription:(id)arg1 inFile:(id)arg2 atLine:(unsigned long long)arg3 expected:(_Bool)arg4; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTestSuite.h b/bp/src/PrivateHeaders/XCTest/XCTestSuite.h index d3cc3ebd..159b18e7 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestSuite.h +++ b/bp/src/PrivateHeaders/XCTest/XCTestSuite.h @@ -1,18 +1,23 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // #import -@class NSArray, NSDictionary, NSString; +@class NSArray, NSDictionary, NSMutableArray, NSMutableDictionary, NSString, XCTTestIdentifier, XCTestConfiguration; @interface XCTestSuite : XCTest { - id _internalImplementation; + XCTTestIdentifier *_identifier; + NSString *_name; + NSMutableArray *_mutableTests; + XCTestConfiguration *_testConfiguration; + NSMutableDictionary *_mutableActivityAggregateStatistics; } ++ (id)testClassSuitesForTestIdentifiers:(id)arg1 skippingTestIdentifiers:(id)arg2 randomNumberGenerator:(CDUnknownBlockType)arg3; + (id)testSuiteForTestConfiguration:(id)arg1; + (id)defaultTestSuite; + (id)allTests; @@ -24,14 +29,23 @@ + (id)_suiteForBundleCache; + (id)emptyTestSuiteNamedFromPath:(id)arg1; + (id)testSuiteWithName:(id)arg1; -+ (id)testCaseNamesForScopeNames:(id)arg1; +- (void).cxx_destruct; +@property(readonly) NSMutableDictionary *mutableActivityAggregateStatistics; // @synthesize mutableActivityAggregateStatistics=_mutableActivityAggregateStatistics; +@property(retain) XCTestConfiguration *testConfiguration; // @synthesize testConfiguration=_testConfiguration; +@property(retain) NSMutableArray *mutableTests; // @synthesize mutableTests=_mutableTests; +@property(copy) NSString *name; // @synthesize name=_name; +- (id)_identifier; - (id)_initWithTestConfiguration:(id)arg1; -- (void)_sortTestsUsingComparator:(CDUnknownBlockType)arg1; +- (void)_applyRandomExecutionOrderingWithGenerator:(CDUnknownBlockType)arg1; +- (void)_sortTestsUsingDefaultExecutionOrdering; +- (long long)defaultExecutionOrderCompare:(id)arg1; @property(readonly) NSDictionary *activityAggregateStatistics; - (void)_mergeActivityStatistics:(id)arg1; +- (void)runTestBasedOnRerunPolicy:(id)arg1 testRun:(id)arg2; - (void)performTest:(id)arg1; - (void)_performProtectedSectionForTest:(id)arg1 testSection:(CDUnknownBlockType)arg2; - (void)_recordUnexpectedFailureForTestRun:(id)arg1 description:(id)arg2 exception:(id)arg3; +- (void)handleIssue:(id)arg1; - (void)recordFailureWithDescription:(id)arg1 inFile:(id)arg2 atLine:(unsigned long long)arg3 expected:(_Bool)arg4; - (Class)testRunClass; - (Class)_requiredTestRunBaseClass; @@ -42,11 +56,9 @@ - (void)addTest:(id)arg1; - (id)_testSuiteWithIdentifier:(id)arg1; - (id)description; -@property(copy) NSString *name; -- (void)dealloc; - (id)initWithName:(id)arg1; - (id)init; -- (void)removeTestsWithNames:(id)arg1; +- (void)removeTestsWithIdentifierInSet:(id)arg1; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTestSuiteRun.h b/bp/src/PrivateHeaders/XCTest/XCTestSuiteRun.h index c8b97a1a..84add052 100644 --- a/bp/src/PrivateHeaders/XCTest/XCTestSuiteRun.h +++ b/bp/src/PrivateHeaders/XCTest/XCTestSuiteRun.h @@ -1,7 +1,7 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // #import @@ -10,19 +10,23 @@ @interface XCTestSuiteRun : XCTestRun { - NSMutableArray *_testRuns; + NSMutableArray *_mutableTestRuns; } -- (void)recordFailureWithDescription:(id)arg1 inFile:(id)arg2 atLine:(unsigned long long)arg3 expected:(_Bool)arg4; +- (void).cxx_destruct; +@property(readonly) NSMutableArray *mutableTestRuns; // @synthesize mutableTestRuns=_mutableTestRuns; +- (void)recordExpectedFailure:(id)arg1; +- (void)_handleIssue:(id)arg1; - (double)testDuration; - (unsigned long long)unexpectedExceptionCount; - (unsigned long long)failureCount; +- (unsigned long long)expectedFailureCount; +- (unsigned long long)skipCount; - (unsigned long long)executionCount; - (void)addTestRun:(id)arg1; @property(readonly, copy) NSArray *testRuns; - (void)stop; - (void)start; -- (void)dealloc; - (id)initWithTest:(id)arg1; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCTestWaiter.h b/bp/src/PrivateHeaders/XCTest/XCTestWaiter.h deleted file mode 100644 index 73289b06..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCTestWaiter.h +++ /dev/null @@ -1,14 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import - -@interface XCTestWaiter : XCTWaiter -{ -} - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCUIAXNotificationHandling-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIAXNotificationHandling-Protocol.h new file mode 100644 index 00000000..f8f6e278 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIAXNotificationHandling-Protocol.h @@ -0,0 +1,15 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSData, XCAccessibilityElement; + +@protocol XCUIAXNotificationHandling +@property(readonly) _Bool axNotificationsIncludeElement; +- (void)handleAccessibilityNotification:(int)arg1 fromElement:(XCAccessibilityElement *)arg2 payload:(NSData *)arg3; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIAccessibilityAction.h b/bp/src/PrivateHeaders/XCTest/XCUIAccessibilityAction.h new file mode 100644 index 00000000..630370cd --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIAccessibilityAction.h @@ -0,0 +1,24 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface XCUIAccessibilityAction : NSObject +{ + int _actionNumber; +} + ++ (id)decrementActionForPlatform:(long long)arg1; ++ (id)incrementActionForPlatform:(long long)arg1; ++ (id)scrollToVisibleAction; ++ (id)detectAnimationsNonActiveAction; ++ (id)beginMonitoringIdleRunLoopAction; +@property(readonly) int actionNumber; // @synthesize actionNumber=_actionNumber; +- (id)description; +- (id)initWithAXAction:(int)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIAccessibilityInterface-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIAccessibilityInterface-Protocol.h new file mode 100644 index 00000000..4603f3fe --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIAccessibilityInterface-Protocol.h @@ -0,0 +1,39 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import +#import +#import + +@class NSArray, NSDictionary, NSString, XCAccessibilityElement, XCElementSnapshot, XCTestExpectation, XCUIAccessibilityAction, XCUIApplicationProcess, XCUIElementSnapshotRequestResult; + +@protocol XCUIAccessibilityInterface +@property(readonly, nonatomic) XCAccessibilityElement *systemApplication; +@property(readonly) _Bool supportsAnimationsInactiveNotifications; +@property double AXTimeout; +- (XCAccessibilityElement *)accessibilityElementForElementAtPoint:(struct CGPoint)arg1 error:(id *)arg2; +- (void)performWhenMenuOpens:(XCAccessibilityElement *)arg1 block:(void (^)(void))arg2; +- (void)removeObserver:(id)arg1 forAXNotification:(NSString *)arg2; +- (id)addObserverForAXNotification:(NSString *)arg1 handler:(void (^)(XCAccessibilityElement *, NSDictionary *))arg2; +- (void)unregisterForAXNotificationsForApplicationWithPID:(int)arg1; +- (void)registerForAXNotificationsForApplicationWithPID:(int)arg1 timeout:(double)arg2 completion:(void (^)(_Bool, NSError *))arg3; +- (NSArray *)localizableStringsDataForActiveApplications; +- (_Bool)enableFauxCollectionViewCells:(id *)arg1; +- (void)notifyWhenViewControllerViewDidDisappearReply:(void (^)(NSDictionary *, NSError *))arg1; +- (XCTestExpectation *)viewDidAppearExpectationForElement:(XCAccessibilityElement *)arg1 viewControllerName:(NSString *)arg2; +- (void)notifyWhenNoAnimationsAreActiveForApplication:(XCUIApplicationProcess *)arg1 reply:(void (^)(NSDictionary *, NSError *))arg2; +- (void)notifyOnNextOccurrenceOfUserTestingEvent:(NSString *)arg1 handler:(void (^)(NSDictionary *, NSError *))arg2; +- (_Bool)cachedAccessibilityLoadedValueForPID:(int)arg1; +- (id)parameterizedAttribute:(NSString *)arg1 forElement:(XCAccessibilityElement *)arg2 parameter:(id)arg3 error:(id *)arg4; +- (_Bool)setAttribute:(NSString *)arg1 value:(id)arg2 element:(XCAccessibilityElement *)arg3 outError:(id *)arg4; +- (XCUIElementSnapshotRequestResult *)requestSnapshotForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 parameters:(NSDictionary *)arg3 error:(id *)arg4; +- (void)notifyWhenEventLoopIsIdleForApplication:(XCUIApplicationProcess *)arg1 reply:(void (^)(NSDictionary *, NSError *))arg2; +- (_Bool)performAction:(XCUIAccessibilityAction *)arg1 onElement:(XCAccessibilityElement *)arg2 value:(id)arg3 error:(id *)arg4; +- (XCAccessibilityElement *)hitTestElement:(XCElementSnapshot *)arg1 withPoint:(struct CGPoint)arg2 error:(id *)arg3; +- (NSArray *)interruptingUIElementsAffectingSnapshot:(XCElementSnapshot *)arg1 checkForHandledElement:(XCAccessibilityElement *)arg2 containsHandledElement:(_Bool *)arg3; +- (_Bool)loadAccessibility:(id *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIApplication.h b/bp/src/PrivateHeaders/XCTest/XCUIApplication.h index 3903c0a3..75c62f60 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIApplication.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIApplication.h @@ -1,19 +1,22 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // #import @class NSArray, NSDictionary, NSString, XCAccessibilityElement, XCApplicationQuery, XCUIApplicationImpl, XCUIApplicationOpenRequest; +@protocol XCTRunnerAutomationSession, XCUIDevice; @interface XCUIApplication : XCUIElement { _Bool _ancillary; _Bool _prefersPlatformLauncher; _Bool _doesNotHandleUIInterruptions; + _Bool _allowBackgroundInteraction; _Bool _idleAnimationWaitEnabled; + unsigned int _currentInteractionOptions; XCUIApplicationOpenRequest *_lastLaunchRequest; XCUIElement *_keyboard; NSArray *_launchArguments; @@ -27,55 +30,73 @@ + (id)keyPathsForValuesAffectingBackground; + (id)keyPathsForValuesAffectingSuspended; + (id)keyPathsForValuesAffectingRunning; ++ (id)keyPathsForValuesAffectingState; ++ (id)keyPathsForValuesAffectingIsApplicationStateKnown; + (id)new; -+ (id)applicationWithPID:(int)arg1; +- (void).cxx_destruct; @property(getter=isIdleAnimationWaitEnabled) _Bool idleAnimationWaitEnabled; // @synthesize idleAnimationWaitEnabled=_idleAnimationWaitEnabled; +@property _Bool allowBackgroundInteraction; // @synthesize allowBackgroundInteraction=_allowBackgroundInteraction; @property(nonatomic) _Bool doesNotHandleUIInterruptions; // @synthesize doesNotHandleUIInterruptions=_doesNotHandleUIInterruptions; @property _Bool prefersPlatformLauncher; // @synthesize prefersPlatformLauncher=_prefersPlatformLauncher; @property(readonly) XCUIApplicationImpl *applicationImpl; // @synthesize applicationImpl=_applicationImpl; @property _Bool ancillary; // @synthesize ancillary=_ancillary; +@property unsigned int currentInteractionOptions; // @synthesize currentInteractionOptions=_currentInteractionOptions; @property unsigned long long generation; // @synthesize generation=_generation; @property(retain) XCApplicationQuery *applicationQuery; // @synthesize applicationQuery=_applicationQuery; @property(copy, nonatomic) NSDictionary *launchEnvironment; // @synthesize launchEnvironment=_launchEnvironment; @property(copy, nonatomic) NSArray *launchArguments; // @synthesize launchArguments=_launchArguments; @property(retain) XCUIApplicationOpenRequest *lastLaunchRequest; // @synthesize lastLaunchRequest=_lastLaunchRequest; +- (id)diagnosticAttachmentsForError:(id)arg1; - (void)dismissKeyboard; @property(readonly) XCUIElement *keyboard; // @synthesize keyboard=_keyboard; - (_Bool)setFauxCollectionViewCellsEnabled:(_Bool)arg1 error:(id *)arg2; @property(readonly) _Bool fauxCollectionViewCellsEnabled; +- (id)viewDidAppearExpectationForViewControllerWithName:(id)arg1; +- (_Bool)_waitForViewControllerViewDidDisappearWithTimeout:(double)arg1 error:(id *)arg2; @property(readonly, nonatomic) long long interfaceOrientation; -- (void)_waitForViewControllerViewDidDisappearWithTimeout:(double)arg1; - (void)_waitForQuiescence; +@property(readonly) _Bool hasAutomationSession; +@property(readonly) _Bool backgroundInteractionAllowed; +@property(readonly) _Bool shouldSkipPostEventQuiescence; +@property(readonly) _Bool shouldSkipPreEventQuiescence; +- (void)_performWithInteractionOptions:(unsigned int)arg1 block:(CDUnknownBlockType)arg2; - (void)terminate; +- (void)resetAuthorizationStatusForResource:(long long)arg1; - (void)activate; - (void)_launchUsingXcode:(_Bool)arg1; - (void)launch; - (id)_combinedLaunchEnvironment; - (id)_combinedLaunchArguments; -- (void)waitForState:(unsigned long long)arg1 timeout:(double)arg2; +- (_Bool)waitForState:(unsigned long long)arg1 timeout:(double)arg2; @property(readonly) _Bool foreground; @property(readonly) _Bool background; @property(readonly) _Bool suspended; @property(readonly) _Bool running; @property(nonatomic) int processID; @property(nonatomic) unsigned long long state; +- (_Bool)isApplicationStateKnown; +- (void)resetAlertCount; +@property(readonly) _Bool shouldBeCheckedForInterruptingElements; - (_Bool)exists; +- (id)currentProcess; - (id)application; @property(readonly) id automationSession; - (id)description; - (id)query; - (void)clearQuery; -- (void)resolveHandleUIInterruption:(_Bool)arg1; +- (_Bool)resolveOrRaiseTestFailure:(_Bool)arg1 error:(id *)arg2; @property(readonly) XCAccessibilityElement *accessibilityElement; - (unsigned long long)elementType; +@property(readonly) id device; @property(readonly) NSString *bundleID; @property(readonly) NSString *path; -- (void)commonInitWithApplicationImpl:(id)arg1 isTestDependency:(_Bool)arg2; +- (void)commonInitWithApplicationSpecifier:(id)arg1 device:(id)arg2; - (id)initPrivateWithPath:(id)arg1 bundleID:(id)arg2; +- (id)initWithApplicationSpecifier:(id)arg1 device:(id)arg2; +- (id)initWithBundleIdentifier:(id)arg1 device:(id)arg2; - (id)initWithBundleIdentifier:(id)arg1; - (id)init; - (id)initWithElementQuery:(id)arg1; -- (void)dealloc; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCUIApplicationAutomationSessionProviding-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIApplicationAutomationSessionProviding-Protocol.h new file mode 100644 index 00000000..2fccdc70 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIApplicationAutomationSessionProviding-Protocol.h @@ -0,0 +1,16 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSString; + +@protocol XCUIApplicationAutomationSessionProviding +@property(readonly) long long applicationAutomationSessionSupport; +- (void)requestUnsupportedBundleIdentifiersForAutomationSessions:(void (^)(NSSet *, NSError *))arg1; +- (void)requestAutomationSessionForTestTargetWithPID:(int)arg1 preferredBackendPath:(NSString *)arg2 reply:(void (^)(id , NSError *))arg3; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIApplicationImpl.h b/bp/src/PrivateHeaders/XCTest/XCUIApplicationImpl.h index 0b224d0f..336d32c3 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIApplicationImpl.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIApplicationImpl.h @@ -1,53 +1,83 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import + +#import @class NSString, XCAccessibilityElement, XCUIApplicationProcess; +@protocol XCUIDevice, XCUIIssueDiagnosticsProviding; -@interface XCUIApplicationImpl : NSObject +@interface XCUIApplicationImpl : NSObject { - _Bool _supportsAutomationSession; + _Bool _codeCoverageEnabled; + _Bool _hasValidAlertCount; + _Bool _previousOnDemandAutomationSessionRequestFailed; NSString *_path; NSString *_bundleID; XCUIApplicationProcess *_currentProcess; + id _device; } ++ (id)keyPathsForValuesAffectingActivated; + (id)keyPathsForValuesAffectingForeground; + (id)keyPathsForValuesAffectingBackground; + (id)keyPathsForValuesAffectingSuspended; + (id)keyPathsForValuesAffectingRunning; -@property _Bool supportsAutomationSession; // @synthesize supportsAutomationSession=_supportsAutomationSession; ++ (id)keyPathsForValuesAffectingState; ++ (id)keyPathsForValuesAffectingHasCurrentProcess; +- (void).cxx_destruct; +@property _Bool previousOnDemandAutomationSessionRequestFailed; // @synthesize previousOnDemandAutomationSessionRequestFailed=_previousOnDemandAutomationSessionRequestFailed; +@property _Bool hasValidAlertCount; // @synthesize hasValidAlertCount=_hasValidAlertCount; +@property _Bool codeCoverageEnabled; // @synthesize codeCoverageEnabled=_codeCoverageEnabled; +@property(readonly) id device; // @synthesize device=_device; @property(retain, nonatomic) XCUIApplicationProcess *currentProcess; // @synthesize currentProcess=_currentProcess; @property(readonly, copy) NSString *bundleID; // @synthesize bundleID=_bundleID; @property(readonly, copy) NSString *path; // @synthesize path=_path; -- (void)waitForViewControllerViewDidDisappearWithTimeout:(double)arg1; +- (void)resetAuthorizationStatusForResource:(long long)arg1; +- (_Bool)waitForViewControllerViewDidDisappearWithTimeout:(double)arg1 error:(id *)arg2; - (void)handleCrashUnderSymbol:(id)arg1; - (void)terminate; -- (void)waitForRunningForegroundStateAndRequireAccessibility:(_Bool)arg1; +- (void)_waitOnActivationExpectation:(id)arg1; +- (id)_activationExpectation; - (void)waitForAccessibilityActive; +- (void)_waitForValidPID; - (void)_launchUsingPlatformWithArguments:(id)arg1 environment:(id)arg2; - (void)_launchUsingXcodeWithArguments:(id)arg1 environment:(id)arg2; -- (void)_waitForLaunchProgress; +- (void)_waitForLaunchProgressWithToken:(id)arg1; - (void)_launchWithRequest:(id)arg1; +- (_Bool)shouldWaitForAutomationSessionWhenUsingPlatformLauncher:(_Bool)arg1; +- (_Bool)applicationProcessShouldRequestAutomationSession:(id)arg1; +- (void)applicationProcessAutomationSessionRequestFailed:(id)arg1; - (void)_activateForPlatform; - (void)_activate; - (void)serviceOpenRequest:(id)arg1; +@property(readonly) _Bool activated; @property(readonly) _Bool foreground; @property(readonly) _Bool background; @property(readonly) _Bool suspended; @property(readonly) _Bool running; - (void)_awaitValidCurrentProcess; -- (void)waitForState:(unsigned long long)arg1 timeout:(double)arg2; +- (void)resetAlertCount; +@property(readonly) unsigned long long alertCount; +- (_Bool)waitForState:(unsigned long long)arg1 timeout:(double)arg2; @property(nonatomic) unsigned long long state; @property(nonatomic) int processID; +@property(readonly) id diagnosticsProvider; @property(readonly) XCAccessibilityElement *accessibilityElement; -- (id)description; -- (void)dealloc; +- (_Bool)hasCurrentProcess; +- (id)compactDescription; +@property(readonly, copy) NSString *description; - (id)initWithPath:(id)arg1 bundleID:(id)arg2; +- (id)initWithPath:(id)arg1 bundleID:(id)arg2 device:(id)arg3; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCUIApplicationImplDepot.h b/bp/src/PrivateHeaders/XCTest/XCUIApplicationImplDepot.h new file mode 100644 index 00000000..f55ba76f --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIApplicationImplDepot.h @@ -0,0 +1,26 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSMutableDictionary; +@protocol XCUIDevice; + +@interface XCUIApplicationImplDepot : NSObject +{ + NSMutableDictionary *_applicationImpls; + id _device; +} + +- (void).cxx_destruct; +@property(readonly) id device; // @synthesize device=_device; +- (id)applicationImplForSpecifier:(id)arg1; +- (id)_canonicalSpecifierFromSpecifier:(id)arg1; +- (id)_identifierFromSpecifier:(id)arg1; +- (id)initWithDevice:(id)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIApplicationManaging-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIApplicationManaging-Protocol.h new file mode 100644 index 00000000..660ff4a6 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIApplicationManaging-Protocol.h @@ -0,0 +1,14 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, NSDictionary, NSString; + +@protocol XCUIApplicationManaging +- (void)launchProcessWithPath:(NSString *)arg1 bundleID:(NSString *)arg2 arguments:(NSArray *)arg3 environmentVariables:(NSDictionary *)arg4 completion:(void (^)(id, NSError *))arg5; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIApplicationMonitor-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIApplicationMonitor-Protocol.h new file mode 100644 index 00000000..dfbcff15 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIApplicationMonitor-Protocol.h @@ -0,0 +1,26 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import +#import +#import + +@class NSNumber, NSSet, NSString, XCUIApplicationImpl, XCUIApplicationProcess, XCUIApplicationRegistry; + +@protocol XCUIApplicationMonitor +@property(readonly) NSSet *unsupportedBundleIdentifiersForAutomationSessions; +@property(retain) XCUIApplicationRegistry *applicationRegistry; +- (void)acquireBackgroundAssertionForPID:(int)arg1 reply:(void (^)(_Bool))arg2; +- (void)waitForUnrequestedTerminationOfLaunchedApplicationsWithTimeout:(double)arg1; +- (void)terminationTrackedForApplicationProcess:(XCUIApplicationProcess *)arg1; +- (void)launchRequestedForApplicationProcess:(XCUIApplicationProcess *)arg1; +- (void)terminateApplicationProcess:(XCUIApplicationProcess *)arg1 withToken:(id)arg2; +- (XCUIApplicationImpl *)applicationImplementationForApplicationAtPath:(NSString *)arg1 bundleID:(NSString *)arg2; +- (void)processWithToken:(NSNumber *)arg1 exitedWithStatus:(int)arg2; +- (void)stopTrackingProcessWithToken:(NSNumber *)arg1; +- (void)crashInProcessWithBundleID:(NSString *)arg1 path:(NSString *)arg2 pid:(int)arg3 symbol:(NSString *)arg4; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIApplicationMonitor.h b/bp/src/PrivateHeaders/XCTest/XCUIApplicationMonitor.h index 13b54e44..5d5cb75a 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIApplicationMonitor.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIApplicationMonitor.h @@ -1,35 +1,48 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "XCTUIApplicationMonitor.h" +#import -@class NSMutableDictionary, NSMutableSet, NSObject, NSString, XCUIApplicationRegistry; +@class NSMutableDictionary, NSMutableSet, NSSet, NSString, XCTestConfiguration, XCUIApplicationImplDepot, XCUIApplicationRegistry; +@protocol OS_dispatch_queue, XCUIDevice, XCUIPlatformApplicationServicesProviding; -@interface XCUIApplicationMonitor : NSObject +@interface XCUIApplicationMonitor : NSObject { XCUIApplicationRegistry *_applicationRegistry; + NSSet *_unsupportedBundleIdentifiersForAutomationSessions; + id _device; + id _platformServicesProvider; + XCTestConfiguration *_testConfiguration; NSObject *_queue; - NSMutableDictionary *_applicationImplementations; + XCUIApplicationImplDepot *_applicationImplDepot; + NSMutableSet *_trackedBundleIDs; NSMutableDictionary *_applicationProcessesForPID; NSMutableDictionary *_applicationProcessesForToken; NSMutableSet *_launchedApplications; } -+ (id)sharedMonitor; ++ (void)initialize; +- (void).cxx_destruct; @property(readonly, copy) NSMutableSet *launchedApplications; // @synthesize launchedApplications=_launchedApplications; @property(readonly, copy) NSMutableDictionary *applicationProcessesForToken; // @synthesize applicationProcessesForToken=_applicationProcessesForToken; @property(readonly, copy) NSMutableDictionary *applicationProcessesForPID; // @synthesize applicationProcessesForPID=_applicationProcessesForPID; -@property(readonly, copy) NSMutableDictionary *applicationImplementations; // @synthesize applicationImplementations=_applicationImplementations; -@property NSObject *queue; // @synthesize queue=_queue; -@property(readonly) XCUIApplicationRegistry *applicationRegistry; // @synthesize applicationRegistry=_applicationRegistry; -- (void)requestAutomationSessionForTestTargetWithPID:(int)arg1 reply:(CDUnknownBlockType)arg2; +@property(readonly, copy) NSMutableSet *trackedBundleIDs; // @synthesize trackedBundleIDs=_trackedBundleIDs; +@property(readonly, copy) XCUIApplicationImplDepot *applicationImplDepot; // @synthesize applicationImplDepot=_applicationImplDepot; +@property(retain) NSObject *queue; // @synthesize queue=_queue; +@property(readonly) XCTestConfiguration *testConfiguration; // @synthesize testConfiguration=_testConfiguration; +@property(readonly) id platformServicesProvider; // @synthesize platformServicesProvider=_platformServicesProvider; +@property(readonly) __weak id device; // @synthesize device=_device; +@property(retain) XCUIApplicationRegistry *applicationRegistry; // @synthesize applicationRegistry=_applicationRegistry; +@property(readonly) NSSet *unsupportedBundleIdentifiersForAutomationSessions; // @synthesize unsupportedBundleIdentifiersForAutomationSessions=_unsupportedBundleIdentifiersForAutomationSessions; +- (void)acquireBackgroundAssertionForPID:(int)arg1 reply:(CDUnknownBlockType)arg2; - (void)updatedApplicationStateSnapshot:(id)arg1; -- (void)applicationWithBundleID:(id)arg1 didUpdatePID:(int)arg2 state:(unsigned long long)arg3; +- (void)_setIsTrackingForBundleID:(id)arg1; +- (_Bool)_isTrackingBundleID:(id)arg1; - (void)processWithToken:(id)arg1 exitedWithStatus:(int)arg2; - (void)stopTrackingProcessWithToken:(id)arg1; - (void)crashInProcessWithBundleID:(id)arg1 path:(id)arg2 pid:(int)arg3 symbol:(id)arg4; @@ -41,15 +54,13 @@ - (void)_terminateApplicationProcess:(id)arg1; - (void)terminateApplicationProcess:(id)arg1 withToken:(id)arg2; - (id)monitoredApplicationWithProcessIdentifier:(int)arg1; -- (void)_beginMonitoringApplication:(id)arg1; - (void)setApplicationProcess:(id)arg1 forToken:(id)arg2; - (id)applicationProcessWithToken:(id)arg1; - (void)setApplicationProcess:(id)arg1 forPID:(int)arg2; - (id)applicationProcessWithPID:(int)arg1; - (id)applicationImplementationForApplicationAtPath:(id)arg1 bundleID:(id)arg2; -- (id)_lookupApplicationImplementationForApplicationAtPath:(id)arg1 bundleID:(id)arg2; -- (id)init; -- (void)dealloc; +- (id)initWithDevice:(id)arg1 platformServicesProvider:(id)arg2 testConfiguration:(id)arg3; +- (id)initWithDevice:(id)arg1 platformServicesProvider:(id)arg2; // Remaining properties @property(readonly, copy) NSString *debugDescription; diff --git a/bp/src/PrivateHeaders/XCTest/XCUIApplicationMonitor_iOS.h b/bp/src/PrivateHeaders/XCTest/XCUIApplicationMonitor_iOS.h deleted file mode 100644 index b9359f0c..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCUIApplicationMonitor_iOS.h +++ /dev/null @@ -1,18 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import - -@interface XCUIApplicationMonitor_iOS : XCUIApplicationMonitor -{ -} - -- (void)_terminateApplicationProcess:(id)arg1; -- (id)monitoredApplicationWithProcessIdentifier:(int)arg1; -- (void)_beginMonitoringApplication:(id)arg1; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCUIApplicationOpenRequest.h b/bp/src/PrivateHeaders/XCTest/XCUIApplicationOpenRequest.h index f04025d7..c68976d5 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIApplicationOpenRequest.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIApplicationOpenRequest.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSArray, NSDictionary; @@ -20,12 +20,12 @@ + (id)activationRequestFromLaunchRequest:(id)arg1; + (id)activationRequestWithLaunchArguments:(id)arg1 environmentVariables:(id)arg2 usePlatformLauncher:(_Bool)arg3; + (id)launchRequestWithLaunchArguments:(id)arg1 environmentVariables:(id)arg2 usePlatformLauncher:(_Bool)arg3; +- (void).cxx_destruct; @property(copy) NSDictionary *environmentVariables; // @synthesize environmentVariables=_environmentVariables; @property(copy) NSArray *launchArguments; // @synthesize launchArguments=_launchArguments; @property _Bool usePlatformLauncher; // @synthesize usePlatformLauncher=_usePlatformLauncher; @property _Bool terminateIfRunning; // @synthesize terminateIfRunning=_terminateIfRunning; @property _Bool activateIfRunning; // @synthesize activateIfRunning=_activateIfRunning; -- (void)dealloc; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCUIApplicationPlatformServicesProviderDelegate-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIApplicationPlatformServicesProviderDelegate-Protocol.h new file mode 100644 index 00000000..63200182 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIApplicationPlatformServicesProviderDelegate-Protocol.h @@ -0,0 +1,14 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class XCTApplicationStateSnapshot; + +@protocol XCUIApplicationPlatformServicesProviderDelegate +- (void)updatedApplicationStateSnapshot:(XCTApplicationStateSnapshot *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIApplicationProcess.h b/bp/src/PrivateHeaders/XCTest/XCUIApplicationProcess.h index 6278ac04..63d33765 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIApplicationProcess.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIApplicationProcess.h @@ -1,14 +1,18 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -@class NSObject, XCAXClient_iOS, XCAccessibilityElement, XCElementSnapshot, XCUIApplicationImpl, XCUIApplicationMonitor; +#import +#import -@interface XCUIApplicationProcess : NSObject +@class NSString, XCAccessibilityElement, XCElementSnapshot, XCTFuture; +@protocol OS_dispatch_queue, XCTRunnerAutomationSession, XCUIApplicationProcessDelegate, XCUIDevice; + +@interface XCUIApplicationProcess : NSObject { NSObject *_queue; _Bool _accessibilityActive; @@ -17,55 +21,90 @@ id _token; int _exitCode; _Bool _eventLoopHasIdled; - _Bool _hasReceivedEventLoopHasIdled; _Bool _animationsHaveFinished; - _Bool _hasReceivedAnimationsHaveFinished; _Bool _hasExitCode; _Bool _hasCrashReport; - XCUIApplicationImpl *_applicationImplementation; + _Bool _mayTerminateOutOfBandWithoutCrashReport; + unsigned long long _alertCount; id _automationSession; + XCTFuture *_automationSessionFuture; + NSString *_path; + NSString *_bundleID; XCElementSnapshot *_lastSnapshot; - XCUIApplicationMonitor *_applicationMonitor; - XCAXClient_iOS *_AXClient_iOS; + id _device; + id _delegate; } ++ (id)keyPathsForValuesAffectingIsQuiescent; + (_Bool)automaticallyNotifiesObserversForKey:(id)arg1; ++ (id)keyPathsForValuesAffectingIsProcessIDValid; + (id)keyPathsForValuesAffectingForeground; + (id)keyPathsForValuesAffectingBackground; + (id)keyPathsForValuesAffectingSuspended; + (id)keyPathsForValuesAffectingRunning; -@property XCAXClient_iOS *AXClient_iOS; // @synthesize AXClient_iOS=_AXClient_iOS; -@property XCUIApplicationMonitor *applicationMonitor; // @synthesize applicationMonitor=_applicationMonitor; ++ (id)keyPathsForValuesAffectingIsApplicationStateKnown; +- (void).cxx_destruct; +@property(readonly) id delegate; // @synthesize delegate=_delegate; +@property(readonly) id device; // @synthesize device=_device; @property(retain) XCElementSnapshot *lastSnapshot; // @synthesize lastSnapshot=_lastSnapshot; -@property(retain) id automationSession; // @synthesize automationSession=_automationSession; +@property(nonatomic) _Bool mayTerminateOutOfBandWithoutCrashReport; // @synthesize mayTerminateOutOfBandWithoutCrashReport=_mayTerminateOutOfBandWithoutCrashReport; @property _Bool hasCrashReport; // @synthesize hasCrashReport=_hasCrashReport; @property _Bool hasExitCode; // @synthesize hasExitCode=_hasExitCode; -- (void)terminate; -- (void)waitForViewControllerViewDidDisappearWithTimeout:(double)arg1; +@property(readonly, copy, nonatomic) NSString *bundleID; // @synthesize bundleID=_bundleID; +@property(readonly, copy, nonatomic) NSString *path; // @synthesize path=_path; +- (id)diagnosticAttachmentsForError:(id)arg1; +- (_Bool)isMacCatalystForPID:(int)arg1; +@property(readonly) _Bool hasBannerNotificationIsStickyAttribute; +@property(readonly) _Bool usePointTransformationsForFrameConversions; +@property(readonly) _Bool supportsHostedViewCoordinateTransformations; +- (id)parameterizedAttribute:(id)arg1 forElement:(id)arg2 parameter:(id)arg3 error:(id *)arg4; +- (id)valuesForPrivilegedAttributes:(id)arg1 forElement:(id)arg2 error:(id *)arg3; +@property(readonly) _Bool providesValuesForPrivilegedAttributes; +- (id)attributesForElement:(id)arg1 attributes:(id)arg2 error:(id *)arg3; +@property(readonly) _Bool allowsRemoteAccess; +- (id)_underlyingDataSourceForElement:(id)arg1; +- (_Bool)terminate:(id *)arg1; +- (_Bool)waitForViewControllerViewDidDisappearWithTimeout:(double)arg1 error:(id *)arg2; +- (void)acquireBackgroundAssertion; +@property(readonly) XCTFuture *automationSessionFuture; // @synthesize automationSessionFuture=_automationSessionFuture; +- (id)_queue_automationSessionFuture; - (void)waitForAutomationSession; +@property(retain, nonatomic) id automationSession; // @synthesize automationSession=_automationSession; +- (_Bool)isQuiescent; +- (void)_initiateQuiescenceChecksIncludingAnimationsIdle:(_Bool)arg1; - (void)waitForQuiescenceIncludingAnimationsIdle:(_Bool)arg1; -@property _Bool hasReceivedAnimationsHaveFinished; +- (id)_makeQuiescenceExpectation; +- (void)_notifyWhenAnimationsAreIdle:(CDUnknownBlockType)arg1; +- (_Bool)_supportsAnimationsIdleNotifications; +- (void)_notifyWhenMainRunLoopIsIdle:(CDUnknownBlockType)arg1; +- (void)resetAlertCount; +- (void)incrementAlertCount; +@property(readonly) unsigned long long alertCount; // @synthesize alertCount=_alertCount; @property _Bool animationsHaveFinished; -@property _Bool hasReceivedEventLoopHasIdled; @property _Bool eventLoopHasIdled; @property int exitCode; @property(retain) id token; @property(nonatomic) int processID; +@property(readonly, getter=isProcessIDValid) _Bool processIDValid; @property(readonly) _Bool foreground; @property(readonly) _Bool background; @property(readonly) _Bool suspended; @property(readonly) _Bool running; +- (_Bool)isApplicationStateKnown; - (void)_awaitKnownApplicationState; @property(nonatomic) unsigned long long applicationState; -@property XCUIApplicationImpl *applicationImplementation; // @synthesize applicationImplementation=_applicationImplementation; @property(nonatomic) _Bool accessibilityActive; @property(readonly, copy) XCAccessibilityElement *accessibilityElement; -- (id)shortDescription; +@property(readonly, copy) NSString *shortDescription; - (id)_queue_description; -- (id)description; -- (id)init; -- (id)initWithApplicationMonitor:(id)arg1 AXInterface:(id)arg2; -- (void)dealloc; +@property(readonly, copy) NSString *description; +- (id)initWithBundleID:(id)arg1 device:(id)arg2 delegate:(id)arg3; +- (id)initWithPath:(id)arg1 bundleID:(id)arg2 device:(id)arg3 delegate:(id)arg4; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCUIApplicationProcessDelegate-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIApplicationProcessDelegate-Protocol.h new file mode 100644 index 00000000..a56c6d82 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIApplicationProcessDelegate-Protocol.h @@ -0,0 +1,15 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class XCUIApplicationProcess; + +@protocol XCUIApplicationProcessDelegate +- (void)applicationProcessAutomationSessionRequestFailed:(XCUIApplicationProcess *)arg1; +- (_Bool)applicationProcessShouldRequestAutomationSession:(XCUIApplicationProcess *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIApplicationProcessTracker-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIApplicationProcessTracker-Protocol.h new file mode 100644 index 00000000..c97cda08 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIApplicationProcessTracker-Protocol.h @@ -0,0 +1,19 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSNumber, XCUIApplicationProcess; +@protocol XCUIElementSnapshotApplication; + +@protocol XCUIApplicationProcessTracker +- (void)setApplicationProcess:(XCUIApplicationProcess *)arg1 forToken:(NSNumber *)arg2; +- (XCUIApplicationProcess *)applicationProcessWithToken:(NSNumber *)arg1; +- (void)setApplicationProcess:(XCUIApplicationProcess *)arg1 forPID:(int)arg2; +- (XCUIApplicationProcess *)applicationProcessWithPID:(int)arg1; +- (id )monitoredApplicationWithProcessIdentifier:(int)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIApplicationRegistry.h b/bp/src/PrivateHeaders/XCTest/XCUIApplicationRegistry.h index 2315414c..c42eb2ff 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIApplicationRegistry.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIApplicationRegistry.h @@ -1,26 +1,29 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSDictionary; +@protocol XCUIApplicationRegistryProvider; @interface XCUIApplicationRegistry : NSObject { NSDictionary *_testDependencies; NSDictionary *_userOverrides; + id _platformProvider; } +- (void).cxx_destruct; +@property(retain) id platformProvider; // @synthesize platformProvider=_platformProvider; @property(copy) NSDictionary *userOverrides; // @synthesize userOverrides=_userOverrides; @property(copy) NSDictionary *testDependencies; // @synthesize testDependencies=_testDependencies; - (_Bool)testDependencyExistsForApplicationAtURL:(id)arg1; -- (id)recordForApplicationWithBundleIdentifier:(id)arg1; +- (id)recordForApplicationWithBundleIdentifier:(id)arg1 error:(id *)arg2; - (id)_constructRecordMapFromRawMap:(id)arg1 isTestDependencyMap:(_Bool)arg2; - (id)initWithTestDependencies:(id)arg1 userOverrides:(id)arg2; -- (void)dealloc; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCUIApplicationRegistryRecord.h b/bp/src/PrivateHeaders/XCTest/XCUIApplicationRegistryRecord.h index c3166808..04550209 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIApplicationRegistryRecord.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIApplicationRegistryRecord.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSString, NSURL; @@ -15,10 +15,10 @@ NSString *_bundleIdentifier; } +- (void).cxx_destruct; @property(readonly) _Bool isTestDependency; // @synthesize isTestDependency=_isTestDependency; @property(readonly, copy) NSString *bundleIdentifier; // @synthesize bundleIdentifier=_bundleIdentifier; @property(readonly, copy) NSURL *URL; // @synthesize URL=_URL; -- (void)dealloc; - (id)initWithURL:(id)arg1 bundleIdentifier:(id)arg2 isTestDependency:(_Bool)arg3; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCUIApplicationSpecifier.h b/bp/src/PrivateHeaders/XCTest/XCUIApplicationSpecifier.h new file mode 100644 index 00000000..668a2d28 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIApplicationSpecifier.h @@ -0,0 +1,30 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSString; + +@interface XCUIApplicationSpecifier : NSObject +{ + NSString *_bundleIdentifier; + NSString *_path; +} + ++ (id)specifierWithBundleIdentifier:(id)arg1 path:(id)arg2; +- (void).cxx_destruct; +@property(readonly) NSString *path; // @synthesize path=_path; +@property(readonly) NSString *bundleIdentifier; // @synthesize bundleIdentifier=_bundleIdentifier; +- (_Bool)isEqual:(id)arg1; +- (unsigned long long)hash; +- (id)description; +- (id)copyWithZone:(struct _NSZone *)arg1; +- (id)initWithBundleIdentifier:(id)arg1 path:(id)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIButtonConsole.h b/bp/src/PrivateHeaders/XCTest/XCUIButtonConsole.h new file mode 100644 index 00000000..469ae942 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIButtonConsole.h @@ -0,0 +1,24 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class XCUIScreen; + +@interface XCUIButtonConsole : NSObject +{ + XCUIScreen *_screen; +} + +- (void).cxx_destruct; +@property(readonly) __weak XCUIScreen *screen; // @synthesize screen=_screen; +- (void)_silentlyPressButton:(unsigned long long)arg1 forDuration:(double)arg2; +- (void)pressButton:(unsigned long long)arg1 forDuration:(double)arg2; +- (void)pressButton:(unsigned long long)arg1; +- (id)initWithScreen:(id)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUICoordinate.h b/bp/src/PrivateHeaders/XCTest/XCUICoordinate.h index 5c71d0ba..798c5190 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUICoordinate.h +++ b/bp/src/PrivateHeaders/XCTest/XCUICoordinate.h @@ -1,12 +1,12 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "NSCopying.h" +#import @class XCUIElement; @@ -18,11 +18,14 @@ struct CGVector _pointsOffset; } +- (void).cxx_destruct; @property(readonly) struct CGVector pointsOffset; // @synthesize pointsOffset=_pointsOffset; @property(readonly) struct CGVector normalizedOffset; // @synthesize normalizedOffset=_normalizedOffset; @property(readonly) XCUICoordinate *coordinate; // @synthesize coordinate=_coordinate; @property(readonly) XCUIElement *element; // @synthesize element=_element; @property(readonly) struct CGPoint screenPoint; +- (struct CGPoint)_untransformedScreenPoint; +- (id)device; @property(readonly) XCUIElement *referencedElement; - (id)coordinateWithOffset:(struct CGVector)arg1; - (id)description; @@ -30,11 +33,23 @@ - (id)initWithCoordinate:(id)arg1 pointsOffset:(struct CGVector)arg2; - (id)initWithElement:(id)arg1 normalizedOffset:(struct CGVector)arg2; - (id)init; -- (void)dealloc; +- (void)pressForDuration:(double)arg1 thenDragToCoordinate:(id)arg2 withVelocity:(double)arg3 thenHoldForDuration:(double)arg4; - (void)pressForDuration:(double)arg1 thenDragToCoordinate:(id)arg2; - (void)pressForDuration:(double)arg1; - (void)doubleTap; - (void)tap; +- (void)swipeRightWithVelocity:(double)arg1; +- (void)swipeLeftWithVelocity:(double)arg1; +- (void)swipeDownWithVelocity:(double)arg1; +- (void)swipeUpWithVelocity:(double)arg1; +- (void)swipeRight; +- (void)swipeLeft; +- (void)swipeDown; +- (void)swipeUp; +- (void)_swipeTrackpad:(unsigned long long)arg1 withVelocity:(double)arg2; +- (void)_pressWithPressure:(double)arg1 pressDuration:(double)arg2 holdDuration:(double)arg3 releaseDuration:(double)arg4 activityTitle:(id)arg5; +- (void)pressWithPressure:(double)arg1 duration:(double)arg2; +- (void)forcePress; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCUIDefaultIssueHandler.h b/bp/src/PrivateHeaders/XCTest/XCUIDefaultIssueHandler.h new file mode 100644 index 00000000..e135c896 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIDefaultIssueHandler.h @@ -0,0 +1,30 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSString; + +__attribute__((visibility("hidden"))) +@interface XCUIDefaultIssueHandler : NSObject +{ +} + ++ (id)sharedHandler; +- (void)expectFailureWithContext:(id)arg1 inBlock:(CDUnknownBlockType)arg2; +- (void)expectFailureWithContext:(id)arg1; +- (void)handleIssue:(id)arg1; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIDevice.h b/bp/src/PrivateHeaders/XCTest/XCUIDevice.h index 7b68d496..a262df30 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIDevice.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIDevice.h @@ -1,25 +1,82 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -@class XCUISiriService; +@class NSString, XCUIRemote, XCUISiriService; +@protocol XCUIAccessibilityInterface, XCUIApplicationAutomationSessionProviding, XCUIApplicationManaging, XCUIApplicationMonitor, XCUIDeviceDiagnostics, XCUIDeviceEventAndStateInterface, XCUIEventSynthesizing, XCUIInterruptionMonitoring, XCUIResetAuthorizationStatusOfProtectedResourcesInterface, XCUIScreenDataSource, XCUIXcodeApplicationManaging; @interface XCUIDevice : NSObject { + _Bool _isLocal; + _Bool _isSimulatorDevice; + long long _platform; + id _accessibilityInterface; + id _applicationMonitor; + id _eventSynthesizer; + id _platformApplicationManager; + id _xcodeApplicationManager; + id _deviceEventAndStateInterface; + id _applicationAutomationSessionProvider; + XCUISiriService *_siriService; + id _screenDataSource; + NSString *_uniqueIdentifier; + XCUIRemote *_remote; + id _interruptionMonitor; + id _resetAuthorizationStatusInterface; + id _diagnosticsProvider; } + (id)sharedDevice; -@property(readonly) XCUISiriService *siriService; ++ (void)setLocalDevice:(id)arg1; ++ (id)localDevice; +- (void).cxx_destruct; +- (id)diagnosticsProvider; +- (id)resetAuthorizationStatusInterface; +- (id)interruptionMonitor; +- (id)remote; +- (_Bool)isSimulatorDevice; +- (id)uniqueIdentifier; +- (id)screenDataSource; +- (id)applicationAutomationSessionProvider; +- (id)deviceEventAndStateInterface; +- (id)xcodeApplicationManager; +- (id)platformApplicationManager; +- (id)eventSynthesizer; +- (id)applicationMonitor; +- (id)accessibilityInterface; +- (long long)platform; +- (_Bool)isLocal; +- (void)remoteAutomationSessionDidDisconnect:(id)arg1; +- (void)attachLocalizableStringsData; +- (void)rotateDigitalCrown:(double)arg1 velocity:(double)arg2; - (void)pressLockButton; - (void)holdHomeButtonForDuration:(double)arg1; - (void)pressButton:(long long)arg1; - (void)_silentPressButton:(long long)arg1; -- (void)_dispatchEventWithPage:(unsigned int)arg1 usage:(unsigned int)arg2 duration:(double)arg3; +- (void)_setOrientation:(long long)arg1; @property(nonatomic) long long orientation; +- (id)init; +- (id)description; +- (_Bool)isEqual:(id)arg1; +- (unsigned long long)hash; +- (id)spindumpAttachmentForProcessID:(int)arg1 error:(id *)arg2; +- (id)makeDiagnosticScreenshotAttachmentForDevice; +- (id)mainScreen; +- (id)screens; +- (id)screenWithDisplayID:(long long)arg1 orError:(id *)arg2; +- (id)mainScreenOrError:(id *)arg1; +- (id)screensOrError:(id *)arg1; +@property(readonly) XCUISiriService *siriService; // @synthesize siriService=_siriService; +- (_Bool)supportsPressureInteraction; +- (_Bool)performDeviceEvent:(id)arg1 error:(id *)arg2; +- (_Bool)configuredForUITesting; +- (id)diagnosticAttachmentsForError:(id)arg1; +- (id)initWithDiagnosticProvider:(id)arg1; +- (id)initLocalDeviceWithPlatform:(long long)arg1; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCUIDeviceEventAndStateInterface-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIDeviceEventAndStateInterface-Protocol.h new file mode 100644 index 00000000..bcd11276 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIDeviceEventAndStateInterface-Protocol.h @@ -0,0 +1,16 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class XCDeviceEvent; + +@protocol XCUIDeviceEventAndStateInterface +- (void)getDeviceOrientationWithCompletion:(void (^)(long long, NSError *))arg1; +- (void)updateDeviceOrientation:(long long)arg1 completion:(void (^)(_Bool, NSError *))arg2; +- (void)performDeviceEvent:(XCDeviceEvent *)arg1 completion:(void (^)(_Bool, NSError *))arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIElement.h b/bp/src/PrivateHeaders/XCTest/XCUIElement.h index e78634c5..bdfdcb69 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIElement.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIElement.h @@ -1,27 +1,33 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "XCElementAttributesPrivate.h" -#import "XCTNSPredicateExpectationObject.h" -#import "XCUIElementAttributes.h" -#import "XCUIElementTypeQueryProvider.h" -#import "XCUIScreenshotProviding.h" +#import +#import +#import +#import +#import +#import +#import -@class NSString, XCElementSnapshot, XCUIApplication, XCUICoordinate, XCUIElementQuery; +@class NSString, XCElementSnapshot, XCTLocalizableStringInfo, XCUIApplication, XCUICoordinate, XCUIElementQuery, XCUIScreen; +@protocol XCUIDevice; -@interface XCUIElement : NSObject +@interface XCUIElement : NSObject { _Bool _safeQueryResolutionEnabled; XCUIElementQuery *_query; XCElementSnapshot *_lastSnapshot; } ++ (id)standardAttributeNames; ++ (_Bool)_dispatchEventWithEventBuilder:(CDUnknownBlockType)arg1 eventSynthesizer:(id)arg2 withSnapshot:(id)arg3 applicationSnapshot:(id)arg4 process:(id)arg5 error:(id *)arg6; + (_Bool)_isInvalidEventDuration:(double)arg1; +- (void).cxx_destruct; @property _Bool safeQueryResolutionEnabled; // @synthesize safeQueryResolutionEnabled=_safeQueryResolutionEnabled; @property(retain) XCElementSnapshot *lastSnapshot; // @synthesize lastSnapshot=_lastSnapshot; @property(readonly) XCUIElementQuery *query; // @synthesize query=_query; @@ -76,6 +82,7 @@ @property(readonly, copy) XCUIElementQuery *sliders; @property(readonly, copy) XCUIElementQuery *collectionViews; @property(readonly, copy) XCUIElementQuery *browsers; +@property(readonly, copy) XCUIElementQuery *disclosedChildRows; @property(readonly, copy) XCUIElementQuery *outlineRows; @property(readonly, copy) XCUIElementQuery *outlines; @property(readonly, copy) XCUIElementQuery *tableColumns; @@ -100,6 +107,7 @@ @property(readonly, copy) XCUIElementQuery *radioButtons; @property(readonly, copy) XCUIElementQuery *buttons; @property(readonly, copy) XCUIElementQuery *dialogs; +@property(readonly, copy) XCUIElementQuery *bannerNotifications; @property(readonly, copy) XCUIElementQuery *alerts; @property(readonly, copy) XCUIElementQuery *drawers; @property(readonly, copy) XCUIElementQuery *sheets; @@ -108,12 +116,19 @@ @property(readonly, copy) XCUIElementQuery *touchBars; - (id)coordinateWithNormalizedOffset:(struct CGVector)arg1; @property(readonly, copy) XCUICoordinate *hitPointCoordinate; +@property(readonly) _Bool bannerNotificationIsSticky; +@property(readonly) _Bool hasBannerNotificationIsStickyAttribute; +- (id)valueForAccessibilityAttribute:(id)arg1 error:(id *)arg2; +- (id)valuesForAccessibilityAttributes:(id)arg1 error:(id *)arg2; @property(readonly) _Bool isTopLevelTouchBarElement; @property(readonly) _Bool isTouchBarElement; @property(readonly, getter=isHittable) _Bool hittable; +@property(readonly) _Bool hasFocus; +@property(readonly) long long displayID; @property(readonly, nonatomic) long long interfaceOrientation; -@property(readonly) _Bool hasKeyboardFocus; - (unsigned long long)traits; +@property(readonly) _Bool hasKeyboardFocus; +@property(readonly, copy) XCTLocalizableStringInfo *localizableStringInfo; @property(readonly) long long horizontalSizeClass; @property(readonly) long long verticalSizeClass; @property(readonly) unsigned long long elementType; @@ -125,32 +140,52 @@ @property(readonly, copy) NSString *title; @property(readonly) struct CGRect frame; @property(readonly) id value; -- (void)resolveHandleUIInterruption:(_Bool)arg1; -- (void)resolve; +- (_Bool)resolveOrRaiseTestFailure:(_Bool)arg1 error:(id *)arg2; +- (void)resolveOrRaiseTestFailure; +- (_Bool)_waitForNonExistenceWithTimeout:(double)arg1; +- (id)makeNonExistenceExpectation; - (_Bool)waitForExistenceWithTimeout:(double)arg1; - (_Bool)_waitForExistenceWithTimeout:(double)arg1; - (_Bool)evaluatePredicateForExpectation:(id)arg1 debugMessage:(id *)arg2; -- (id)_debugDescriptionWithSnapshot:(id)arg1; +- (id)_debugDescriptionWithSnapshot:(id)arg1 noMatchesMessage:(id)arg2; @property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *compactDescription; +@property(readonly, copy) NSString *description; @property(readonly) XCUIElement *firstMatch; +@property(readonly, copy) XCUIElement *excludingNonModalElements; +@property(readonly, copy) XCUIElement *includingNonModalElements; +- (id)_childrenMatchingTypes:(id)arg1; - (id)childrenMatchingType:(unsigned long long)arg1; +- (id)_descendantsMatchingTypes:(id)arg1; - (id)descendantsMatchingType:(unsigned long long)arg1; @property(readonly) _Bool exists; +@property(readonly) XCUIScreen *screen; +@property(readonly) id device; @property(readonly, nonatomic) XCUIApplication *application; -@property(readonly, copy) NSString *description; +@property(readonly, copy) XCUIElement *elementBoundByAccessibilityElement; - (id)initWithElementQuery:(id)arg1; -- (void)dealloc; +- (id)screenshotWithEncoding:(id)arg1; - (id)screenshot; -- (id)_screen; -- (void)_dispatchEvent:(id)arg1 block:(CDUnknownBlockType)arg2; +- (id)snapshotWithError:(id *)arg1; +- (_Bool)_allUIInterruptionsHandledForElementSnapshot:(id)arg1 error:(id *)arg2; +- (_Bool)_shouldDispatchEvent:(id *)arg1; +- (void)_dispatchEvent:(id)arg1 eventBuilder:(CDUnknownBlockType)arg2; +- (_Bool)_dispatchEventWithEventBuilder:(CDUnknownBlockType)arg1 error:(id *)arg2; - (void)typeText:(id)arg1; +- (_Bool)_focusValidForElementSnapshot:(id)arg1 error:(id *)arg2; - (void)rotate:(double)arg1 withVelocity:(double)arg2; - (void)pinchWithScale:(double)arg1 velocity:(double)arg2; +- (void)swipeRightWithVelocity:(double)arg1; +- (void)swipeLeftWithVelocity:(double)arg1; +- (void)swipeDownWithVelocity:(double)arg1; +- (void)swipeUpWithVelocity:(double)arg1; - (void)swipeRight; - (void)swipeLeft; - (void)swipeDown; - (void)swipeUp; -- (void)_swipe:(unsigned long long)arg1; +- (void)_swipe:(unsigned long long)arg1 withVelocity:(double)arg2; +- (void)_pressWithPressure:(double)arg1 pressDuration:(double)arg2 holdDuration:(double)arg3 releaseDuration:(double)arg4 activityTitle:(id)arg5; +- (void)pressForDuration:(double)arg1 thenDragToElement:(id)arg2 withVelocity:(double)arg3 thenHoldForDuration:(double)arg4; - (void)pressForDuration:(double)arg1 thenDragToElement:(id)arg2; - (void)pressForDuration:(double)arg1; - (void)_tapWithNumberOfTaps:(unsigned long long)arg1 numberOfTouches:(unsigned long long)arg2 activityTitle:(id)arg3; @@ -160,10 +195,15 @@ - (void)twoFingerTap; - (void)doubleTap; - (void)tap; -- (struct CGPoint)_hitPointByAttemptingToScrollToVisibleSnapshot:(id)arg1; -@property(readonly) double normalizedSliderPosition; +- (id)_hitPointByAttemptingToScrollToVisibleSnapshot:(id)arg1 error:(id *)arg2; - (void)adjustToNormalizedSliderPosition:(double)arg1; +@property(readonly) double normalizedSliderPosition; +- (id)_normalizedSliderPositionForSnapshot:(id)arg1 isVertical:(_Bool *)arg2 error:(id *)arg3; +- (id)_iOSSliderAdjustmentEventWithTargetPosition:(double)arg1 snapshot:(id)arg2 error:(id *)arg3; +- (id)_normalizedUISliderPositionForSnapshot:(id)arg1 isVertical:(_Bool *)arg2 error:(id *)arg3; - (void)adjustToPickerWheelValue:(id)arg1; +- (void)tapOrClick; +- (void)pressWithPressure:(double)arg1 duration:(double)arg2; - (void)forcePress; // Remaining properties diff --git a/bp/src/PrivateHeaders/XCTest/XCUIElementAsynchronousHandlerWrapper.h b/bp/src/PrivateHeaders/XCTest/XCUIElementAsynchronousHandlerWrapper.h deleted file mode 100644 index b5577ec0..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCUIElementAsynchronousHandlerWrapper.h +++ /dev/null @@ -1,24 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSString, NSUUID; - -@interface XCUIElementAsynchronousHandlerWrapper : NSObject -{ - CDUnknownBlockType _handler; - NSString *_handlerDescription; - NSUUID *_identifier; -} - -@property(copy) NSUUID *identifier; // @synthesize identifier=_identifier; -@property(copy) NSString *handlerDescription; // @synthesize handlerDescription=_handlerDescription; -@property(copy) CDUnknownBlockType handler; // @synthesize handler=_handler; -- (void)dealloc; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCUIElementAttributes-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIElementAttributes-Protocol.h index da518521..47d1bb29 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIElementAttributes-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIElementAttributes-Protocol.h @@ -1,12 +1,13 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // @class NSString; @protocol XCUIElementAttributes +@property(readonly) _Bool hasFocus; @property(readonly, getter=isSelected) _Bool selected; @property(readonly) NSString *placeholderValue; @property(readonly) long long verticalSizeClass; diff --git a/bp/src/PrivateHeaders/XCTest/XCUIElementAttributesPrivate-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIElementAttributesPrivate-Protocol.h new file mode 100644 index 00000000..cc094f17 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIElementAttributesPrivate-Protocol.h @@ -0,0 +1,14 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class XCTLocalizableStringInfo; + +@protocol XCUIElementAttributesPrivate +@property(readonly, copy) XCTLocalizableStringInfo *localizableStringInfo; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIElementHitPointCoordinate.h b/bp/src/PrivateHeaders/XCTest/XCUIElementHitPointCoordinate.h index d3a2686e..e6deeb63 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIElementHitPointCoordinate.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIElementHitPointCoordinate.h @@ -1,11 +1,12 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // #import +__attribute__((visibility("hidden"))) @interface XCUIElementHitPointCoordinate : XCUICoordinate { } diff --git a/bp/src/PrivateHeaders/XCTest/XCUIElementQuery.h b/bp/src/PrivateHeaders/XCTest/XCUIElementQuery.h index 27522619..a29dd1fa 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIElementQuery.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIElementQuery.h @@ -1,22 +1,25 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "XCTElementSnapshotProvider.h" -#import "XCUIElementTypeQueryProvider.h" +#import +#import +#import -@class NSArray, NSOrderedSet, NSString, XCElementSnapshot, XCTElementQuery, XCUIApplication, XCUIElement; +@class NSArray, NSOrderedSet, NSSet, NSString, XCElementSnapshot, XCUIApplication, XCUIElement; +@protocol XCTElementSetTransformer, XCTElementSnapshotAttributeDataSource; -@interface XCUIElementQuery : NSObject +@interface XCUIElementQuery : NSObject { _Bool _changesScope; _Bool _stopsOnFirstMatch; + _Bool _modalViewPruningDisabled; XCUIElementQuery *_inputQuery; - unsigned long long _expressedType; + NSSet *_expressedTypes; NSArray *_expressedIdentifiers; NSOrderedSet *_lastInput; NSOrderedSet *_lastOutput; @@ -25,13 +28,15 @@ id _transformer; } +- (void).cxx_destruct; @property(retain) id transformer; // @synthesize transformer=_transformer; @property(readonly, copy) NSString *queryDescription; // @synthesize queryDescription=_queryDescription; @property(retain) XCElementSnapshot *rootElementSnapshot; // @synthesize rootElementSnapshot=_rootElementSnapshot; +@property _Bool modalViewPruningDisabled; // @synthesize modalViewPruningDisabled=_modalViewPruningDisabled; @property(copy) NSOrderedSet *lastOutput; // @synthesize lastOutput=_lastOutput; @property(copy) NSOrderedSet *lastInput; // @synthesize lastInput=_lastInput; @property(copy) NSArray *expressedIdentifiers; // @synthesize expressedIdentifiers=_expressedIdentifiers; -@property unsigned long long expressedType; // @synthesize expressedType=_expressedType; +@property(copy) NSSet *expressedTypes; // @synthesize expressedTypes=_expressedTypes; @property _Bool stopsOnFirstMatch; // @synthesize stopsOnFirstMatch=_stopsOnFirstMatch; @property _Bool changesScope; // @synthesize changesScope=_changesScope; @property(readonly) XCUIElementQuery *inputQuery; // @synthesize inputQuery=_inputQuery; @@ -86,6 +91,7 @@ @property(readonly, copy) XCUIElementQuery *sliders; @property(readonly, copy) XCUIElementQuery *collectionViews; @property(readonly, copy) XCUIElementQuery *browsers; +@property(readonly, copy) XCUIElementQuery *disclosedChildRows; @property(readonly, copy) XCUIElementQuery *outlineRows; @property(readonly, copy) XCUIElementQuery *outlines; @property(readonly, copy) XCUIElementQuery *tableColumns; @@ -110,19 +116,25 @@ @property(readonly, copy) XCUIElementQuery *radioButtons; @property(readonly, copy) XCUIElementQuery *buttons; @property(readonly, copy) XCUIElementQuery *dialogs; +@property(readonly, copy) XCUIElementQuery *bannerNotifications; @property(readonly, copy) XCUIElementQuery *alerts; @property(readonly, copy) XCUIElementQuery *drawers; @property(readonly, copy) XCUIElementQuery *sheets; @property(readonly, copy) XCUIElementQuery *windows; @property(readonly, copy) XCUIElementQuery *groups; @property(readonly, copy) XCUIElementQuery *touchBars; -- (id)snapshotForElement:(id)arg1 attributes:(id)arg2 parameters:(id)arg3 error:(id *)arg4; -- (_Bool)_resolveRemoteElements:(id)arg1 inSnapshot:(id)arg2 error:(id *)arg3; -@property(readonly, copy) XCElementSnapshot *elementSnapshotForDebugDescription; -- (id)matchingSnapshotsForLocallyEvaluatedQuery:(id)arg1 error:(id *)arg2; -- (id)matchingSnapshotsWithError:(id *)arg1; -@property(readonly, copy) XCTElementQuery *backingQuery; -- (id)matchingSnapshotsHandleUIInterruption:(_Bool)arg1 withError:(id *)arg2; +- (id)snapshotForElement:(id)arg1 attributes:(id)arg2 parameters:(id)arg3 timeoutControls:(id)arg4 error:(id *)arg5; +- (_Bool)_resolveRemoteElements:(id)arg1 inSnapshot:(id)arg2 query:(id)arg3 runtimeIssues:(id *)arg4 error:(id *)arg5; +- (id)elementSnapshotForDebugDescriptionWithNoMatchesMessage:(id *)arg1; +- (id)_matchingSnapshotsForLocallyEvaluatedQuery:(id)arg1 error:(id *)arg2; +- (id)_matchingSnapshotsForRemotelyEvaluatedQuery:(id)arg1 error:(id *)arg2; +- (id)_executeWithError:(id *)arg1; +- (id)allMatchingSnapshotsWithError:(id *)arg1; +- (id)uniqueMatchingSnapshotWithError:(id *)arg1; +@property(readonly) id elementSnapshotAttributeDataSource; +- (id)backingQueryWithError:(id *)arg1; +@property(readonly, copy) XCUIElementQuery *excludingNonModalElements; +@property(readonly, copy) XCUIElementQuery *includingNonModalElements; @property(readonly, copy) NSArray *allElementsBoundByIndex; @property(readonly, copy) NSArray *allElementsBoundByAccessibilityElement; - (id)_elementMatchingAccessibilityElementOfSnapshot:(id)arg1; @@ -152,19 +164,23 @@ - (id)descending:(unsigned long long)arg1; - (id)ascending:(unsigned long long)arg1; - (id)filter:(CDUnknownBlockType)arg1; +- (id)_childrenMatchingTypes:(id)arg1; - (id)childrenMatchingType:(unsigned long long)arg1; +- (id)_descendantsMatchingTypes:(id)arg1; +- (id)_descendantsMatchingPredicate:(id)arg1; - (id)descendantsMatchingType:(unsigned long long)arg1; - (id)debugDescriptionWithSnapshot:(id)arg1; @property(readonly, copy) NSString *debugDescription; - (id)_debugDescriptionWithIndent:(id *)arg1 rootElementSnapshot:(id)arg2; @property(readonly, copy) NSString *elementDescription; - (id)_derivedExpressedIdentifiers; -- (unsigned long long)_derivedExpressedType; +- (id)_derivedExpressedTypes; +@property(readonly, copy) NSSet *allExpressedTypes; @property(readonly) XCUIApplication *application; +- (id)device; @property(readonly) unsigned long long count; - (id)initWithInputQuery:(id)arg1 queryDescription:(id)arg2 transformer:(id)arg3; - (id)init; -- (void)dealloc; // Remaining properties @property(readonly, copy) NSString *description; diff --git a/bp/src/PrivateHeaders/XCTest/XCUIElementSnapshot-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIElementSnapshot-Protocol.h new file mode 100644 index 00000000..7a42498f --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIElementSnapshot-Protocol.h @@ -0,0 +1,15 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, NSDictionary; + +@protocol XCUIElementSnapshot +@property(readonly, copy) NSDictionary *dictionaryRepresentation; +@property(readonly) NSArray *children; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIElementSnapshotProviding-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIElementSnapshotProviding-Protocol.h new file mode 100644 index 00000000..3ac56367 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIElementSnapshotProviding-Protocol.h @@ -0,0 +1,14 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@protocol XCUIElementSnapshot; + +@protocol XCUIElementSnapshotProviding +- (id )snapshotWithError:(id *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIElementTypeQueryProvider-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIElementTypeQueryProvider-Protocol.h index df98d8a6..5f19ea8a 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIElementTypeQueryProvider-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIElementTypeQueryProvider-Protocol.h @@ -1,7 +1,7 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // @class XCUIElement, XCUIElementQuery; @@ -60,6 +60,7 @@ @property(readonly, copy) XCUIElementQuery *sliders; @property(readonly, copy) XCUIElementQuery *collectionViews; @property(readonly, copy) XCUIElementQuery *browsers; +@property(readonly, copy) XCUIElementQuery *disclosedChildRows; @property(readonly, copy) XCUIElementQuery *outlineRows; @property(readonly, copy) XCUIElementQuery *outlines; @property(readonly, copy) XCUIElementQuery *tableColumns; diff --git a/bp/src/PrivateHeaders/XCTest/XCUIElementTypeQueryProvider_Private-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIElementTypeQueryProvider_Private-Protocol.h new file mode 100644 index 00000000..7fef0acb --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIElementTypeQueryProvider_Private-Protocol.h @@ -0,0 +1,12 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@class XCUIElementQuery; + +@protocol XCUIElementTypeQueryProvider_Private +@property(readonly, copy) XCUIElementQuery *bannerNotifications; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIEventSynthesisRequest-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIEventSynthesisRequest-Protocol.h new file mode 100644 index 00000000..afc150fd --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIEventSynthesisRequest-Protocol.h @@ -0,0 +1,16 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class XCSynthesizedEventRecord; + +@protocol XCUIEventSynthesisRequest +@property(readonly) double upperBoundOnDuration; +@property(readonly) XCSynthesizedEventRecord *event; +- (void)invalidate; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIEventSynthesizing-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIEventSynthesizing-Protocol.h new file mode 100644 index 00000000..3af4c9a1 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIEventSynthesizing-Protocol.h @@ -0,0 +1,17 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class XCSynthesizedEventRecord; +@protocol XCUIEventSynthesisRequest; + +@protocol XCUIEventSynthesizing +@property double implicitEventConfirmationIntervalForCurrentContext; +- (_Bool)requestPressureEventsSupportedOrError:(id *)arg1; +- (id )synthesizeEvent:(XCSynthesizedEventRecord *)arg1 completion:(void (^)(_Bool, NSError *))arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIHitPointResult.h b/bp/src/PrivateHeaders/XCTest/XCUIHitPointResult.h new file mode 100644 index 00000000..ecc07a78 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIHitPointResult.h @@ -0,0 +1,21 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface XCUIHitPointResult : NSObject +{ + _Bool _hittable; + struct CGPoint _hitPoint; +} + +@property(readonly, getter=isHittable) _Bool hittable; // @synthesize hittable=_hittable; +@property(readonly) struct CGPoint hitPoint; // @synthesize hitPoint=_hitPoint; +- (id)description; +- (id)initWithHitPoint:(struct CGPoint)arg1 hittable:(_Bool)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIInterruptionHandler.h b/bp/src/PrivateHeaders/XCTest/XCUIInterruptionHandler.h new file mode 100644 index 00000000..d03bf474 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIInterruptionHandler.h @@ -0,0 +1,25 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSString, NSUUID; + +@interface XCUIInterruptionHandler : NSObject +{ + CDUnknownBlockType _block; + NSString *_handlerDescription; + NSUUID *_identifier; +} + +- (void).cxx_destruct; +@property(readonly, copy) NSUUID *identifier; // @synthesize identifier=_identifier; +@property(readonly, copy) NSString *handlerDescription; // @synthesize handlerDescription=_handlerDescription; +@property(readonly, copy) CDUnknownBlockType block; // @synthesize block=_block; +- (id)initWithBlock:(CDUnknownBlockType)arg1 description:(id)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIInterruptionMonitor.h b/bp/src/PrivateHeaders/XCTest/XCUIInterruptionMonitor.h new file mode 100644 index 00000000..2080efb3 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIInterruptionMonitor.h @@ -0,0 +1,34 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSString; + +@interface XCUIInterruptionMonitor : NSObject +{ + _Bool _didHandleUIInterruption; + long long _platform; +} + ++ (CDUnknownBlockType)defaultInterruptionHandler_iOS; +@property(readonly) long long platform; // @synthesize platform=_platform; +@property _Bool didHandleUIInterruption; // @synthesize didHandleUIInterruption=_didHandleUIInterruption; +- (_Bool)handleInterruptingElement:(id)arg1; +- (void)removeInterruptionHandlerWithIdentifier:(id)arg1; +- (id)addInterruptionHandlerWithDescription:(id)arg1 block:(CDUnknownBlockType)arg2; +- (id)initWithPlatform:(long long)arg1; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIInterruptionMonitoring-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIInterruptionMonitoring-Protocol.h new file mode 100644 index 00000000..4574cceb --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIInterruptionMonitoring-Protocol.h @@ -0,0 +1,18 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSString, XCUIElement; +@protocol NSObject; + +@protocol XCUIInterruptionMonitoring +@property _Bool didHandleUIInterruption; +- (_Bool)handleInterruptingElement:(XCUIElement *)arg1; +- (void)removeInterruptionHandlerWithIdentifier:(id )arg1; +- (id )addInterruptionHandlerWithDescription:(NSString *)arg1 block:(_Bool (^)(XCUIElement *))arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIIssueDiagnosticsProviding-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIIssueDiagnosticsProviding-Protocol.h new file mode 100644 index 00000000..ac934f76 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIIssueDiagnosticsProviding-Protocol.h @@ -0,0 +1,14 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, NSError; + +@protocol XCUIIssueDiagnosticsProviding +- (NSArray *)diagnosticAttachmentsForError:(NSError *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIKnobControl.h b/bp/src/PrivateHeaders/XCTest/XCUIKnobControl.h new file mode 100644 index 00000000..86273b3c --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIKnobControl.h @@ -0,0 +1,24 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class XCUIScreen; + +@interface XCUIKnobControl : NSObject +{ + XCUIScreen *_screen; +} + +- (void).cxx_destruct; +@property(readonly) __weak XCUIScreen *screen; // @synthesize screen=_screen; +- (void)select; +- (void)rotateByNumberOfClicks:(unsigned long long)arg1 clockwise:(_Bool)arg2; +- (void)nudgeInDirection:(unsigned long long)arg1; +- (id)initWithScreen:(id)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUILocalDeviceScreenDataSource.h b/bp/src/PrivateHeaders/XCTest/XCUILocalDeviceScreenDataSource.h new file mode 100644 index 00000000..9c4def21 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUILocalDeviceScreenDataSource.h @@ -0,0 +1,35 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSString; +@protocol XCUILocalDeviceScreenshotIPCInterface; + +@interface XCUILocalDeviceScreenDataSource : NSObject +{ + id _screenshotIPCInterface; +} + +- (void).cxx_destruct; +@property(retain, nonatomic) id screenshotIPCInterface; // @synthesize screenshotIPCInterface=_screenshotIPCInterface; +- (id)_clippedScreenshotFromImage:(id)arg1 encoding:(id)arg2 rect:(struct CGRect)arg3; +- (void)requestScreenshotOfScreenWithID:(long long)arg1 withRect:(struct CGRect)arg2 encoding:(id)arg3 withReply:(CDUnknownBlockType)arg4; +- (void)requestScaleForScreenWithIdentifier:(long long)arg1 completion:(CDUnknownBlockType)arg2; +- (void)requestScreenIdentifiersWithCompletion:(CDUnknownBlockType)arg1; +@property(readonly, nonatomic) _Bool supportsHEICImageEncoding; +- (id)initWithScreenshotIPCInterface:(id)arg1; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUILocalDeviceScreenshotIPCInterface-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUILocalDeviceScreenshotIPCInterface-Protocol.h new file mode 100644 index 00000000..ec7c61d8 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUILocalDeviceScreenshotIPCInterface-Protocol.h @@ -0,0 +1,16 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class XCTImageEncoding; + +@protocol XCUILocalDeviceScreenshotIPCInterface +@property(readonly, nonatomic) _Bool supportsHEICImageEncoding; +@property(readonly, nonatomic) _Bool useLegacyScreenshotPath; +- (void)requestScreenshotOfScreenWithID:(long long)arg1 withRect:(struct CGRect)arg2 encoding:(XCTImageEncoding *)arg3 withReply:(void (^)(XCTImage *, NSError *))arg4; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIPlatformApplicationManager.h b/bp/src/PrivateHeaders/XCTest/XCUIPlatformApplicationManager.h new file mode 100644 index 00000000..a856253f --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIPlatformApplicationManager.h @@ -0,0 +1,33 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +@class NSString; +@protocol XCUIPlatformApplicationServicesProviding; + +__attribute__((visibility("hidden"))) +@interface XCUIPlatformApplicationManager : NSObject +{ + id _platformApplicationServicesProvider; +} + ++ (_Bool)_shouldRetryForLaunchError:(id)arg1; +- (void).cxx_destruct; +@property(readonly) id platformApplicationServicesProvider; // @synthesize platformApplicationServicesProvider=_platformApplicationServicesProvider; +- (void)launchProcessWithPath:(id)arg1 bundleID:(id)arg2 arguments:(id)arg3 environmentVariables:(id)arg4 completion:(CDUnknownBlockType)arg5; +- (id)initWithPlatformApplicationServicesProvider:(id)arg1; + +// Remaining properties +@property(readonly, copy) NSString *debugDescription; +@property(readonly, copy) NSString *description; +@property(readonly) unsigned long long hash; +@property(readonly) Class superclass; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIPlatformApplicationServicesProviding-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIPlatformApplicationServicesProviding-Protocol.h new file mode 100644 index 00000000..404ad737 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIPlatformApplicationServicesProviding-Protocol.h @@ -0,0 +1,19 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, NSDictionary, NSString, XCUIApplicationSpecifier; +@protocol XCUIApplicationPlatformServicesProviderDelegate; + +@protocol XCUIPlatformApplicationServicesProviding +@property __weak id platformApplicationServicesProviderDelegate; +- (void)requestApplicationSpecifierForPID:(int)arg1 reply:(void (^)(XCUIApplicationSpecifier *, NSError *))arg2; +- (void)terminateApplicationWithBundleID:(NSString *)arg1 pid:(int)arg2 completion:(void (^)(_Bool, NSError *))arg3; +- (void)launchApplicationWithPath:(NSString *)arg1 bundleID:(NSString *)arg2 arguments:(NSArray *)arg3 environment:(NSDictionary *)arg4 completion:(void (^)(_Bool, NSError *))arg5; +- (void)beginMonitoringApplicationWithSpecifier:(XCUIApplicationSpecifier *)arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIPoint.h b/bp/src/PrivateHeaders/XCTest/XCUIPoint.h new file mode 100644 index 00000000..3573e543 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIPoint.h @@ -0,0 +1,19 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface XCUIPoint : NSObject +{ + struct CGPoint _point; +} + +@property(readonly) struct CGPoint point; // @synthesize point=_point; +- (id)description; +- (id)initWithPoint:(struct CGPoint)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIPointTransformationRequest.h b/bp/src/PrivateHeaders/XCTest/XCUIPointTransformationRequest.h new file mode 100644 index 00000000..6a33b20d --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIPointTransformationRequest.h @@ -0,0 +1,25 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, XCUITransformParameters; + +__attribute__((visibility("hidden"))) +@interface XCUIPointTransformationRequest : NSObject +{ + XCUITransformParameters *_transformParameters; + struct CGPoint _point; +} + ++ (id)pointTransformationRequestWithPoint:(struct CGPoint)arg1 parameters:(id)arg2; +- (void).cxx_destruct; +@property(readonly) XCUITransformParameters *transformParameters; // @synthesize transformParameters=_transformParameters; +@property(readonly) struct CGPoint point; // @synthesize point=_point; +@property(readonly) NSArray *axParameterRepresentation; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIRecorderNodeFinder.h b/bp/src/PrivateHeaders/XCTest/XCUIRecorderNodeFinder.h index 825c66eb..b70be3f4 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIRecorderNodeFinder.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIRecorderNodeFinder.h @@ -1,13 +1,14 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSArray, NSMutableArray, NSSet, XCElementSnapshot, XCUIRecorderNodeFinderMatch; +__attribute__((visibility("hidden"))) @interface XCUIRecorderNodeFinder : NSObject { unsigned long long _state; @@ -34,6 +35,7 @@ + (id)_nodeFindersForSnapshots:(id)arg1 ancestorMatch:(id)arg2 ancestorIndex:(unsigned long long)arg3 stopCombinatorialExpansionIndexes:(id)arg4 excludeUnlessNecessaryElementTypes:(id)arg5 language:(unsigned long long)arg6 platform:(unsigned long long)arg7; + (id)_excludeUnlessNecessaryElementTypesForPlatform:(unsigned long long)arg1; + (id)_stopCombinatorialExpansionElementTypesForPlatform:(unsigned long long)arg1; +- (void).cxx_destruct; @property _Bool excludeUnlessNecessary; // @synthesize excludeUnlessNecessary=_excludeUnlessNecessary; @property _Bool allowElementQueries; // @synthesize allowElementQueries=_allowElementQueries; @property unsigned long long platform; // @synthesize platform=_platform; @@ -64,7 +66,6 @@ - (void)invalidate; - (id)initWithTargetSnapshot:(id)arg1 targetSnapshotIndex:(unsigned long long)arg2 ancestorMatch:(id)arg3 allowElementQueries:(_Bool)arg4 excludeUnlessNecessary:(_Bool)arg5 language:(unsigned long long)arg6 platform:(unsigned long long)arg7; - (id)description; -- (void)dealloc; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCUIRecorderNodeFinderMatch.h b/bp/src/PrivateHeaders/XCTest/XCUIRecorderNodeFinderMatch.h index 5a2e9642..a3d1dbe1 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIRecorderNodeFinderMatch.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIRecorderNodeFinderMatch.h @@ -1,13 +1,14 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSMutableArray, NSSet, XCSourceCodeTreeNode, XCUIRecorderNodeFinder; +__attribute__((visibility("hidden"))) @interface XCUIRecorderNodeFinderMatch : NSObject { NSSet *_matchingSnapshots; @@ -16,6 +17,7 @@ NSMutableArray *_descendantFinders; } +- (void).cxx_destruct; @property(retain) NSMutableArray *descendantFinders; // @synthesize descendantFinders=_descendantFinders; @property(retain) XCUIRecorderNodeFinder *ancestorFinder; // @synthesize ancestorFinder=_ancestorFinder; @property(retain) XCSourceCodeTreeNode *node; // @synthesize node=_node; @@ -23,7 +25,6 @@ - (void)invalidate; - (id)nodeIncludingDescendants; - (id)description; -- (void)dealloc; - (id)initWithNode:(id)arg1 matchingSnapshots:(id)arg2 ancestorFinder:(id)arg3; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCUIRecorderTimingMessage.h b/bp/src/PrivateHeaders/XCTest/XCUIRecorderTimingMessage.h index 5324f601..443cee78 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIRecorderTimingMessage.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIRecorderTimingMessage.h @@ -1,13 +1,14 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSString; +__attribute__((visibility("hidden"))) @interface XCUIRecorderTimingMessage : NSObject { double _start; @@ -16,9 +17,9 @@ + (id)descriptionForTimingMessages:(id)arg1; + (id)messageWithString:(id)arg1; +- (void).cxx_destruct; @property(copy) NSString *message; // @synthesize message=_message; @property double start; // @synthesize start=_start; -- (void)dealloc; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCUIRecorderUtilities.h b/bp/src/PrivateHeaders/XCTest/XCUIRecorderUtilities.h index 062ae6c3..b1a422b4 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIRecorderUtilities.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIRecorderUtilities.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSMutableString, XCAccessibilityElement; @@ -19,6 +19,7 @@ + (id)applicationNodeForLanguage:(unsigned long long)arg1; + (unsigned long long)currentPlatform; +- (void).cxx_destruct; @property(retain) NSMutableString *previousTyping; // @synthesize previousTyping=_previousTyping; @property(retain) XCAccessibilityElement *previousFocusedAccessibilityElement; // @synthesize previousFocusedAccessibilityElement=_previousFocusedAccessibilityElement; @property unsigned long long _compareSnapshotsLikePlatform; // @synthesize _compareSnapshotsLikePlatform; @@ -36,13 +37,13 @@ - (id)remoteNodeWithButtonSymbolName:(id)arg1; - (id)commentNodeWithString:(id)arg1; - (id)applicationNode; +- (id)adjustedSnapshotForApplicationSnapshot:(id)arg1; - (id)focusedAccessibilityElementForApplicationSnapshot:(id)arg1; - (id)snapshotsForAccessibilityElement:(id)arg1 applicationSnapshot:(id)arg2; - (id)snapshotInTreeStartingWithSnapshot:(id)arg1 forElement:(id)arg2; - (id)_snapshotInTreeStartingWithSnapshot:(id)arg1 passingPredicateBlock:(CDUnknownBlockType)arg2; - (id)nodeForOrientationChangeWithSymbolName:(id)arg1; @property unsigned long long platform; // @synthesize platform=_platform; -- (void)dealloc; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCUIRect.h b/bp/src/PrivateHeaders/XCTest/XCUIRect.h new file mode 100644 index 00000000..7d7df0d4 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIRect.h @@ -0,0 +1,19 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface XCUIRect : NSObject +{ + struct CGRect _rect; +} + +@property(readonly) struct CGRect rect; // @synthesize rect=_rect; +- (id)description; +- (id)initWithRect:(struct CGRect)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIRectTransformationRequest.h b/bp/src/PrivateHeaders/XCTest/XCUIRectTransformationRequest.h new file mode 100644 index 00000000..4c6f01f0 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIRectTransformationRequest.h @@ -0,0 +1,25 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, XCUITransformParameters; + +__attribute__((visibility("hidden"))) +@interface XCUIRectTransformationRequest : NSObject +{ + XCUITransformParameters *_transformParameters; + struct CGRect _rect; +} + ++ (id)rectTransformationRequestWithRect:(struct CGRect)arg1 parameters:(id)arg2; +- (void).cxx_destruct; +@property(readonly) XCUITransformParameters *transformParameters; // @synthesize transformParameters=_transformParameters; +@property(readonly) struct CGRect rect; // @synthesize rect=_rect; +@property(readonly) NSArray *axParameterRepresentation; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIRemoteAccessibilityInterface-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIRemoteAccessibilityInterface-Protocol.h new file mode 100644 index 00000000..2bd24f12 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIRemoteAccessibilityInterface-Protocol.h @@ -0,0 +1,30 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, NSDictionary, NSNumber, NSString, XCAccessibilityElement, XCTCapabilities, XCUIAccessibilityAction; + +@protocol XCUIRemoteAccessibilityInterface +@property(readonly) _Bool axNotificationsIncludeElement; +@property(readonly) _Bool useLegacySnapshotPath; +@property(readonly) XCTCapabilities *remoteInterfaceCapabilities; +- (void)setLocalizableStringsDataGatheringEnabled:(_Bool)arg1 reply:(void (^)(_Bool, NSError *))arg2; +- (void)enableFauxCollectionViewCells:(void (^)(_Bool, NSError *))arg1; +- (void)setAXTimeout:(double)arg1 reply:(void (^)(NSError *))arg2; +- (void)requestElementAtPoint:(struct CGPoint)arg1 reply:(void (^)(XCAccessibilityElement *, NSError *))arg2; +- (void)fetchParameterizedAttribute:(NSString *)arg1 forElement:(XCAccessibilityElement *)arg2 parameter:(id)arg3 reply:(void (^)(id, NSError *))arg4; +- (void)setAttribute:(NSString *)arg1 value:(id)arg2 element:(XCAccessibilityElement *)arg3 reply:(void (^)(_Bool, NSError *))arg4; +- (void)fetchAttributes:(NSArray *)arg1 forElement:(XCAccessibilityElement *)arg2 reply:(void (^)(NSDictionary *, NSError *))arg3; +- (void)fetchSnapshotForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 parameters:(NSDictionary *)arg3 reply:(void (^)(XCUIElementSnapshotRequestResult *, NSError *))arg4; +- (void)requestSnapshotForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 parameters:(NSDictionary *)arg3 reply:(void (^)(XCElementSnapshot *, NSError *))arg4; +- (void)snapshotForElement:(XCAccessibilityElement *)arg1 attributes:(NSArray *)arg2 parameters:(NSDictionary *)arg3 reply:(void (^)(XCElementSnapshot *, NSError *))arg4; +- (void)performAccessibilityAction:(XCUIAccessibilityAction *)arg1 onElement:(XCAccessibilityElement *)arg2 value:(id)arg3 reply:(void (^)(NSError *))arg4; +- (void)unregisterForAccessibilityNotification:(int)arg1 registrationToken:(NSNumber *)arg2 reply:(void (^)(NSError *))arg3; +- (void)registerForAccessibilityNotification:(int)arg1 reply:(void (^)(NSNumber *, NSError *))arg2; +- (void)loadAccessibilityWithTimeout:(double)arg1 reply:(void (^)(_Bool, NSError *))arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIRemoteSiriInterface-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIRemoteSiriInterface-Protocol.h new file mode 100644 index 00000000..a92918aa --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIRemoteSiriInterface-Protocol.h @@ -0,0 +1,20 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, NSString, NSURL; + +@protocol XCUIRemoteSiriInterface +@property(readonly) _Bool supportsInjectingVoiceRecognitionAudioInputPaths; +@property(readonly) _Bool supportsStartingSiriUIRequestWithAudioFileURL; +- (void)injectVoiceRecognitionAudioInputPaths:(NSArray *)arg1 completion:(void (^)(_Bool, NSError *))arg2; +- (void)injectAssistantRecognitionStrings:(NSArray *)arg1 completion:(void (^)(_Bool, NSError *))arg2; +- (void)startSiriUIRequestWithAudioFileURL:(NSURL *)arg1 completion:(void (^)(_Bool, NSError *))arg2; +- (void)startSiriUIRequestWithText:(NSString *)arg1 completion:(void (^)(_Bool, NSError *))arg2; +- (void)requestSiriEnabledStatus:(void (^)(_Bool, NSError *))arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIResetAuthorizationStatusOfProtectedResourcesInterface-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIResetAuthorizationStatusOfProtectedResourcesInterface-Protocol.h new file mode 100644 index 00000000..23d959ba --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIResetAuthorizationStatusOfProtectedResourcesInterface-Protocol.h @@ -0,0 +1,14 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSString; + +@protocol XCUIResetAuthorizationStatusOfProtectedResourcesInterface +- (_Bool)resetAuthorizationStatusForBundleIdentifier:(NSString *)arg1 resourceIdentifier:(NSString *)arg2 error:(id *)arg3; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIScreen.h b/bp/src/PrivateHeaders/XCTest/XCUIScreen.h index 05e32e1a..9bdeed21 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIScreen.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIScreen.h @@ -1,39 +1,47 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -#import "XCUIScreenshotProviding.h" +#import -@class NSString; +@class NSString, XCUIButtonConsole, XCUIKnobControl; +@protocol XCUIDevice, XCUIScreenDataSource; @interface XCUIScreen : NSObject { _Bool _isMainScreen; - int _displayID; + XCUIKnobControl *_knobControl; + XCUIButtonConsole *_buttonConsole; + long long _displayID; + id _device; + id _screenDataSource; } + (id)screens; + (id)mainScreen; +- (void).cxx_destruct; +@property(readonly) id screenDataSource; // @synthesize screenDataSource=_screenDataSource; +@property(readonly) __weak id device; // @synthesize device=_device; @property(readonly) _Bool isMainScreen; // @synthesize isMainScreen=_isMainScreen; -@property(readonly) int displayID; // @synthesize displayID=_displayID; -- (id)_clippedScreenshotData:(id)arg1 quality:(long long)arg2 rect:(struct CGRect)arg3 scale:(double)arg4; -- (id)_screenshotDataForQuality:(long long)arg1 rect:(struct CGRect)arg2 error:(id *)arg3; -- (id)screenshotDataForQuality:(long long)arg1 rect:(struct CGRect)arg2 error:(id *)arg3; -- (id)screenshotDataForQuality:(long long)arg1 rect:(struct CGRect)arg2; -- (id)_modernScreenshotDataForQuality:(long long)arg1 rect:(struct CGRect)arg2 error:(id *)arg3; +@property(readonly) long long displayID; // @synthesize displayID=_displayID; +- (id)screenshotWithPreferredEncoding:(id)arg1 rect:(struct CGRect)arg2 error:(id *)arg3; +- (id)screenshotWithEncoding:(id)arg1; - (id)screenshot; -- (id)_imageFromData:(id)arg1; -- (double)scale; +@property(readonly) unsigned long long hash; +- (_Bool)isEqual:(id)arg1; +- (id)makeDiagnosticScreenshotAttachment; +@property(readonly) XCUIKnobControl *knobControl; // @synthesize knobControl=_knobControl; +@property(readonly) XCUIButtonConsole *buttonConsole; // @synthesize buttonConsole=_buttonConsole; +@property(readonly) double scale; @property(readonly, copy) NSString *description; -- (id)initWithDisplayID:(int)arg1 isMainScreen:(_Bool)arg2; +- (id)initWithDisplayID:(long long)arg1 isMainScreen:(_Bool)arg2 device:(id)arg3 screenDataSource:(id)arg4; // Remaining properties @property(readonly, copy) NSString *debugDescription; -@property(readonly) unsigned long long hash; @property(readonly) Class superclass; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCUIScreenDataSource-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIScreenDataSource-Protocol.h new file mode 100644 index 00000000..4e659cdf --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIScreenDataSource-Protocol.h @@ -0,0 +1,17 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class XCTImageEncoding; + +@protocol XCUIScreenDataSource +@property(readonly, nonatomic) _Bool supportsHEICImageEncoding; +- (void)requestScreenshotOfScreenWithID:(long long)arg1 withRect:(struct CGRect)arg2 encoding:(XCTImageEncoding *)arg3 withReply:(void (^)(XCTImage *, NSError *))arg4; +- (void)requestScaleForScreenWithIdentifier:(long long)arg1 completion:(void (^)(double, NSError *))arg2; +- (void)requestScreenIdentifiersWithCompletion:(void (^)(NSArray *, NSError *))arg1; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIScreenshot.h b/bp/src/PrivateHeaders/XCTest/XCUIScreenshot.h index a083899a..447f17be 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIScreenshot.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIScreenshot.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSData, UIImage, XCTImage; @@ -13,14 +13,12 @@ XCTImage *_internalImage; } -+ (long long)systemScreenshotQuality; -+ (void)setSystemScreenshotQuality:(long long)arg1; -+ (void)load; ++ (id)emptyScreenshot; +- (void).cxx_destruct; @property(retain) XCTImage *internalImage; // @synthesize internalImage=_internalImage; - (id)debugQuickLookObject; @property(readonly, copy) NSData *PNGRepresentation; @property(readonly, copy) UIImage *image; -- (void)dealloc; - (id)initWithImage:(id)arg1; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCUIScreenshotProviding-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIScreenshotProviding-Protocol.h index 0520b166..917f5421 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUIScreenshotProviding-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/XCUIScreenshotProviding-Protocol.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class XCUIScreenshot; diff --git a/bp/src/PrivateHeaders/XCTest/XCUISiriService.h b/bp/src/PrivateHeaders/XCTest/XCUISiriService.h index f88288c6..ff2884f6 100644 --- a/bp/src/PrivateHeaders/XCTest/XCUISiriService.h +++ b/bp/src/PrivateHeaders/XCTest/XCUISiriService.h @@ -1,28 +1,37 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import @class NSString, XCUIApplication; +@protocol XCUIDevice, XCUIRemoteSiriInterface; @interface XCUISiriService : NSObject { XCUIApplication *_siriApplication; + id _device; + id _remoteSiriInterface; } -+ (id)siriService; -@property(retain) XCUIApplication *siriApplication; // @synthesize siriApplication=_siriApplication; +- (void).cxx_destruct; +@property(readonly) id remoteSiriInterface; // @synthesize remoteSiriInterface=_remoteSiriInterface; +@property(readonly) id device; // @synthesize device=_device; +@property(readonly) XCUIApplication *siriApplication; // @synthesize siriApplication=_siriApplication; - (id)forwardingTargetForSelector:(SEL)arg1; +- (void)_waitForActivation; - (void)_assertSiriEnabled; +- (unsigned long long)_expectedStateForActivate; +- (id)_siriBundleIdentifier; +- (_Bool)_usesLegacySiriViewService; +@property(readonly, getter=isEnabled) _Bool enabled; - (void)injectVoiceRecognitionAudioInputPaths:(id)arg1; - (void)injectAssistantRecognitionStrings:(id)arg1; - (void)activateWithVoiceRecognitionText:(id)arg1; @property(readonly, copy) NSString *debugDescription; -- (void)dealloc; -- (id)init; +- (id)initWithDevice:(id)arg1 remoteSiriInterface:(id)arg2; @end diff --git a/bp/src/PrivateHeaders/XCTest/XCUISnapshotGenerationTracker.h b/bp/src/PrivateHeaders/XCTest/XCUISnapshotGenerationTracker.h new file mode 100644 index 00000000..95db2f46 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUISnapshotGenerationTracker.h @@ -0,0 +1,22 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +__attribute__((visibility("hidden"))) +@interface XCUISnapshotGenerationTracker : NSObject +{ + struct __CFRunLoopObserver *_generationObserver; + unsigned long long _generation; +} + ++ (unsigned long long)generation; ++ (id)sharedTracker; +- (id)_init; +- (void)dealloc; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUITestContext.h b/bp/src/PrivateHeaders/XCTest/XCUITestContext.h deleted file mode 100644 index 75746f57..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCUITestContext.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSArray, XCUITestContextScope; - -@interface XCUITestContext : NSObject -{ - _Bool _didHandleUIInterruption; - XCUITestContextScope *_currentScope; -} - -+ (CDUnknownBlockType)defaultAsynchronousUIElementHandler; -@property _Bool didHandleUIInterruption; // @synthesize didHandleUIInterruption=_didHandleUIInterruption; -@property(retain, nonatomic) XCUITestContextScope *currentScope; // @synthesize currentScope=_currentScope; -- (_Bool)handleAsynchronousUIElement:(id)arg1; -- (void)removeUIInterruptionMonitor:(id)arg1; -- (id)addUIInterruptionMonitorWithDescription:(id)arg1 handler:(CDUnknownBlockType)arg2; -- (void)performInScope:(CDUnknownBlockType)arg1; -@property(readonly, copy) NSArray *handlers; -- (id)init; -- (void)dealloc; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCUITestContextScope.h b/bp/src/PrivateHeaders/XCTest/XCUITestContextScope.h deleted file mode 100644 index 8bd81697..00000000 --- a/bp/src/PrivateHeaders/XCTest/XCUITestContextScope.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSMutableArray; - -@interface XCUITestContextScope : NSObject -{ - XCUITestContextScope *_parentScope; - NSMutableArray *_handlers; -} - -@property(retain) NSMutableArray *handlers; // @synthesize handlers=_handlers; -@property(readonly) XCUITestContextScope *parentScope; // @synthesize parentScope=_parentScope; -- (id)initWithParentScope:(id)arg1; -- (void)dealloc; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/XCUITransformParameters.h b/bp/src/PrivateHeaders/XCTest/XCUITransformParameters.h new file mode 100644 index 00000000..76fd068e --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUITransformParameters.h @@ -0,0 +1,24 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +__attribute__((visibility("hidden"))) +@interface XCUITransformParameters : NSObject +{ + unsigned long long _windowID; + unsigned long long _displayID; +} + ++ (id)transformParametersWithWindowID:(unsigned long long)arg1 displayID:(unsigned long long)arg2; +@property(readonly) unsigned long long displayID; // @synthesize displayID=_displayID; +@property(readonly) unsigned long long windowID; // @synthesize windowID=_windowID; +- (id)copyWithZone:(struct _NSZone *)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/XCUIXcodeApplicationManaging-Protocol.h b/bp/src/PrivateHeaders/XCTest/XCUIXcodeApplicationManaging-Protocol.h new file mode 100644 index 00000000..7ed2e63e --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/XCUIXcodeApplicationManaging-Protocol.h @@ -0,0 +1,13 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@protocol XCUIXcodeApplicationManaging +- (void)terminateProcessWithToken:(id)arg1 completion:(void (^)(_Bool, NSError *))arg2; +- (void)requestLaunchProgressForProcessWithToken:(id)arg1 completion:(void (^)(_Bool, float, NSError *))arg2; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/_Dummy_ConformingToLegacyProtocolNames.h b/bp/src/PrivateHeaders/XCTest/_Dummy_ConformingToLegacyProtocolNames.h new file mode 100644 index 00000000..6809005e --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/_Dummy_ConformingToLegacyProtocolNames.h @@ -0,0 +1,18 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import +#import + +__attribute__((visibility("hidden"))) +@interface _Dummy_ConformingToLegacyProtocolNames : NSObject +{ +} + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/_XCInternalTestRun.h b/bp/src/PrivateHeaders/XCTest/_XCInternalTestRun.h deleted file mode 100644 index d33e1561..00000000 --- a/bp/src/PrivateHeaders/XCTest/_XCInternalTestRun.h +++ /dev/null @@ -1,46 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSDate, XCTest; - -@interface _XCInternalTestRun : NSObject -{ - XCTest *_test; - double _startTimeInterval; - double _stopTimeInterval; - unsigned long long _executionCount; - unsigned long long _failureCount; - unsigned long long _unexpectedExceptionCount; - _Bool _hasStarted; - _Bool _hasStopped; - unsigned long long _executionCountBeforeCrash; - unsigned long long _failureCountBeforeCrash; - unsigned long long _unexpectedExceptionCountBeforeCrash; -} - -@property unsigned long long unexpectedExceptionCountBeforeCrash; // @synthesize unexpectedExceptionCountBeforeCrash=_unexpectedExceptionCountBeforeCrash; -@property unsigned long long failureCountBeforeCrash; // @synthesize failureCountBeforeCrash=_failureCountBeforeCrash; -@property unsigned long long executionCountBeforeCrash; // @synthesize executionCountBeforeCrash=_executionCountBeforeCrash; -@property(readonly) _Bool hasStopped; // @synthesize hasStopped=_hasStopped; -@property(readonly) XCTest *test; // @synthesize test=_test; -- (void)recordFailureWithDescription:(id)arg1 inFile:(id)arg2 atLine:(unsigned long long)arg3 expected:(_Bool)arg4; -@property(readonly) unsigned long long testCaseCount; -@property(readonly) unsigned long long unexpectedExceptionCount; -@property(readonly) unsigned long long failureCount; -@property(readonly) unsigned long long executionCount; -- (void)stop; -- (void)start; -@property(readonly, copy) NSDate *stopDate; -@property(readonly, copy) NSDate *startDate; -@property(readonly) double testDuration; -@property(readonly) double totalDuration; -- (id)initWithTest:(id)arg1; -- (void)dealloc; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/_XCKVOExpectationImplementation.h b/bp/src/PrivateHeaders/XCTest/_XCKVOExpectationImplementation.h deleted file mode 100644 index 025a544f..00000000 --- a/bp/src/PrivateHeaders/XCTest/_XCKVOExpectationImplementation.h +++ /dev/null @@ -1,34 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSObject, NSString, XCTKVOExpectation; - -@interface _XCKVOExpectationImplementation : NSObject -{ - XCTKVOExpectation *_expectation; - id _observedObject; - NSString *_keyPath; - id _expectedValue; - unsigned long long _options; - CDUnknownBlockType _handler; - NSObject *_queue; - _Bool _hasCleanedUp; -} - -@property(readonly) unsigned long long options; // @synthesize options=_options; -@property(readonly) id expectedValue; // @synthesize expectedValue=_expectedValue; -@property(readonly, copy) NSString *keyPath; // @synthesize keyPath=_keyPath; -@property(readonly) id observedObject; // @synthesize observedObject=_observedObject; -- (void)cleanup; -- (void)observeValueForKeyPath:(id)arg1 ofObject:(id)arg2 change:(id)arg3 context:(void *)arg4; -@property(copy) CDUnknownBlockType handler; -- (id)initWithKeyPath:(id)arg1 object:(id)arg2 expectedValue:(id)arg3 expectation:(id)arg4 options:(unsigned long long)arg5; -- (void)dealloc; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/_XCTAttachmentImplementation.h b/bp/src/PrivateHeaders/XCTest/_XCTAttachmentImplementation.h deleted file mode 100644 index aee2c964..00000000 --- a/bp/src/PrivateHeaders/XCTest/_XCTAttachmentImplementation.h +++ /dev/null @@ -1,36 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSData, NSDate, NSDictionary, NSString; - -@interface _XCTAttachmentImplementation : NSObject -{ - NSString *_uniformTypeIdentifier; - long long _lifetime; - NSString *_name; - NSDate *_timestamp; - NSDictionary *_userInfo; - NSData *_payload; - NSString *_fileNameOverride; - CDUnknownBlockType _serializationBlock; - _Bool _hasPayload; -} - -@property _Bool hasPayload; // @synthesize hasPayload=_hasPayload; -@property(copy) CDUnknownBlockType serializationBlock; // @synthesize serializationBlock=_serializationBlock; -@property(copy) NSString *fileNameOverride; // @synthesize fileNameOverride=_fileNameOverride; -@property(copy) NSData *payload; // @synthesize payload=_payload; -@property(copy) NSDictionary *userInfo; // @synthesize userInfo=_userInfo; -@property(copy) NSDate *timestamp; // @synthesize timestamp=_timestamp; -@property(copy) NSString *name; // @synthesize name=_name; -@property long long lifetime; // @synthesize lifetime=_lifetime; -@property(copy) NSString *uniformTypeIdentifier; // @synthesize uniformTypeIdentifier=_uniformTypeIdentifier; -- (void)dealloc; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/_XCTContextImplementation.h b/bp/src/PrivateHeaders/XCTest/_XCTContextImplementation.h deleted file mode 100644 index bee1f8eb..00000000 --- a/bp/src/PrivateHeaders/XCTest/_XCTContextImplementation.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class XCTActivityRecordStack, XCTestCase; - -@interface _XCTContextImplementation : NSObject -{ - XCTActivityRecordStack *_activityRecordStack; - XCTestCase *_testCase; -} - -@property __weak XCTestCase *testCase; // @synthesize testCase=_testCase; -@property(readonly) XCTActivityRecordStack *activityRecordStack; // @synthesize activityRecordStack=_activityRecordStack; -- (void)dealloc; -- (id)init; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/_XCTDarwinNotificationExpectationImplementation.h b/bp/src/PrivateHeaders/XCTest/_XCTDarwinNotificationExpectationImplementation.h deleted file mode 100644 index 5bcb1325..00000000 --- a/bp/src/PrivateHeaders/XCTest/_XCTDarwinNotificationExpectationImplementation.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSObject, NSString, XCTDarwinNotificationExpectation; - -@interface _XCTDarwinNotificationExpectationImplementation : NSObject -{ - XCTDarwinNotificationExpectation *_expectation; - NSString *_notificationName; - int _notifyToken; - CDUnknownBlockType _handler; - NSObject *_queue; - _Bool _hasCleanedUp; -} - -@property(readonly, copy) NSString *notificationName; // @synthesize notificationName=_notificationName; -- (void)cleanup; -- (void)_handleNotification; -@property(copy) CDUnknownBlockType handler; -- (id)initWithNotificationName:(id)arg1 expectation:(id)arg2; -- (void)dealloc; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/_XCTImageImplementation.h b/bp/src/PrivateHeaders/XCTest/_XCTImageImplementation.h deleted file mode 100644 index c3cf29a3..00000000 --- a/bp/src/PrivateHeaders/XCTest/_XCTImageImplementation.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSData, NSString, UIImage; - -@interface _XCTImageImplementation : NSObject -{ - UIImage *_platformImage; - NSData *_originalData; - NSString *_name; - double _scale; -} - -@property double scale; // @synthesize scale=_scale; -@property(copy) NSString *name; // @synthesize name=_name; -@property(copy) NSData *originalData; // @synthesize originalData=_originalData; -@property(copy) UIImage *platformImage; // @synthesize platformImage=_platformImage; -- (void)dealloc; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/_XCTMessaging_VoidProtocol-Protocol.h b/bp/src/PrivateHeaders/XCTest/_XCTMessaging_VoidProtocol-Protocol.h new file mode 100644 index 00000000..1d0c8f78 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/_XCTMessaging_VoidProtocol-Protocol.h @@ -0,0 +1,9 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +@protocol _XCTMessaging_VoidProtocol +@end + diff --git a/bp/src/PrivateHeaders/XCTest/_XCTNSNotificationExpectationImplementation.h b/bp/src/PrivateHeaders/XCTest/_XCTNSNotificationExpectationImplementation.h deleted file mode 100644 index 626f0f29..00000000 --- a/bp/src/PrivateHeaders/XCTest/_XCTNSNotificationExpectationImplementation.h +++ /dev/null @@ -1,32 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSNotificationCenter, NSObject, NSString, XCTNSNotificationExpectation; - -@interface _XCTNSNotificationExpectationImplementation : NSObject -{ - XCTNSNotificationExpectation *_expectation; - id _observedObject; - NSString *_notificationName; - NSNotificationCenter *_notificationCenter; - CDUnknownBlockType _handler; - NSObject *_queue; - _Bool _hasCleanedUp; -} - -@property(readonly) NSNotificationCenter *notificationCenter; // @synthesize notificationCenter=_notificationCenter; -@property(readonly, copy) NSString *notificationName; // @synthesize notificationName=_notificationName; -@property(readonly) id observedObject; // @synthesize observedObject=_observedObject; -- (void)cleanup; -- (void)_observeExpectedNotification:(id)arg1; -@property(copy) CDUnknownBlockType handler; -- (id)initWithName:(id)arg1 object:(id)arg2 notificationCenter:(id)arg3 expectation:(id)arg4; -- (void)dealloc; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/_XCTNSPredicateExpectationImplementation.h b/bp/src/PrivateHeaders/XCTest/_XCTNSPredicateExpectationImplementation.h deleted file mode 100644 index b6d98484..00000000 --- a/bp/src/PrivateHeaders/XCTest/_XCTNSPredicateExpectationImplementation.h +++ /dev/null @@ -1,40 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSObject, NSPredicate, NSRunLoop, NSString, NSTimer, XCTNSPredicateExpectation; - -@interface _XCTNSPredicateExpectationImplementation : NSObject -{ - XCTNSPredicateExpectation *_expectation; - id _object; - NSPredicate *_predicate; - CDUnknownBlockType _handler; - NSRunLoop *_timerRunLoop; - NSTimer *_timer; - double _pollingInterval; - NSString *_debugDescription; - NSObject *_queue; - _Bool _hasCleanedUp; - _Bool _isEvaluating; -} - -@property double pollingInterval; // @synthesize pollingInterval=_pollingInterval; -@property(copy) NSString *debugDescription; // @synthesize debugDescription=_debugDescription; -@property(readonly, copy) NSPredicate *predicate; // @synthesize predicate=_predicate; -@property(readonly) id object; // @synthesize object=_object; -- (void)cleanup; -- (_Bool)_shouldFulfillForExpectation:(id)arg1 object:(id)arg2 handler:(CDUnknownBlockType)arg3; -- (void)_considerFulfilling; -@property(copy) CDUnknownBlockType handler; -- (void)_scheduleTimer; -- (void)startPolling; -- (id)initWithPredicate:(id)arg1 object:(id)arg2 expectation:(id)arg3; -- (void)dealloc; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/_XCTRunnerDaemonSessionDummyExportedObject.h b/bp/src/PrivateHeaders/XCTest/_XCTRunnerDaemonSessionDummyExportedObject.h new file mode 100644 index 00000000..8ad2ed09 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/_XCTRunnerDaemonSessionDummyExportedObject.h @@ -0,0 +1,21 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +#import + +__attribute__((visibility("hidden"))) +@interface _XCTRunnerDaemonSessionDummyExportedObject : NSObject +{ +} + +- (void)_XCT_receivedAccessibilityNotification:(int)arg1 fromElement:(id)arg2 payload:(id)arg3; +- (void)_XCT_receivedAccessibilityNotification:(int)arg1 withPayload:(id)arg2; +- (void)_XCT_applicationWithBundleID:(id)arg1 didUpdatePID:(int)arg2 andState:(unsigned long long)arg3; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/_XCTSkipFailureException.h b/bp/src/PrivateHeaders/XCTest/_XCTSkipFailureException.h new file mode 100644 index 00000000..34a962ee --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/_XCTSkipFailureException.h @@ -0,0 +1,16 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@interface _XCTSkipFailureException : NSException +{ +} + ++ (void)raiseWithContext:(id)arg1; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifierPlaceholder.h b/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifierPlaceholder.h new file mode 100644 index 00000000..2b90be65 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifierPlaceholder.h @@ -0,0 +1,17 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +__attribute__((visibility("hidden"))) +@interface _XCTTestIdentifierPlaceholder : XCTTestIdentifier +{ +} + +- (id)initWithComponents:(id)arg1 options:(unsigned long long)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifierSet_Placeholder.h b/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifierSet_Placeholder.h new file mode 100644 index 00000000..1e21ba89 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifierSet_Placeholder.h @@ -0,0 +1,17 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +__attribute__((visibility("hidden"))) +@interface _XCTTestIdentifierSet_Placeholder : XCTTestIdentifierSet +{ +} + +- (id)initWithTestIdentifiers:(const id *)arg1 count:(unsigned long long)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifierSet_Set.h b/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifierSet_Set.h new file mode 100644 index 00000000..c8ad24f1 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifierSet_Set.h @@ -0,0 +1,25 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSSet; + +__attribute__((visibility("hidden"))) +@interface _XCTTestIdentifierSet_Set : XCTTestIdentifierSet +{ + NSSet *_testIdentifiers; +} + +- (void).cxx_destruct; +- (unsigned long long)countByEnumeratingWithState:(CDStruct_70511ce9 *)arg1 objects:(id *)arg2 count:(unsigned long long)arg3; +- (_Bool)containsTestIdentifier:(id)arg1; +- (id)anyTestIdentifier; +- (unsigned long long)count; +- (id)initWithTestIdentifiers:(const id *)arg1 count:(unsigned long long)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifier_Array.h b/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifier_Array.h new file mode 100644 index 00000000..5dc0a035 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifier_Array.h @@ -0,0 +1,26 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray; + +__attribute__((visibility("hidden"))) +@interface _XCTTestIdentifier_Array : XCTTestIdentifier +{ + NSArray *_components; + unsigned long long _options; +} + +- (void).cxx_destruct; +- (unsigned long long)options; +- (id)components; +- (id)componentAtIndex:(unsigned long long)arg1; +- (unsigned long long)componentCount; +- (id)initWithComponents:(id)arg1 options:(unsigned long long)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifier_Class.h b/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifier_Class.h new file mode 100644 index 00000000..58233b8e --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifier_Class.h @@ -0,0 +1,28 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSString; + +__attribute__((visibility("hidden"))) +@interface _XCTTestIdentifier_Class : XCTTestIdentifier +{ + NSString *_firstComponent; +} + +- (void).cxx_destruct; +- (id)componentAtIndex:(unsigned long long)arg1; +- (id)lastComponent; +- (id)firstComponent; +- (id)_identifierString; +- (unsigned long long)options; +- (unsigned long long)componentCount; +- (id)components; +- (id)initWithComponents:(id)arg1 options:(unsigned long long)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifier_Double.h b/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifier_Double.h new file mode 100644 index 00000000..73184b19 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifier_Double.h @@ -0,0 +1,31 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSString; + +__attribute__((visibility("hidden"))) +@interface _XCTTestIdentifier_Double : XCTTestIdentifier +{ + NSString *_firstComponent; + NSString *_lastComponent; + unsigned long long _options; +} + +- (void).cxx_destruct; +- (unsigned long long)options; +- (id)swiftMethodCounterpart; +- (id)componentAtIndex:(unsigned long long)arg1; +- (id)lastComponent; +- (id)firstComponent; +- (id)_identifierString; +- (unsigned long long)componentCount; +- (id)components; +- (id)initWithComponents:(id)arg1 options:(unsigned long long)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifier_SingleContainer.h b/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifier_SingleContainer.h new file mode 100644 index 00000000..6ba79717 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/_XCTTestIdentifier_SingleContainer.h @@ -0,0 +1,28 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSString; + +__attribute__((visibility("hidden"))) +@interface _XCTTestIdentifier_SingleContainer : XCTTestIdentifier +{ + NSString *_firstComponent; +} + +- (void).cxx_destruct; +- (id)componentAtIndex:(unsigned long long)arg1; +- (id)lastComponent; +- (id)firstComponent; +- (id)_identifierString; +- (unsigned long long)options; +- (unsigned long long)componentCount; +- (id)components; +- (id)initWithComponents:(id)arg1 options:(unsigned long long)arg2; + +@end + diff --git a/bp/src/PrivateHeaders/XCTest/_XCTWaiterImpl.h b/bp/src/PrivateHeaders/XCTest/_XCTWaiterImpl.h deleted file mode 100644 index 1de2942b..00000000 --- a/bp/src/PrivateHeaders/XCTest/_XCTWaiterImpl.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSArray, NSMutableArray, NSObject, XCTWaiterManager; - -@interface _XCTWaiterImpl : NSObject -{ - id _delegate; - XCTWaiterManager *_manager; - NSArray *_waitCallStackReturnAddresses; - NSObject *_queue; - NSObject *_delegateQueue; - NSArray *_expectations; - NSMutableArray *_fulfilledExpectations; - struct __CFRunLoop *_waitingRunLoop; - long long _state; - double _timeout; - long long _result; - _Bool _enforceOrderOfFulfillment; -} - -@property _Bool enforceOrderOfFulfillment; // @synthesize enforceOrderOfFulfillment=_enforceOrderOfFulfillment; -@property long long result; // @synthesize result=_result; -@property long long state; // @synthesize state=_state; -@property(readonly, nonatomic) NSMutableArray *fulfilledExpectations; // @synthesize fulfilledExpectations=_fulfilledExpectations; -@property(copy, nonatomic) NSArray *expectations; // @synthesize expectations=_expectations; -@property(readonly, nonatomic) NSObject *delegateQueue; // @synthesize delegateQueue=_delegateQueue; -@property(readonly, nonatomic) NSObject *queue; // @synthesize queue=_queue; -@property XCTWaiterManager *manager; // @synthesize manager=_manager; -@property id delegate; // @synthesize delegate=_delegate; -@property double timeout; // @synthesize timeout=_timeout; -@property struct __CFRunLoop *waitingRunLoop; // @synthesize waitingRunLoop=_waitingRunLoop; -@property(copy) NSArray *waitCallStackReturnAddresses; // @synthesize waitCallStackReturnAddresses=_waitCallStackReturnAddresses; -- (void)dealloc; -- (id)init; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/_XCTestCaseImplementation.h b/bp/src/PrivateHeaders/XCTest/_XCTestCaseImplementation.h deleted file mode 100644 index 13e4443b..00000000 --- a/bp/src/PrivateHeaders/XCTest/_XCTestCaseImplementation.h +++ /dev/null @@ -1,81 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSArray, NSDictionary, NSInvocation, NSMutableArray, NSMutableDictionary, NSMutableSet, NSString, NSThread, XCTAttachmentManager, XCTWaiter, XCTestCaseRun, XCUITestContext; - -@interface _XCTestCaseImplementation : NSObject -{ - NSInvocation *_invocation; - NSThread *_primaryThread; - XCTestCaseRun *_testCaseRun; - _Bool _continueAfterFailure; - NSMutableSet *_expectations; - NSArray *_activePerformanceMetricIDs; - NSMutableDictionary *_perfMetricsForID; - unsigned long long _startWallClockTime; - struct time_value _startUserTime; - struct time_value _startSystemTime; - unsigned long long _measuringIteration; - _Bool _isMeasuringMetrics; - _Bool _didMeasureMetrics; - _Bool _didStartMeasuring; - _Bool _didStopMeasuring; - NSString *_filePathForUnexpectedFailure; - unsigned long long _lineNumberForUnexpectedFailure; - NSString *_filePathForNestedFailure; - unsigned long long _lineNumberForNestedFailure; - long long _runLoopNestingCount; - XCTWaiter *_currentWaiter; - NSMutableArray *_failureRecords; - _Bool _shouldHaltWhenReceivesControl; - _Bool _shouldIgnoreSubsequentFailures; - NSMutableArray *_teardownBlocks; - _Bool _hasDequeuedTeardownBlocks; - _Bool _hasAttemptedToCaptureScreenshotOnFailure; - XCTAttachmentManager *_attachmentManager; - NSDictionary *_activityAggregateStatistics; - XCUITestContext *_testContext; -} - -@property(readonly) XCUITestContext *testContext; // @synthesize testContext=_testContext; -@property(copy) NSDictionary *activityAggregateStatistics; // @synthesize activityAggregateStatistics=_activityAggregateStatistics; -@property(retain) XCTAttachmentManager *attachmentManager; // @synthesize attachmentManager=_attachmentManager; -@property _Bool hasAttemptedToCaptureScreenshotOnFailure; // @synthesize hasAttemptedToCaptureScreenshotOnFailure=_hasAttemptedToCaptureScreenshotOnFailure; -@property _Bool hasDequeuedTeardownBlocks; // @synthesize hasDequeuedTeardownBlocks=_hasDequeuedTeardownBlocks; -@property(readonly) NSMutableArray *teardownBlocks; // @synthesize teardownBlocks=_teardownBlocks; -@property(retain, nonatomic) XCTWaiter *currentWaiter; // @synthesize currentWaiter=_currentWaiter; -@property _Bool shouldIgnoreSubsequentFailures; // @synthesize shouldIgnoreSubsequentFailures=_shouldIgnoreSubsequentFailures; -@property _Bool shouldHaltWhenReceivesControl; // @synthesize shouldHaltWhenReceivesControl=_shouldHaltWhenReceivesControl; -@property(retain, nonatomic) NSMutableArray *failureRecords; // @synthesize failureRecords=_failureRecords; -@property long long runLoopNestingCount; // @synthesize runLoopNestingCount=_runLoopNestingCount; -@property unsigned long long lineNumberForNestedFailure; // @synthesize lineNumberForNestedFailure=_lineNumberForNestedFailure; -@property(copy) NSString *filePathForNestedFailure; // @synthesize filePathForNestedFailure=_filePathForNestedFailure; -@property unsigned long long lineNumberForUnexpectedFailure; // @synthesize lineNumberForUnexpectedFailure=_lineNumberForUnexpectedFailure; -@property(copy) NSString *filePathForUnexpectedFailure; // @synthesize filePathForUnexpectedFailure=_filePathForUnexpectedFailure; -@property(retain, nonatomic) NSMutableSet *expectations; // @synthesize expectations=_expectations; -@property _Bool didStopMeasuring; // @synthesize didStopMeasuring=_didStopMeasuring; -@property _Bool didStartMeasuring; // @synthesize didStartMeasuring=_didStartMeasuring; -@property _Bool didMeasureMetrics; // @synthesize didMeasureMetrics=_didMeasureMetrics; -@property _Bool isMeasuringMetrics; // @synthesize isMeasuringMetrics=_isMeasuringMetrics; -@property unsigned long long measuringIteration; // @synthesize measuringIteration=_measuringIteration; -@property struct time_value startUserTime; // @synthesize startUserTime=_startUserTime; -@property struct time_value startSystemTime; // @synthesize startSystemTime=_startSystemTime; -@property unsigned long long startWallClockTime; // @synthesize startWallClockTime=_startWallClockTime; -@property(retain) NSMutableDictionary *perfMetricsForID; // @synthesize perfMetricsForID=_perfMetricsForID; -@property(copy) NSArray *activePerformanceMetricIDs; // @synthesize activePerformanceMetricIDs=_activePerformanceMetricIDs; -@property _Bool continueAfterFailure; // @synthesize continueAfterFailure=_continueAfterFailure; -@property(retain) XCTestCaseRun *testCaseRun; // @synthesize testCaseRun=_testCaseRun; -@property(retain) NSThread *primaryThread; // @synthesize primaryThread=_primaryThread; -@property(retain) NSInvocation *invocation; // @synthesize invocation=_invocation; -- (void)resetExpectations; -- (void)addExpectation:(id)arg1; -- (id)init; -- (void)dealloc; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/_XCTestCaseInterruptionException.h b/bp/src/PrivateHeaders/XCTest/_XCTestCaseInterruptionException.h index 82f760ba..f5b626d6 100644 --- a/bp/src/PrivateHeaders/XCTest/_XCTestCaseInterruptionException.h +++ b/bp/src/PrivateHeaders/XCTest/_XCTestCaseInterruptionException.h @@ -1,10 +1,10 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSException.h" +#import @interface _XCTestCaseInterruptionException : NSException { diff --git a/bp/src/PrivateHeaders/XCTest/_XCTestExpectationImplementation.h b/bp/src/PrivateHeaders/XCTest/_XCTestExpectationImplementation.h deleted file mode 100644 index cee2cc40..00000000 --- a/bp/src/PrivateHeaders/XCTest/_XCTestExpectationImplementation.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSArray, NSObject, NSString; - -@interface _XCTestExpectationImplementation : NSObject -{ - _Bool _fulfilled; - NSString *_expectationDescription; - id _delegate; - _Bool _hasBeenWaitedOn; - unsigned long long _expectedFulfillmentCount; - unsigned long long _numberOfFulfillments; - unsigned long long _creationToken; - unsigned long long _fulfillmentToken; - NSArray *_creationCallStackReturnAddresses; - NSArray *_fulfillCallStackReturnAddresses; - _Bool _inverted; - _Bool _assertForOverFulfill; - NSObject *_queue; - NSObject *_delegateQueue; -} - -@property(readonly, nonatomic) NSObject *delegateQueue; // @synthesize delegateQueue=_delegateQueue; -@property(readonly, nonatomic) NSObject *queue; // @synthesize queue=_queue; -@property(nonatomic) unsigned long long numberOfFulfillments; // @synthesize numberOfFulfillments=_numberOfFulfillments; -@property(nonatomic) unsigned long long expectedFulfillmentCount; // @synthesize expectedFulfillmentCount=_expectedFulfillmentCount; -@property(copy) NSArray *fulfillCallStackReturnAddresses; // @synthesize fulfillCallStackReturnAddresses=_fulfillCallStackReturnAddresses; -@property(copy) NSArray *creationCallStackReturnAddresses; // @synthesize creationCallStackReturnAddresses=_creationCallStackReturnAddresses; -@property unsigned long long fulfillmentToken; // @synthesize fulfillmentToken=_fulfillmentToken; -@property unsigned long long creationToken; // @synthesize creationToken=_creationToken; -@property _Bool assertForOverFulfill; // @synthesize assertForOverFulfill=_assertForOverFulfill; -@property _Bool inverted; // @synthesize inverted=_inverted; -@property _Bool hasBeenWaitedOn; // @synthesize hasBeenWaitedOn=_hasBeenWaitedOn; -@property(retain) id delegate; // @synthesize delegate=_delegate; -@property(copy) NSString *expectationDescription; // @synthesize expectationDescription=_expectationDescription; -@property _Bool fulfilled; // @synthesize fulfilled=_fulfilled; -- (void)dealloc; -- (id)init; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/_XCTestImplementation.h b/bp/src/PrivateHeaders/XCTest/_XCTestImplementation.h deleted file mode 100644 index e7cdc51b..00000000 --- a/bp/src/PrivateHeaders/XCTest/_XCTestImplementation.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class XCTestRun; - -@interface _XCTestImplementation : NSObject -{ - XCTestRun *_testRun; -} - -@property(retain) XCTestRun *testRun; // @synthesize testRun=_testRun; -- (void)dealloc; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/_XCTestObservationCenterImplementation.h b/bp/src/PrivateHeaders/XCTest/_XCTestObservationCenterImplementation.h deleted file mode 100644 index aae6ba34..00000000 --- a/bp/src/PrivateHeaders/XCTest/_XCTestObservationCenterImplementation.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import "NSObject.h" - -@class NSMutableArray; - -@interface _XCTestObservationCenterImplementation : NSObject -{ - NSMutableArray *_observers; - _Bool _suspended; -} - -@property _Bool suspended; // @synthesize suspended=_suspended; -@property(retain) NSMutableArray *observers; // @synthesize observers=_observers; -- (void)dealloc; -- (id)init; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/_XCTestObservationInternal-Protocol.h b/bp/src/PrivateHeaders/XCTest/_XCTestObservationInternal-Protocol.h new file mode 100644 index 00000000..11bf0e20 --- /dev/null +++ b/bp/src/PrivateHeaders/XCTest/_XCTestObservationInternal-Protocol.h @@ -0,0 +1,17 @@ +// +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). +// +// Copyright (C) 1997-2019 Steve Nygard. +// + +#import + +@class NSArray, NSNumber, NSString, XCTSourceCodeContext, XCTestCase, XCTestRun; + +@protocol _XCTestObservationInternal <_XCTestObservationPrivate> + +@optional +- (void)_testCase:(XCTestRun *)arg1 didMeasureValues:(NSArray *)arg2 forPerformanceMetricID:(NSString *)arg3 name:(NSString *)arg4 unitsOfMeasurement:(NSString *)arg5 baselineName:(NSString *)arg6 baselineAverage:(NSNumber *)arg7 maxPercentRegression:(NSNumber *)arg8 maxPercentRelativeStandardDeviation:(NSNumber *)arg9 maxRegression:(NSNumber *)arg10 maxStandardDeviation:(NSNumber *)arg11 file:(NSString *)arg12 line:(unsigned long long)arg13 polarity:(long long)arg14; +- (void)testCase:(XCTestCase *)arg1 wasSkippedWithDescription:(NSString *)arg2 sourceCodeContext:(XCTSourceCodeContext *)arg3; +@end + diff --git a/bp/src/PrivateHeaders/XCTest/_XCTestObservationPrivate-Protocol.h b/bp/src/PrivateHeaders/XCTest/_XCTestObservationPrivate-Protocol.h index 7917eeb7..72db964c 100644 --- a/bp/src/PrivateHeaders/XCTest/_XCTestObservationPrivate-Protocol.h +++ b/bp/src/PrivateHeaders/XCTest/_XCTestObservationPrivate-Protocol.h @@ -1,18 +1,17 @@ // -// Generated by class-dump 3.5 (64 bit). +// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. +// Copyright (C) 1997-2019 Steve Nygard. // -#import "NSObject.h" +#import -@class NSArray, NSNumber, NSString, XCActivityRecord, XCTestCase, XCTestRun; +@class XCActivityRecord, XCTContext; -@protocol _XCTestObservationPrivate +@protocol _XCTestObservationPrivate @optional -- (void)_testCase:(XCTestCase *)arg1 didFinishActivity:(XCActivityRecord *)arg2; -- (void)_testCase:(XCTestCase *)arg1 willStartActivity:(XCActivityRecord *)arg2; -- (void)_testCase:(XCTestRun *)arg1 didMeasureValues:(NSArray *)arg2 forPerformanceMetricID:(NSString *)arg3 name:(NSString *)arg4 unitsOfMeasurement:(NSString *)arg5 baselineName:(NSString *)arg6 baselineAverage:(NSNumber *)arg7 maxPercentRegression:(NSNumber *)arg8 maxPercentRelativeStandardDeviation:(NSNumber *)arg9 maxRegression:(NSNumber *)arg10 maxStandardDeviation:(NSNumber *)arg11 file:(NSString *)arg12 line:(unsigned long long)arg13; +- (void)_context:(XCTContext *)arg1 didFinishActivity:(XCActivityRecord *)arg2; +- (void)_context:(XCTContext *)arg1 willStartActivity:(XCActivityRecord *)arg2; @end diff --git a/bp/src/PrivateHeaders/XCTest/_XCTestSuiteImplementation.h b/bp/src/PrivateHeaders/XCTest/_XCTestSuiteImplementation.h deleted file mode 100644 index 530af43c..00000000 --- a/bp/src/PrivateHeaders/XCTest/_XCTestSuiteImplementation.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -#import - -@class NSMutableArray, NSMutableDictionary, NSString, XCTestConfiguration; - -@interface _XCTestSuiteImplementation : XCTest -{ - NSString *_name; - NSMutableArray *_tests; - XCTestConfiguration *_testConfiguration; - NSMutableDictionary *_activityAggregateStatistics; -} - -@property(readonly) NSMutableDictionary *activityAggregateStatistics; // @synthesize activityAggregateStatistics=_activityAggregateStatistics; -@property(retain) XCTestConfiguration *testConfiguration; // @synthesize testConfiguration=_testConfiguration; -@property(retain) NSMutableArray *tests; // @synthesize tests=_tests; -@property(copy) NSString *name; // @synthesize name=_name; -- (void)dealloc; -- (id)initWithName:(id)arg1; - -@end - diff --git a/bp/src/PrivateHeaders/XCTest/__ARCLiteKeyedSubscripting__-Protocol.h b/bp/src/PrivateHeaders/XCTest/__ARCLiteKeyedSubscripting__-Protocol.h deleted file mode 100644 index 48967645..00000000 --- a/bp/src/PrivateHeaders/XCTest/__ARCLiteKeyedSubscripting__-Protocol.h +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated by class-dump 3.5 (64 bit). -// -// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. -// - -@protocol __ARCLiteKeyedSubscripting__ -- (void)setObject:(id)arg1 forKeyedSubscript:(id)arg2; -- (id)objectForKeyedSubscript:(id)arg1; -@end - diff --git a/bp/src/SimulatorHelper.m b/bp/src/SimulatorHelper.m index cb8f361a..d4d5cf25 100644 --- a/bp/src/SimulatorHelper.m +++ b/bp/src/SimulatorHelper.m @@ -12,6 +12,8 @@ #import "BPUtils.h" #import "BPXCTestFile.h" #import "PrivateHeaders/XCTest/XCTestConfiguration.h" +#import "PrivateHeaders/XCTest/XCTTestIdentifier.h" +#import "PrivateHeaders/XCTest/XCTTestIdentifierSet.h" @implementation SimulatorHelper @@ -71,21 +73,20 @@ + (NSDictionary *)appLaunchEnvironmentWithBundleID:(NSString *)hostBundleID [BPUtils printInfo:DEBUGINFO withString:@"Not injecting libXCTestBundleInject dylib because it was not found in the app host bundle at path: %@", libXCTestBundleInjectValue]; libXCTestBundleInjectValue = @""; } - NSMutableDictionary *environment = [@{ - @"DYLD_FALLBACK_FRAMEWORK_PATH" : [NSString stringWithFormat:@"%@/Library/Frameworks:%@/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks", config.xcodePath, config.xcodePath], - @"DYLD_FALLBACK_LIBRARY_PATH" : [NSString stringWithFormat:@"%@/Platforms/iPhoneSimulator.platform/Developer/usr/lib", config.xcodePath], - @"DYLD_INSERT_LIBRARIES" : libXCTestBundleInjectValue, - @"DYLD_LIBRARY_PATH" : [NSString stringWithFormat:@"%@/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks", config.xcodePath], - @"DYLD_ROOT_PATH" : [NSString stringWithFormat:@"%@/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot", config.xcodePath], - @"NSUnbufferedIO" : @"1", - @"OS_ACTIVITY_DT_MODE" : @"1", - @"XCODE_DBG_XPC_EXCLUSIONS" : @"com.apple.dt.xctestSymbolicator", - @"XPC_FLAGS" : @"0x0", - @"XCTestConfigurationFilePath" : [SimulatorHelper testEnvironmentWithConfiguration:config], - @"__XCODE_BUILT_PRODUCTS_DIR_PATHS" : testSimulatorFrameworkPath, - @"__XPC_DYLD_FRAMEWORK_PATH" : testSimulatorFrameworkPath, - @"__XPC_DYLD_LIBRARY_PATH" : testSimulatorFrameworkPath, - } mutableCopy]; + NSMutableDictionary *environment = [[NSMutableDictionary alloc] init]; + environment[@"DYLD_FALLBACK_FRAMEWORK_PATH"] = [NSString stringWithFormat:@"%@/Library/Frameworks:%@/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks", config.xcodePath, config.xcodePath]; + environment[@"DYLD_FALLBACK_LIBRARY_PATH"] = [NSString stringWithFormat:@"%@/Platforms/iPhoneSimulator.platform/Developer/usr/lib", config.xcodePath]; + environment[@"DYLD_INSERT_LIBRARIES"] = libXCTestBundleInjectValue; + environment[@"DYLD_LIBRARY_PATH"] = [NSString stringWithFormat:@"%@/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks", config.xcodePath]; + environment[@"DYLD_ROOT_PATH"] = [NSString stringWithFormat:@"%@/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot", config.xcodePath]; + environment[@"NSUnbufferedIO"] = @"1"; + environment[@"OS_ACTIVITY_DT_MODE"] = @"1"; + environment[@"XCODE_DBG_XPC_EXCLUSIONS"] = @"com.apple.dt.xctestSymbolicator"; + environment[@"XPC_FLAGS"] = @"0x0"; + environment[@"XCTestConfigurationFilePath"] = [SimulatorHelper testEnvironmentWithConfiguration:config]; + environment[@"__XCODE_BUILT_PRODUCTS_DIR_PATHS"] = testSimulatorFrameworkPath; + environment[@"__XPC_DYLD_FRAMEWORK_PATH"] = testSimulatorFrameworkPath; + environment[@"__XPC_DYLD_LIBRARY_PATH"] = testSimulatorFrameworkPath; if (config.outputDirectory) { NSString *coveragePath = [config.outputDirectory stringByAppendingPathComponent:@"%p.profraw"]; @@ -125,20 +126,19 @@ + (NSString *)testEnvironmentWithConfiguration:(BPConfiguration *)config { } if (config.testCasesToSkip) { - [xctConfig setTestsToSkip:[NSSet setWithArray:config.testCasesToSkip]]; + NSMutableArray *xctTests = [[NSMutableArray alloc] init]; + for (NSString *test in config.testCasesToSkip) { + [xctTests addObject:[[XCTTestIdentifier alloc] initWithStringRepresentation:test]]; + } + [xctConfig setTestsToSkip:[[XCTTestIdentifierSet alloc] initWithArray:xctTests]]; } if (config.testCasesToRun) { - // According to @khu, we can't just pass the right setTestsToRun and have it work, so what we do instead - // is get the full list of tests from the XCTest bundle, then skip everything we don't want to run. - - NSMutableSet *testsToSkip = [[NSMutableSet alloc] initWithArray:config.allTestCases]; - NSSet *testsToRun = [[NSSet alloc] initWithArray:config.testCasesToRun]; - [testsToSkip minusSet:testsToRun]; - if (xctConfig.testsToSkip) { - [testsToSkip unionSet:xctConfig.testsToSkip]; + NSMutableArray *xctTests = [[NSMutableArray alloc] init]; + for (NSString *test in config.testCasesToRun) { + [xctTests addObject:[[XCTTestIdentifier alloc] initWithStringRepresentation:test]]; } - [xctConfig setTestsToSkip:testsToSkip]; + [xctConfig setTestsToRun:[[XCTTestIdentifierSet alloc] initWithSet:xctTests]]; } NSString *XCTestConfigurationFilename = [NSString stringWithFormat:@"%@/%@-%@", diff --git a/bp/tests/BPCLITests.m b/bp/tests/BPCLITests.m index 26c4715f..8ef51a7b 100644 --- a/bp/tests/BPCLITests.m +++ b/bp/tests/BPCLITests.m @@ -8,6 +8,9 @@ // WITHOUT WARRANTIES OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. #import +#import +#import + #import "BPConfiguration.h" #import "BPUtils.h" #import "BPTestHelper.h" diff --git a/bp/tests/BPConfigurationTests.m b/bp/tests/BPConfigurationTests.m index 3dd3d82a..e11daddd 100644 --- a/bp/tests/BPConfigurationTests.m +++ b/bp/tests/BPConfigurationTests.m @@ -8,6 +8,9 @@ // WITHOUT WARRANTIES OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. #import +#import +#import + #import "BPConfiguration+Test.h" #import "BPUtils.h" #import "BPTestHelper.h" diff --git a/bp/tests/BPIntTestCase.h b/bp/tests/BPIntTestCase.h index e93ac491..fca045e1 100644 --- a/bp/tests/BPIntTestCase.h +++ b/bp/tests/BPIntTestCase.h @@ -9,6 +9,7 @@ #import #import +#import @class BPConfiguration; diff --git a/bp/tests/BPIntTestCase.m b/bp/tests/BPIntTestCase.m index f96bc0cb..a800a44f 100644 --- a/bp/tests/BPIntTestCase.m +++ b/bp/tests/BPIntTestCase.m @@ -7,6 +7,9 @@ // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. +#import +#import + #import "BPIntTestCase.h" #import "BPConfiguration.h" #import "BPTestHelper.h" diff --git a/bp/tests/BPRegexTests.m b/bp/tests/BPRegexTests.m index 0a164b2f..ae54295e 100644 --- a/bp/tests/BPRegexTests.m +++ b/bp/tests/BPRegexTests.m @@ -8,6 +8,8 @@ // WITHOUT WARRANTIES OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. #import +#import +#import #import "BPTreeParser.h" #import "BPUtils.h" diff --git a/bp/tests/BPReportTests.m b/bp/tests/BPReportTests.m index c4f5b7fb..8650e54e 100644 --- a/bp/tests/BPReportTests.m +++ b/bp/tests/BPReportTests.m @@ -8,6 +8,7 @@ // WITHOUT WARRANTIES OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. #import + #import "Bluepill.h" #import "BPIntTestCase.h" #import "BPSimulator.h" diff --git a/bp/tests/BPTreeParserTests.m b/bp/tests/BPTreeParserTests.m index 8af46015..9cdc9b67 100644 --- a/bp/tests/BPTreeParserTests.m +++ b/bp/tests/BPTreeParserTests.m @@ -8,6 +8,9 @@ // WITHOUT WARRANTIES OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. #import +#import +#import + #import "BPConfiguration.h" #import "BPWriter.h" #import "BPTreeParser.h" diff --git a/bp/tests/BPUtilsTests.m b/bp/tests/BPUtilsTests.m index dd377eff..9f149d79 100644 --- a/bp/tests/BPUtilsTests.m +++ b/bp/tests/BPUtilsTests.m @@ -8,6 +8,9 @@ // WITHOUT WARRANTIES OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. #import +#import +#import + #import "BPExitStatus.h" #import "BPUtils.h" #import "BPXCTestFile.h" diff --git a/bp/tests/BluepillTests.m b/bp/tests/BluepillTests.m index b2351315..1c0be3f9 100644 --- a/bp/tests/BluepillTests.m +++ b/bp/tests/BluepillTests.m @@ -8,6 +8,8 @@ // WITHOUT WARRANTIES OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. #import +#import + #import "Bluepill.h" #import "BPIntTestCase.h" #import "BPConfiguration.h" @@ -271,6 +273,7 @@ - (void)testDeleteSimulatorNotExistWithRetry { } - (void)testRunUITest { + [BPUtils enableDebugOutput:YES]; // The delay of ui test bootstrapping is larger than 5s. self.config.testCaseTimeout = @300; NSString *testBundlePath = [BPTestHelper sampleAppUITestBundlePath]; diff --git a/bp/tests/SimulatorHelperTests.m b/bp/tests/SimulatorHelperTests.m index ee66f7cd..880d6cbc 100644 --- a/bp/tests/SimulatorHelperTests.m +++ b/bp/tests/SimulatorHelperTests.m @@ -8,6 +8,9 @@ // WITHOUT WARRANTIES OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. #import +#import +#import + #import "SimulatorHelper.h" #import "BPTestHelper.h" #import "BPConfiguration.h" diff --git a/bp/tests/WaitTimerTests.m b/bp/tests/WaitTimerTests.m index aad50fe0..e21baaea 100644 --- a/bp/tests/WaitTimerTests.m +++ b/bp/tests/WaitTimerTests.m @@ -8,6 +8,8 @@ // WITHOUT WARRANTIES OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. #import +#import +#import #import "BPWaitTimer.h" #import "BPUtils.h"