Changeset 246173 in webkit
- Timestamp:
- Jun 6, 2019, 3:34:49 PM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 6 edited
-
ChangeLog (modified) (1 diff)
-
TestWebKitAPI/TCPServer.cpp (modified) (5 diffs)
-
TestWebKitAPI/TCPServer.h (modified) (3 diffs)
-
TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm (modified) (2 diffs)
-
TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm (modified) (2 diffs)
-
TestWebKitAPI/config.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r246164 r246173 1 2019-06-06 Keith Rollin <krollin@apple.com> 2 3 Remove SSL-based tests from TestWebKitAPI on some configurations 4 https://bugs.webkit.org/show_bug.cgi?id=198551 5 <rdar://problem/51424996> 6 7 Reviewed by Jonathan Bedard. 8 9 Not all platforms have SSL handy, so don't include SSL-based tests on 10 those platforms. 11 12 * TestWebKitAPI/TCPServer.cpp: 13 * TestWebKitAPI/TCPServer.h: 14 * TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm: 15 * TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm: 16 * TestWebKitAPI/config.h: 17 1 18 2019-06-06 Daniel Bates <dabates@apple.com> 2 19 -
trunk/Tools/TestWebKitAPI/TCPServer.cpp
r245468 r246173 32 32 #include <wtf/Optional.h> 33 33 34 #if HAVE(SSL) 34 35 extern "C" { 35 36 … … 59 60 60 61 } // extern "C" 62 #endif // HAVE(SSL) 61 63 62 64 namespace TestWebKitAPI { 63 65 66 #if HAVE(SSL) 64 67 template<typename> struct deleter; 65 68 template<> struct deleter<BIO> { … … 93 96 } 94 97 }; 98 #endif // HAVE(SSL) 95 99 96 100 TCPServer::TCPServer(Function<void(Socket)>&& connectionHandler, size_t connections) … … 100 104 } 101 105 106 #if HAVE(SSL) 102 107 TCPServer::TCPServer(Protocol protocol, Function<void(SSL*)>&& secureConnectionHandler) 103 108 { … … 185 190 listenForConnections(1); 186 191 } 192 #endif // HAVE(SSL) 187 193 188 194 void TCPServer::listenForConnections(size_t connections) -
trunk/Tools/TestWebKitAPI/TCPServer.h
r245468 r246173 30 30 #include <wtf/Vector.h> 31 31 32 #if HAVE(SSL) 32 33 extern "C" { 33 34 struct SSL; … … 35 36 int SSL_write(SSL*, const void*, int); 36 37 } 38 #endif // HAVE(SSL) 37 39 38 40 namespace TestWebKitAPI { … … 45 47 46 48 TCPServer(Function<void(Socket)>&&, size_t connections = 1); 49 #if HAVE(SSL) 47 50 enum class Protocol : bool { 48 51 HTTPS, HTTPSProxy 49 52 }; 50 53 TCPServer(Protocol, Function<void(SSL*)>&&); 54 #endif // HAVE(SSL) 51 55 ~TCPServer(); 52 56 -
trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm
r245880 r246173 316 316 } 317 317 318 #if HAVE(SSL) 318 319 static void verifyCertificateAndPublicKey(SecTrustRef trust) 319 320 { … … 432 433 433 434 } // namespace TestWebKitAPI 435 436 #endif // HAVE(SSL) -
trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm
r245468 r246173 25 25 26 26 #import "config.h" 27 28 #if HAVE(SSL) 27 29 28 30 #import "TCPServer.h" … … 86 88 } // namespace TestWebKitAPI 87 89 90 #endif // HAVE(SSL) -
trunk/Tools/TestWebKitAPI/config.h
r244857 r246173 101 101 #define WK_HAVE_C_SPI 1 102 102 #endif 103 104 #if !PLATFORM(APPLETV) 105 #define HAVE_SSL 1 106 #endif
Note:
See TracChangeset
for help on using the changeset viewer.