Move AsyncSocket tests from thrift to folly
authorAlan Frindell <>
Thu, 2 Apr 2015 17:20:49 +0000 (10:20 -0700)
committerafrind <>
Thu, 2 Apr 2015 19:02:41 +0000 (12:02 -0700)
Move AsyncSocket tests from thrift to folly

Summary: These tests belong with the code that they test.  The old tests had a couple dependencies on TSocket/TSSLSocket, so I wrote a BlockingSocket wrapper for AsyncSocket/AsyncSSLSocket

Test Plan: Ran the tests

Reviewed By:

Subscribers: doug, net-systems@, alandau, bmatheny, mshneer, folly-diffs@, yfeldblum, chalfant

FB internal diff: D1959955

Signature: t1:1959955:1427917833:73d334846cf248f8bb215f3eb5b596df7f7cee4f
folly/io/async/test/AsyncSSLSocketTest.cpp [new file with mode: 0644]
folly/io/async/test/AsyncSSLSocketTest.h [new file with mode: 0644]
folly/io/async/test/AsyncSSLSocketTest2.cpp [new file with mode: 0644]
folly/io/async/test/AsyncSSLSocketWriteTest.cpp [new file with mode: 0644]
folly/io/async/test/AsyncSocketTest2.cpp [new file with mode: 0644]
folly/io/async/test/BlockingSocket.h [new file with mode: 0644]
folly/io/async/test/certs/ca-cert.pem [new file with mode: 0644]
folly/io/async/test/certs/tests-cert.pem [new file with mode: 0644]
folly/io/async/test/certs/tests-key.pem [new file with mode: 0644]
folly/io/test/ShutdownSocketSetTest.cpp [new file with mode: 0644]