@@ -14,12 +14,12 @@ import ServerSecurity
14
14
15
15
class TLSServerTests : XCTestCase {
16
16
17
- func testOkEndToEndCASecure ( ) {
17
+ func testOkEndToEndTLSwithCA ( ) {
18
18
let config = createCASignedTLSConfig ( )
19
19
testOkEndToEndInternal ( tlsParams: TLSParams ( config: config, selfsigned: false ) )
20
20
}
21
21
22
- func testOkEndToEndSelfSignedSecure ( ) {
22
+ func testOkEndToEndTLSwithSelfSigned ( ) {
23
23
let config = createSelfSignedTLSConfig ( )
24
24
testOkEndToEndInternal ( tlsParams: TLSParams ( config: config, selfsigned: true ) )
25
25
}
@@ -78,12 +78,12 @@ class TLSServerTests: XCTestCase {
78
78
}
79
79
}
80
80
81
- func testHelloEndToEndCASecure ( ) {
81
+ func testHelloEndToEndTLSwithCA ( ) {
82
82
let config = createCASignedTLSConfig ( )
83
83
testHelloEndToEndInternal ( tlsParams: TLSParams ( config: config, selfsigned: false ) )
84
84
}
85
85
86
- func testHelloEndToEndSelfSignedSecure ( ) {
86
+ func testHelloEndToEndTLSwithSelfSigned ( ) {
87
87
let config = createSelfSignedTLSConfig ( )
88
88
testHelloEndToEndInternal ( tlsParams: TLSParams ( config: config, selfsigned: true ) )
89
89
}
@@ -144,7 +144,7 @@ class TLSServerTests: XCTestCase {
144
144
}
145
145
}
146
146
147
- func testSimpleHelloEndToEndCASecure ( ) {
147
+ func testSimpleHelloEndToEndTLSwithCA ( ) {
148
148
let config = createCASignedTLSConfig ( )
149
149
let receivedExpectation = self . expectation ( description: " Received web response \( #function) " )
150
150
let session : URLSession
@@ -188,7 +188,7 @@ class TLSServerTests: XCTestCase {
188
188
}
189
189
}
190
190
191
- func testRequestEchoEndToEndCASecure ( ) {
191
+ func testRequestEchoEndToEndTLSwithCA ( ) {
192
192
let config = createCASignedTLSConfig ( )
193
193
let receivedExpectation = self . expectation ( description: " Received web response \( #function) " )
194
194
let session : URLSession
@@ -227,7 +227,7 @@ class TLSServerTests: XCTestCase {
227
227
}
228
228
}
229
229
230
- func testRequestKeepAliveEchoEndToEndCASecure ( ) {
230
+ func testRequestKeepAliveEchoEndToEndTLSwithCA ( ) {
231
231
let config = createCASignedTLSConfig ( )
232
232
let receivedExpectation1 = self . expectation ( description: " Received web response 1: \( #function) " )
233
233
let receivedExpectation2 = self . expectation ( description: " Received web response 2: \( #function) " )
@@ -311,7 +311,7 @@ class TLSServerTests: XCTestCase {
311
311
}
312
312
}
313
313
314
- func testMultipleRequestWithoutKeepAliveEchoEndToEndCASecure ( ) {
314
+ func testMultipleRequestWithoutKeepAliveEchoEndToEndTLSwithCA ( ) {
315
315
let config = createCASignedTLSConfig ( )
316
316
let receivedExpectation1 = self . expectation ( description: " Received web response 1: \( #function) " )
317
317
let receivedExpectation2 = self . expectation ( description: " Received web response 2: \( #function) " )
@@ -406,7 +406,7 @@ class TLSServerTests: XCTestCase {
406
406
}
407
407
}
408
408
409
- func testRequestLargeEchoEndToEndCASecure ( ) {
409
+ func testRequestLargeEchoEndToEndTLSwithCA ( ) {
410
410
let config = createCASignedTLSConfig ( )
411
411
let receivedExpectation = self . expectation ( description: " Received web response \( #function) " )
412
412
let session : URLSession
@@ -466,7 +466,7 @@ class TLSServerTests: XCTestCase {
466
466
}
467
467
}
468
468
469
- func testRequestLargePostHelloWorldCASecure ( ) {
469
+ func testRequestLargePostHelloWorldTLSwithCA ( ) {
470
470
let config = createCASignedTLSConfig ( )
471
471
let receivedExpectation = self . expectation ( description: " Received web response \( #function) " )
472
472
let session : URLSession
@@ -566,14 +566,14 @@ class TLSServerTests: XCTestCase {
566
566
}
567
567
568
568
static var allTests = [
569
- ( " testOkEndToEndCASecure " , testOkEndToEndCASecure ) ,
570
- ( " testHelloEndToEndCASecure " , testHelloEndToEndCASecure ) ,
571
- ( " testSimpleHelloEndToEndCASecure " , testSimpleHelloEndToEndCASecure ) ,
572
- ( " testRequestEchoEndToEndCASecure " , testRequestEchoEndToEndCASecure ) ,
573
- ( " testRequestKeepAliveEchoEndToEndCASecure " , testRequestKeepAliveEchoEndToEndCASecure ) ,
574
- ( " testRequestLargeEchoEndToEndCASecure " , testRequestLargeEchoEndToEndCASecure ) ,
575
- ( " testMultipleRequestWithoutKeepAliveEchoEndToEndCASecure " , testMultipleRequestWithoutKeepAliveEchoEndToEndCASecure ) ,
576
- ( " testRequestLargePostHelloWorldCASecure " , testRequestLargePostHelloWorldCASecure ) ,
569
+ ( " testOkEndToEndTLSwithCA " , testOkEndToEndTLSwithCA ) ,
570
+ ( " testHelloEndToEndTLSwithCA " , testHelloEndToEndTLSwithCA ) ,
571
+ ( " testSimpleHelloEndToEndTLSwithCA " , testSimpleHelloEndToEndTLSwithCA ) ,
572
+ ( " testRequestEchoEndToEndTLSwithCA " , testRequestEchoEndToEndTLSwithCA ) ,
573
+ ( " testRequestKeepAliveEchoEndToEndTLSwithCA " , testRequestKeepAliveEchoEndToEndTLSwithCA ) ,
574
+ ( " testRequestLargeEchoEndToEndTLSwithCA " , testRequestLargeEchoEndToEndTLSwithCA ) ,
575
+ ( " testMultipleRequestWithoutKeepAliveEchoEndToEndTLSwithCA " , testMultipleRequestWithoutKeepAliveEchoEndToEndTLSwithCA ) ,
576
+ ( " testRequestLargePostHelloWorldTLSwithCA " , testRequestLargePostHelloWorldTLSwithCA ) ,
577
577
]
578
578
}
579
579
0 commit comments