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/compiler/cpp/test/plugin/conversion_test.cc
generated
vendored
6
vendor/git.apache.org/thrift.git/compiler/cpp/test/plugin/conversion_test.cc
generated
vendored
|
@ -234,6 +234,8 @@ void migrate_global_cache() {
|
|||
template <typename T>
|
||||
T* round_trip(T* t) {
|
||||
typename plugin::ToType<T>::type p;
|
||||
plugin::clear_global_cache();
|
||||
plugin_output::clear_global_cache();
|
||||
plugin_output::convert(t, p);
|
||||
migrate_global_cache();
|
||||
return plugin::convert(p);
|
||||
|
@ -275,12 +277,12 @@ void test_const_value(t_const_value* sut) {
|
|||
BOOST_CHECK_EQUAL(sut->get_map().size(), sut2->get_map().size());
|
||||
{
|
||||
std::map<t_const_value::t_const_value_type, t_const_value::t_const_value_type> sut_values;
|
||||
for (std::map<t_const_value*, t_const_value*>::const_iterator it = sut->get_map().begin();
|
||||
for (std::map<t_const_value*, t_const_value*, t_const_value::value_compare>::const_iterator it = sut->get_map().begin();
|
||||
it != sut->get_map().end(); it++) {
|
||||
sut_values[it->first->get_type()] = it->second->get_type();
|
||||
}
|
||||
std::map<t_const_value::t_const_value_type, t_const_value::t_const_value_type> sut2_values;
|
||||
for (std::map<t_const_value*, t_const_value*>::const_iterator it = sut2->get_map().begin();
|
||||
for (std::map<t_const_value*, t_const_value*, t_const_value::value_compare>::const_iterator it = sut2->get_map().begin();
|
||||
it != sut2->get_map().end(); it++) {
|
||||
sut2_values[it->first->get_type()] = it->second->get_type();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue