proxygen
AsyncSSLSocketTest2.cpp File Reference

Go to the source code of this file.

Classes

struct  folly::EvbAndContext
 
class  folly::AttachDetachClient
 
class  folly::ConnectClient
 
class  folly::NoopReadCallback
 

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 

Functions

 folly::TEST (AsyncSSLSocketTest2, AttachDetachSSLContext)
 
 folly::TEST (AsyncSSLSocketTest2, TestTLS12DefaultClient)
 
 folly::TEST (AsyncSSLSocketTest2, TestTLS12BadClient)
 
int main (int argc, char *argv[])
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 283 of file AsyncSSLSocketTest2.cpp.

References folly::init(), folly::ssl::init(), testing::InitGoogleTest(), folly::portability::ssl::OPENSSL_cleanup(), and RUN_ALL_TESTS().

283  {
285 #ifdef SIGPIPE
286  signal(SIGPIPE, SIG_IGN);
287 #endif
289  folly::init(&argc, &argv);
290  return RUN_ALL_TESTS();
291  OPENSSL_cleanup();
292 }
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
Definition: gtest.h:2232
void init()
Definition: Init.cpp:54
void init(int *argc, char ***argv, bool removeFlags)
Definition: Init.cpp:34
char ** argv
GTEST_API_ void InitGoogleTest(int *argc, char **argv)
Definition: gtest.cc:5370