gorealis v2 refactor (#5)
* Changing default timeout for start maintenance. * Upgrading dependencies to gorealis v2 and thrift 0.12.0 * Refactored to update to gorealis v2.
This commit is contained in:
parent
ad4dd9606e
commit
6ab5c9334d
1335 changed files with 137431 additions and 61530 deletions
6
vendor/git.apache.org/thrift.git/lib/cpp/test/OptionalRequiredTest.cpp
generated
vendored
6
vendor/git.apache.org/thrift.git/lib/cpp/test/OptionalRequiredTest.cpp
generated
vendored
|
@ -40,7 +40,7 @@ template<typename Struct>
|
|||
void trywrite(const Struct& s, bool should_work) {
|
||||
bool worked;
|
||||
try {
|
||||
TBinaryProtocol protocol(boost::shared_ptr<TTransport>(new TMemoryBuffer));
|
||||
TBinaryProtocol protocol(stdcxx::shared_ptr<TTransport>(new TMemoryBuffer));
|
||||
s.write(&protocol);
|
||||
worked = true;
|
||||
} catch (TProtocolException & ex) {
|
||||
|
@ -52,7 +52,7 @@ void trywrite(const Struct& s, bool should_work) {
|
|||
|
||||
template <typename Struct1, typename Struct2>
|
||||
void write_to_read(const Struct1& w, Struct2& r) {
|
||||
TBinaryProtocol protocol(boost::shared_ptr<TTransport>(new TMemoryBuffer));
|
||||
TBinaryProtocol protocol(stdcxx::shared_ptr<TTransport>(new TMemoryBuffer));
|
||||
w.write(&protocol);
|
||||
r.read(&protocol);
|
||||
}
|
||||
|
@ -303,7 +303,7 @@ BOOST_AUTO_TEST_CASE(test_optional_required_11) {
|
|||
o1.im_big.push_back(mymap);
|
||||
BOOST_CHECK(o1 == o2);
|
||||
|
||||
TBinaryProtocol protocol(boost::shared_ptr<TTransport>(new TMemoryBuffer));
|
||||
TBinaryProtocol protocol(stdcxx::shared_ptr<TTransport>(new TMemoryBuffer));
|
||||
o1.write(&protocol);
|
||||
|
||||
o1.im_big.push_back(mymap);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue