@@ -44,182 +44,6 @@ public func anyString() -> ParameterMatcher<String> {
4444 ParameterMatcher ( )
4545}
4646
47- /// Returns a matcher matching any throwing closure.
48- public func anyThrowingClosure< OUT> ( ) -> ParameterMatcher < ( ) throws -> OUT > {
49- ParameterMatcher ( )
50- }
51-
52- /// Returns a matcher matching any throwing closure.
53- public func anyThrowingClosure< IN1, OUT> ( ) -> ParameterMatcher < ( IN1 ) throws -> OUT > {
54- ParameterMatcher ( )
55- }
56-
57- /// Returns a matcher matching any throwing closure.
58- public func anyThrowingClosure< IN1, IN2, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 ) throws -> OUT > {
59- ParameterMatcher ( )
60- }
61-
62- /// Returns a matcher matching any throwing closure.
63- public func anyThrowingClosure< IN1, IN2, IN3, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 ) throws -> OUT > {
64- ParameterMatcher ( )
65- }
66-
67- /// Returns a matcher matching any throwing closure.
68- public func anyThrowingClosure< IN1, IN2, IN3, IN4, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 , IN4 ) throws -> OUT > {
69- ParameterMatcher ( )
70- }
71-
72- /// Returns a matcher matching any throwing closure.
73- public func anyThrowingClosure< IN1, IN2, IN3, IN4, IN5, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 , IN4 , IN5 ) throws -> OUT > {
74- ParameterMatcher ( )
75- }
76-
77- /// Returns a matcher matching any throwing closure.
78- public func anyThrowingClosure< IN1, IN2, IN3, IN4, IN5, IN6, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 , IN4 , IN5 , IN6 ) throws -> OUT > {
79- ParameterMatcher ( )
80- }
81-
82- /// Returns a matcher matching any throwing closure.
83- public func anyThrowingClosure< IN1, IN2, IN3, IN4, IN5, IN6, IN7, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 , IN4 , IN5 , IN6 , IN7 ) throws -> OUT > {
84- ParameterMatcher ( )
85- }
86-
87- /// Returns a matcher matching any non-throwing closure.
88- public func anyClosure< OUT> ( ) -> ParameterMatcher < ( ) -> OUT > {
89- ParameterMatcher ( )
90- }
91-
92- /// Returns a matcher matching any non-throwing closure.
93- public func anyClosure< IN1, OUT> ( ) -> ParameterMatcher < ( IN1 ) -> OUT > {
94- ParameterMatcher ( )
95- }
96-
97- /// Returns a matcher matching any non-throwing closure.
98- public func anyClosure< IN1, IN2, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 ) -> OUT > {
99- ParameterMatcher ( )
100- }
101-
102- /// Returns a matcher matching any non-throwing closure.
103- public func anyClosure< IN1, IN2, IN3, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 ) -> OUT > {
104- ParameterMatcher ( )
105- }
106-
107- /// Returns a matcher matching any non-throwing closure.
108- public func anyClosure< IN1, IN2, IN3, IN4, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 , IN4 ) -> OUT > {
109- ParameterMatcher ( )
110- }
111-
112- /// Returns a matcher matching any non-throwing closure.
113- public func anyClosure< IN1, IN2, IN3, IN4, IN5, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 , IN4 , IN5 ) -> OUT > {
114- ParameterMatcher ( )
115- }
116-
117- /// Returns a matcher matching any non-throwing closure.
118- public func anyClosure< IN1, IN2, IN3, IN4, IN5, IN6, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 , IN4 , IN5 , IN6 ) -> OUT > {
119- ParameterMatcher ( )
120- }
121-
122- /// Returns a matcher matching any non-throwing closure.
123- public func anyClosure< IN1, IN2, IN3, IN4, IN5, IN6, IN7, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 , IN4 , IN5 , IN6 , IN7 ) -> OUT > {
124- ParameterMatcher ( )
125- }
126-
127- /// Returns a matcher matching any throwing closure.
128- @available ( macOS 10 . 15 , iOS 13 . 0 , watchOS 6 . 0 , tvOS 13 . 0 , * )
129- public func anyThrowingClosure< OUT> ( ) -> ParameterMatcher < ( ) async throws -> OUT > {
130- ParameterMatcher ( )
131- }
132-
133- /// Returns a matcher matching any throwing closure.
134- @available ( macOS 10 . 15 , iOS 13 . 0 , watchOS 6 . 0 , tvOS 13 . 0 , * )
135- public func anyThrowingClosure< IN1, OUT> ( ) -> ParameterMatcher < ( IN1 ) async throws -> OUT > {
136- ParameterMatcher ( )
137- }
138-
139- /// Returns a matcher matching any throwing closure.
140- @available ( macOS 10 . 15 , iOS 13 . 0 , watchOS 6 . 0 , tvOS 13 . 0 , * )
141- public func anyThrowingClosure< IN1, IN2, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 ) async throws -> OUT > {
142- ParameterMatcher ( )
143- }
144-
145- /// Returns a matcher matching any throwing closure.
146- @available ( macOS 10 . 15 , iOS 13 . 0 , watchOS 6 . 0 , tvOS 13 . 0 , * )
147- public func anyThrowingClosure< IN1, IN2, IN3, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 ) async throws -> OUT > {
148- ParameterMatcher ( )
149- }
150-
151- /// Returns a matcher matching any throwing closure.
152- @available ( macOS 10 . 15 , iOS 13 . 0 , watchOS 6 . 0 , tvOS 13 . 0 , * )
153- public func anyThrowingClosure< IN1, IN2, IN3, IN4, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 , IN4 ) async throws -> OUT > {
154- ParameterMatcher ( )
155- }
156-
157- /// Returns a matcher matching any throwing closure.
158- @available ( macOS 10 . 15 , iOS 13 . 0 , watchOS 6 . 0 , tvOS 13 . 0 , * )
159- public func anyThrowingClosure< IN1, IN2, IN3, IN4, IN5, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 , IN4 , IN5 ) async throws -> OUT > {
160- ParameterMatcher ( )
161- }
162-
163- /// Returns a matcher matching any throwing closure.
164- @available ( macOS 10 . 15 , iOS 13 . 0 , watchOS 6 . 0 , tvOS 13 . 0 , * )
165- public func anyThrowingClosure< IN1, IN2, IN3, IN4, IN5, IN6, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 , IN4 , IN5 , IN6 ) async throws -> OUT > {
166- ParameterMatcher ( )
167- }
168-
169- /// Returns a matcher matching any throwing closure.
170- @available ( macOS 10 . 15 , iOS 13 . 0 , watchOS 6 . 0 , tvOS 13 . 0 , * )
171- public func anyThrowingClosure< IN1, IN2, IN3, IN4, IN5, IN6, IN7, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 , IN4 , IN5 , IN6 , IN7 ) async throws -> OUT > {
172- ParameterMatcher ( )
173- }
174-
175- /// Returns a matcher matching any non-throwing closure.
176- @available ( macOS 10 . 15 , iOS 13 . 0 , watchOS 6 . 0 , tvOS 13 . 0 , * )
177- public func anyClosure< OUT> ( ) -> ParameterMatcher < ( ) async -> OUT > {
178- ParameterMatcher ( )
179- }
180-
181- /// Returns a matcher matching any non-throwing closure.
182- @available ( macOS 10 . 15 , iOS 13 . 0 , watchOS 6 . 0 , tvOS 13 . 0 , * )
183- public func anyClosure< IN1, OUT> ( ) -> ParameterMatcher < ( IN1 ) async -> OUT > {
184- ParameterMatcher ( )
185- }
186-
187- /// Returns a matcher matching any non-throwing closure.
188- @available ( macOS 10 . 15 , iOS 13 . 0 , watchOS 6 . 0 , tvOS 13 . 0 , * )
189- public func anyClosure< IN1, IN2, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 ) async -> OUT > {
190- ParameterMatcher ( )
191- }
192-
193- /// Returns a matcher matching any non-throwing closure.
194- @available ( macOS 10 . 15 , iOS 13 . 0 , watchOS 6 . 0 , tvOS 13 . 0 , * )
195- public func anyClosure< IN1, IN2, IN3, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 ) async -> OUT > {
196- ParameterMatcher ( )
197- }
198-
199- /// Returns a matcher matching any non-throwing closure.
200- @available ( macOS 10 . 15 , iOS 13 . 0 , watchOS 6 . 0 , tvOS 13 . 0 , * )
201- public func anyClosure< IN1, IN2, IN3, IN4, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 , IN4 ) async -> OUT > {
202- ParameterMatcher ( )
203- }
204-
205- /// Returns a matcher matching any non-throwing closure.
206- @available ( macOS 10 . 15 , iOS 13 . 0 , watchOS 6 . 0 , tvOS 13 . 0 , * )
207- public func anyClosure< IN1, IN2, IN3, IN4, IN5, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 , IN4 , IN5 ) async -> OUT > {
208- ParameterMatcher ( )
209- }
210-
211- /// Returns a matcher matching any non-throwing closure.
212- @available ( macOS 10 . 15 , iOS 13 . 0 , watchOS 6 . 0 , tvOS 13 . 0 , * )
213- public func anyClosure< IN1, IN2, IN3, IN4, IN5, IN6, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 , IN4 , IN5 , IN6 ) async -> OUT > {
214- ParameterMatcher ( )
215- }
216-
217- /// Returns a matcher matching any non-throwing closure.
218- @available ( macOS 10 . 15 , iOS 13 . 0 , watchOS 6 . 0 , tvOS 13 . 0 , * )
219- public func anyClosure< IN1, IN2, IN3, IN4, IN5, IN6, IN7, OUT> ( ) -> ParameterMatcher < ( IN1 , IN2 , IN3 , IN4 , IN5 , IN6 , IN7 ) async -> OUT > {
220- ParameterMatcher ( )
221- }
222-
22347/// Returns a matcher matching any T value or nil.
22448public func any< T> ( _ type: T . Type = T . self) -> ParameterMatcher < T > {
22549 ParameterMatcher ( )
@@ -268,17 +92,6 @@ public func anyString() -> ParameterMatcher<String?> {
26892 notNil ( )
26993}
27094
271- /// Returns a matcher matching any closure.
272- public func anyClosure< IN, OUT> ( ) -> ParameterMatcher < ( ( ( IN ) ) -> OUT ) ? > {
273- notNil ( )
274- }
275-
276- /// Returns a matcher matching any closure.
277- @available ( macOS 10 . 15 , iOS 13 . 0 , watchOS 6 . 0 , tvOS 13 . 0 , * )
278- public func anyClosure< IN, OUT> ( ) -> ParameterMatcher < ( ( ( IN ) ) async -> OUT ) ? > {
279- notNil ( )
280- }
281-
28295public func anyOptionalThrowingClosure< IN, OUT> ( ) -> ParameterMatcher < ( ( ( IN ) ) throws -> OUT ) ? > {
28396 notNil ( )
28497}
0 commit comments