Add failing Finder drag regression test
This commit is contained in:
parent
5f797cb019
commit
c4e2d0c63c
1 changed files with 23 additions and 0 deletions
|
|
@ -9388,6 +9388,29 @@ final class CmuxWebViewDragRoutingTests: XCTestCase {
|
|||
}
|
||||
}
|
||||
|
||||
#if compiler(>=6.2)
|
||||
@MainActor
|
||||
final class InternalTabDragConfigurationTests: XCTestCase {
|
||||
func testDisablesExternalOperationsForInternalTabDrags() throws {
|
||||
guard #available(macOS 26.0, *) else {
|
||||
throw XCTSkip("Requires macOS 26 drag configuration APIs")
|
||||
}
|
||||
|
||||
let configuration = InternalTabDragConfigurationProvider.value
|
||||
|
||||
XCTAssertFalse(configuration.operationsWithinApp.allowCopy)
|
||||
XCTAssertTrue(configuration.operationsWithinApp.allowMove)
|
||||
XCTAssertFalse(configuration.operationsWithinApp.allowDelete)
|
||||
XCTAssertFalse(configuration.operationsWithinApp.allowAlias)
|
||||
|
||||
XCTAssertFalse(configuration.operationsOutsideApp.allowCopy)
|
||||
XCTAssertFalse(configuration.operationsOutsideApp.allowMove)
|
||||
XCTAssertFalse(configuration.operationsOutsideApp.allowDelete)
|
||||
XCTAssertFalse(configuration.operationsOutsideApp.allowAlias)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
@MainActor
|
||||
final class BrowserPaneDropRoutingTests: XCTestCase {
|
||||
func testVerticalZonesFollowAppKitCoordinates() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue