@@ -5,7 +5,7 @@ import NIO
5
5
6
6
class StarWarsQueryTests : XCTestCase {
7
7
func testHeroNameQuery( ) throws {
8
- let eventLoopGroup = MultiThreadedEventLoopGroup ( numThreads : 1 )
8
+ let eventLoopGroup = MultiThreadedEventLoopGroup ( numberOfThreads : 1 )
9
9
defer {
10
10
XCTAssertNoThrow ( try eventLoopGroup. syncShutdownGracefully ( ) )
11
11
}
@@ -29,7 +29,7 @@ class StarWarsQueryTests : XCTestCase {
29
29
}
30
30
31
31
func testHeroNameAndFriendsQuery( ) throws {
32
- let eventLoopGroup = MultiThreadedEventLoopGroup ( numThreads : 1 )
32
+ let eventLoopGroup = MultiThreadedEventLoopGroup ( numberOfThreads : 1 )
33
33
defer {
34
34
XCTAssertNoThrow ( try eventLoopGroup. syncShutdownGracefully ( ) )
35
35
}
@@ -63,7 +63,7 @@ class StarWarsQueryTests : XCTestCase {
63
63
}
64
64
65
65
func testNestedQuery( ) throws {
66
- let eventLoopGroup = MultiThreadedEventLoopGroup ( numThreads : 1 )
66
+ let eventLoopGroup = MultiThreadedEventLoopGroup ( numberOfThreads : 1 )
67
67
defer {
68
68
XCTAssertNoThrow ( try eventLoopGroup. syncShutdownGracefully ( ) )
69
69
}
@@ -125,7 +125,7 @@ class StarWarsQueryTests : XCTestCase {
125
125
}
126
126
127
127
func testFetchLukeQuery( ) throws {
128
- let eventLoopGroup = MultiThreadedEventLoopGroup ( numThreads : 1 )
128
+ let eventLoopGroup = MultiThreadedEventLoopGroup ( numberOfThreads : 1 )
129
129
defer {
130
130
XCTAssertNoThrow ( try eventLoopGroup. syncShutdownGracefully ( ) )
131
131
}
@@ -149,7 +149,7 @@ class StarWarsQueryTests : XCTestCase {
149
149
}
150
150
151
151
func testOptionalVariable( ) throws {
152
- let eventLoopGroup = MultiThreadedEventLoopGroup ( numThreads : 1 )
152
+ let eventLoopGroup = MultiThreadedEventLoopGroup ( numberOfThreads : 1 )
153
153
defer {
154
154
XCTAssertNoThrow ( try eventLoopGroup. syncShutdownGracefully ( ) )
155
155
}
@@ -196,7 +196,7 @@ class StarWarsQueryTests : XCTestCase {
196
196
}
197
197
198
198
func testFetchSomeIDQuery( ) throws {
199
- let eventLoopGroup = MultiThreadedEventLoopGroup ( numThreads : 1 )
199
+ let eventLoopGroup = MultiThreadedEventLoopGroup ( numberOfThreads : 1 )
200
200
defer {
201
201
XCTAssertNoThrow ( try eventLoopGroup. syncShutdownGracefully ( ) )
202
202
}
@@ -257,7 +257,7 @@ class StarWarsQueryTests : XCTestCase {
257
257
}
258
258
259
259
func testFetchLukeAliasedQuery( ) throws {
260
- let eventLoopGroup = MultiThreadedEventLoopGroup ( numThreads : 1 )
260
+ let eventLoopGroup = MultiThreadedEventLoopGroup ( numberOfThreads : 1 )
261
261
defer {
262
262
XCTAssertNoThrow ( try eventLoopGroup. syncShutdownGracefully ( ) )
263
263
}
@@ -281,7 +281,7 @@ class StarWarsQueryTests : XCTestCase {
281
281
}
282
282
283
283
func testFetchLukeAndLeiaAliasedQuery( ) throws {
284
- let eventLoopGroup = MultiThreadedEventLoopGroup ( numThreads : 1 )
284
+ let eventLoopGroup = MultiThreadedEventLoopGroup ( numberOfThreads : 1 )
285
285
defer {
286
286
XCTAssertNoThrow ( try eventLoopGroup. syncShutdownGracefully ( ) )
287
287
}
@@ -311,7 +311,7 @@ class StarWarsQueryTests : XCTestCase {
311
311
}
312
312
313
313
func testDuplicateFieldsQuery( ) throws {
314
- let eventLoopGroup = MultiThreadedEventLoopGroup ( numThreads : 1 )
314
+ let eventLoopGroup = MultiThreadedEventLoopGroup ( numberOfThreads : 1 )
315
315
defer {
316
316
XCTAssertNoThrow ( try eventLoopGroup. syncShutdownGracefully ( ) )
317
317
}
@@ -345,7 +345,7 @@ class StarWarsQueryTests : XCTestCase {
345
345
}
346
346
347
347
func testUseFragmentQuery( ) throws {
348
- let eventLoopGroup = MultiThreadedEventLoopGroup ( numThreads : 1 )
348
+ let eventLoopGroup = MultiThreadedEventLoopGroup ( numberOfThreads : 1 )
349
349
defer {
350
350
XCTAssertNoThrow ( try eventLoopGroup. syncShutdownGracefully ( ) )
351
351
}
@@ -381,7 +381,7 @@ class StarWarsQueryTests : XCTestCase {
381
381
}
382
382
383
383
func testCheckTypeOfR2Query( ) throws {
384
- let eventLoopGroup = MultiThreadedEventLoopGroup ( numThreads : 1 )
384
+ let eventLoopGroup = MultiThreadedEventLoopGroup ( numberOfThreads : 1 )
385
385
defer {
386
386
XCTAssertNoThrow ( try eventLoopGroup. syncShutdownGracefully ( ) )
387
387
}
@@ -407,7 +407,7 @@ class StarWarsQueryTests : XCTestCase {
407
407
}
408
408
409
409
func testCheckTypeOfLukeQuery( ) throws {
410
- let eventLoopGroup = MultiThreadedEventLoopGroup ( numThreads : 1 )
410
+ let eventLoopGroup = MultiThreadedEventLoopGroup ( numberOfThreads : 1 )
411
411
defer {
412
412
XCTAssertNoThrow ( try eventLoopGroup. syncShutdownGracefully ( ) )
413
413
}
@@ -433,7 +433,7 @@ class StarWarsQueryTests : XCTestCase {
433
433
}
434
434
435
435
func testSecretBackstoryQuery( ) throws {
436
- let eventLoopGroup = MultiThreadedEventLoopGroup ( numThreads : 1 )
436
+ let eventLoopGroup = MultiThreadedEventLoopGroup ( numberOfThreads : 1 )
437
437
defer {
438
438
XCTAssertNoThrow ( try eventLoopGroup. syncShutdownGracefully ( ) )
439
439
}
@@ -466,7 +466,7 @@ class StarWarsQueryTests : XCTestCase {
466
466
}
467
467
468
468
func testSecretBackstoryListQuery( ) throws {
469
- let eventLoopGroup = MultiThreadedEventLoopGroup ( numThreads : 1 )
469
+ let eventLoopGroup = MultiThreadedEventLoopGroup ( numberOfThreads : 1 )
470
470
defer {
471
471
XCTAssertNoThrow ( try eventLoopGroup. syncShutdownGracefully ( ) )
472
472
}
@@ -525,7 +525,7 @@ class StarWarsQueryTests : XCTestCase {
525
525
}
526
526
527
527
func testSecretBackstoryAliasQuery( ) throws {
528
- let eventLoopGroup = MultiThreadedEventLoopGroup ( numThreads : 1 )
528
+ let eventLoopGroup = MultiThreadedEventLoopGroup ( numberOfThreads : 1 )
529
529
defer {
530
530
XCTAssertNoThrow ( try eventLoopGroup. syncShutdownGracefully ( ) )
531
531
}
@@ -558,7 +558,7 @@ class StarWarsQueryTests : XCTestCase {
558
558
}
559
559
560
560
func testNonNullableFieldsQuery( ) throws {
561
- let eventLoopGroup = MultiThreadedEventLoopGroup ( numThreads : 1 )
561
+ let eventLoopGroup = MultiThreadedEventLoopGroup ( numberOfThreads : 1 )
562
562
defer {
563
563
XCTAssertNoThrow ( try eventLoopGroup. syncShutdownGracefully ( ) )
564
564
}
0 commit comments