Code formatting changes, clean up, no functionality changes
This commit is contained in:
parent
15ef6ec064
commit
f225735222
@ -215,8 +215,7 @@ class InvokeHelper<R, ::testing::tuple<A1, A2, A3, A4, A5, A6> > {
|
|||||||
get<2>(args), get<3>(args), get<4>(args), get<5>(args));
|
get<2>(args), get<3>(args), get<4>(args), get<5>(args));
|
||||||
}
|
}
|
||||||
|
|
||||||
// There is no InvokeCallback() for 6-tuples, as google3 callbacks
|
// There is no InvokeCallback() for 6-tuples
|
||||||
// support 5 arguments at most.
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename R, typename A1, typename A2, typename A3, typename A4,
|
template <typename R, typename A1, typename A2, typename A3, typename A4,
|
||||||
@ -240,8 +239,7 @@ class InvokeHelper<R, ::testing::tuple<A1, A2, A3, A4, A5, A6, A7> > {
|
|||||||
get<6>(args));
|
get<6>(args));
|
||||||
}
|
}
|
||||||
|
|
||||||
// There is no InvokeCallback() for 7-tuples, as google3 callbacks
|
// There is no InvokeCallback() for 7-tuples
|
||||||
// support 5 arguments at most.
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename R, typename A1, typename A2, typename A3, typename A4,
|
template <typename R, typename A1, typename A2, typename A3, typename A4,
|
||||||
@ -266,8 +264,7 @@ class InvokeHelper<R, ::testing::tuple<A1, A2, A3, A4, A5, A6, A7, A8> > {
|
|||||||
get<6>(args), get<7>(args));
|
get<6>(args), get<7>(args));
|
||||||
}
|
}
|
||||||
|
|
||||||
// There is no InvokeCallback() for 8-tuples, as google3 callbacks
|
// There is no InvokeCallback() for 8-tuples
|
||||||
// support 5 arguments at most.
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename R, typename A1, typename A2, typename A3, typename A4,
|
template <typename R, typename A1, typename A2, typename A3, typename A4,
|
||||||
@ -292,8 +289,7 @@ class InvokeHelper<R, ::testing::tuple<A1, A2, A3, A4, A5, A6, A7, A8, A9> > {
|
|||||||
get<6>(args), get<7>(args), get<8>(args));
|
get<6>(args), get<7>(args), get<8>(args));
|
||||||
}
|
}
|
||||||
|
|
||||||
// There is no InvokeCallback() for 9-tuples, as google3 callbacks
|
// There is no InvokeCallback() for 9-tuples
|
||||||
// support 5 arguments at most.
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename R, typename A1, typename A2, typename A3, typename A4,
|
template <typename R, typename A1, typename A2, typename A3, typename A4,
|
||||||
@ -320,8 +316,7 @@ class InvokeHelper<R, ::testing::tuple<A1, A2, A3, A4, A5, A6, A7, A8, A9,
|
|||||||
get<6>(args), get<7>(args), get<8>(args), get<9>(args));
|
get<6>(args), get<7>(args), get<8>(args), get<9>(args));
|
||||||
}
|
}
|
||||||
|
|
||||||
// There is no InvokeCallback() for 10-tuples, as google3 callbacks
|
// There is no InvokeCallback() for 10-tuples
|
||||||
// support 5 arguments at most.
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Implements the Invoke(callback) action.
|
// Implements the Invoke(callback) action.
|
||||||
|
@ -88,8 +88,7 @@ $if i <= max_callback_arity [[
|
|||||||
return callback->Run($gets);
|
return callback->Run($gets);
|
||||||
}
|
}
|
||||||
]] $else [[
|
]] $else [[
|
||||||
// There is no InvokeCallback() for $i-tuples, as google3 callbacks
|
// There is no InvokeCallback() for $i-tuples
|
||||||
// support $max_callback_arity arguments at most.
|
|
||||||
]]
|
]]
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -582,7 +582,6 @@ bool DeathTestImpl::Passed(bool status_ok) {
|
|||||||
if (status_ok) {
|
if (status_ok) {
|
||||||
# if GTEST_USES_PCRE
|
# if GTEST_USES_PCRE
|
||||||
// PCRE regexes support embedded NULs.
|
// PCRE regexes support embedded NULs.
|
||||||
// GTEST_USES_PCRE is defined only in google3 mode
|
|
||||||
const bool matched = RE::PartialMatch(error_message, *regex());
|
const bool matched = RE::PartialMatch(error_message, *regex());
|
||||||
# else
|
# else
|
||||||
const bool matched = RE::PartialMatch(error_message.c_str(), *regex());
|
const bool matched = RE::PartialMatch(error_message.c_str(), *regex());
|
||||||
|
@ -919,8 +919,6 @@ TEST(PrintStlContainerTest, MultiSet) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if GTEST_HAS_STD_FORWARD_LIST_
|
#if GTEST_HAS_STD_FORWARD_LIST_
|
||||||
// <slist> is available on Linux in the google3 mode, but not on
|
|
||||||
// Windows or Mac OS X.
|
|
||||||
|
|
||||||
TEST(PrintStlContainerTest, SinglyLinkedList) {
|
TEST(PrintStlContainerTest, SinglyLinkedList) {
|
||||||
int a[] = { 9, 2, 8 };
|
int a[] = { 9, 2, 8 };
|
||||||
|
Loading…
Reference in New Issue
Block a user