aboutsummaryrefslogtreecommitdiffstats
path: root/test/gmock-generated-actions_test.cc
diff options
context:
space:
mode:
authorkosak <kosak@google.com>2014-04-02 20:30:00 +0000
committerkosak <kosak@google.com>2014-04-02 20:30:00 +0000
commitbd0188320de5aab1b09718e2c466387099d43cfb (patch)
treeb89ba1d8bbac289a5e83c5a4fd71e5b8b1b53bd4 /test/gmock-generated-actions_test.cc
parent15d61e42bdd4182e7c4b50bcb3314b006ce578c7 (diff)
downloadgoogletest-bd0188320de5aab1b09718e2c466387099d43cfb.tar.gz
googletest-bd0188320de5aab1b09718e2c466387099d43cfb.tar.bz2
googletest-bd0188320de5aab1b09718e2c466387099d43cfb.zip
Export tuple and friends in the ::testing namespace.
Diffstat (limited to 'test/gmock-generated-actions_test.cc')
-rw-r--r--test/gmock-generated-actions_test.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/gmock-generated-actions_test.cc b/test/gmock-generated-actions_test.cc
index a1fa6aee..784c59d1 100644
--- a/test/gmock-generated-actions_test.cc
+++ b/test/gmock-generated-actions_test.cc
@@ -46,10 +46,10 @@ namespace gmock_generated_actions_test {
using ::std::plus;
using ::std::string;
-using ::std::tr1::get;
-using ::std::tr1::make_tuple;
-using ::std::tr1::tuple;
-using ::std::tr1::tuple_element;
+using testing::get;
+using testing::make_tuple;
+using testing::tuple;
+using testing::tuple_element;
using testing::_;
using testing::Action;
using testing::ActionInterface;
@@ -639,7 +639,7 @@ TEST(ActionMacroTest, CanReferenceArgumentType) {
// Tests that the body of ACTION() can reference the argument tuple
// via args_type and args.
ACTION(Sum2) {
- StaticAssertTypeEq< ::std::tr1::tuple<int, char, int*>, args_type>();
+ StaticAssertTypeEq<tuple<int, char, int*>, args_type>();
args_type args_copy = args;
return get<0>(args_copy) + get<1>(args_copy);
}
@@ -1098,7 +1098,7 @@ TEST(ActionTemplateTest, WorksWithValueParams) {
ACTION_TEMPLATE(MyDeleteArg,
HAS_1_TEMPLATE_PARAMS(int, k),
AND_0_VALUE_PARAMS()) {
- delete std::tr1::get<k>(args);
+ delete get<k>(args);
}
// Resets a bool variable in the destructor.