We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5f955f commit b70a436Copy full SHA for b70a436
Tests/UICoreTests/ViewControllerTests.swift
@@ -1,7 +1,7 @@
1
// SPDX-License-Identifier: BSD-3-Clause
2
3
import XCTest
4
-import SwiftWin32
+@testable import SwiftWin32
5
6
final class ViewControllerTests: XCTestCase {
7
func testLazyViewLoading() {
@@ -37,4 +37,14 @@ final class ViewControllerTests: XCTestCase {
37
38
XCTAssertEqual(sut.title, "Title")
39
}
40
+
41
+ func testValueOfDisablesAutomaticKeyboardDismissal() {
42
+ let sut = ViewController()
43
44
+ XCTAssertFalse(sut.disablesAutomaticKeyboardDismissal)
45
46
+ // sut.modalPresentationStyle = .formSheet // This is currently failing due to missing implementation
47
48
+ // XCTAssertTrue(sut.disablesAutomaticKeyboardDismissal)
49
+ }
50
0 commit comments