@@ -14,8 +14,6 @@ import XCTest
14
14
15
15
// MARK: Tests
16
16
17
- // MARK: UITableView
18
-
19
17
extension DelegateProxyTest {
20
18
func test_UITableViewDelegateExtension( ) {
21
19
performDelegateTest ( UITableViewSubclass1 ( frame: CGRect . zero) )
@@ -26,8 +24,6 @@ extension DelegateProxyTest {
26
24
}
27
25
}
28
26
29
- // MARK: UICollectionView
30
-
31
27
extension DelegateProxyTest {
32
28
33
29
func test_UICollectionViewDelegateExtension( ) {
@@ -41,24 +37,18 @@ extension DelegateProxyTest {
41
37
}
42
38
}
43
39
44
- // MARK: UITabBarController
45
-
46
40
extension DelegateProxyTest {
47
41
func test_UINavigationControllerDelegateExtension( ) {
48
42
performDelegateTest ( UINavigationControllerSubclass ( ) )
49
43
}
50
44
}
51
45
52
- // MARK: UIScrollView
53
-
54
46
extension DelegateProxyTest {
55
47
func test_UIScrollViewDelegateExtension( ) {
56
48
performDelegateTest ( UIScrollViewSubclass ( frame: CGRect . zero) )
57
49
}
58
50
}
59
51
60
- // MARK: UISearchBar
61
-
62
52
#if os(iOS)
63
53
extension DelegateProxyTest {
64
54
func test_UISearchBarDelegateExtension( ) {
@@ -67,15 +57,12 @@ extension DelegateProxyTest {
67
57
}
68
58
#endif
69
59
70
- // MARK: UITextView
71
-
72
60
extension DelegateProxyTest {
73
61
func test_UITextViewDelegateExtension( ) {
74
62
performDelegateTest ( UITextViewSubclass ( frame: CGRect . zero) )
75
63
}
76
64
}
77
65
78
- // MARK UISearchController
79
66
#if os(iOS)
80
67
extension DelegateProxyTest {
81
68
func test_UISearchController( ) {
@@ -90,7 +77,6 @@ extension DelegateProxyTest {
90
77
}
91
78
#endif
92
79
93
- // MARK: UIWebView
94
80
#if os(iOS)
95
81
extension DelegateProxyTest {
96
82
func test_UIWebViewDelegateExtension( ) {
@@ -99,24 +85,18 @@ extension DelegateProxyTest {
99
85
}
100
86
#endif
101
87
102
- // MARK: UITabBarController
103
-
104
88
extension DelegateProxyTest {
105
89
func test_UITabBarControllerDelegateExtension( ) {
106
90
performDelegateTest ( UITabBarControllerSubclass ( ) )
107
91
}
108
92
}
109
93
110
- // MARK: UITabBar
111
-
112
94
extension DelegateProxyTest {
113
95
func test_UITabBarDelegateExtension( ) {
114
96
performDelegateTest ( UITabBarSubclass ( ) )
115
97
}
116
98
}
117
99
118
- // MARK: NSTextStorage
119
-
120
100
extension DelegateProxyTest {
121
101
/* something is wrong with subclassing mechanism.
122
102
func test_NSTextStorageDelegateExtension() {
0 commit comments