Move AsyncSocket tests from thrift to folly
authorAlan Frindell <afrind@fb.com>
Thu, 2 Apr 2015 17:20:49 +0000 (10:20 -0700)
committerafrind <afrind@fb.com>
Thu, 2 Apr 2015 19:02:41 +0000 (12:02 -0700)
commitfe6985dd5fcf628083209274f0af8570556e96da
treeb3528a51246e5ea73cd9cfa2cbe07778f402d182
parent773ee3cb6a4d52079e1efb8492354cc54bf6d813
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: alandau@fb.com

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

FB internal diff: D1959955

Signature: t1:1959955:1427917833:73d334846cf248f8bb215f3eb5b596df7f7cee4f
folly/Makefile.am
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]