Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
82eeb009
"googlemock/git@developer.sourcefind.cn:yangql/googletest.git" did not exist on "df94fc5f7ef40c941998851c5e5fbd72ddb553f6"
Commit
82eeb009
authored
Sep 13, 2018
by
Jonny007-MKD
Browse files
Make it public again *sigh*
parent
e86d1df3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
14 deletions
+0
-14
googletest/include/gtest/internal/gtest-internal.h
googletest/include/gtest/internal/gtest-internal.h
+0
-1
googletest/test/gtest_unittest.cc
googletest/test/gtest_unittest.cc
+0
-13
No files found.
googletest/include/gtest/internal/gtest-internal.h
View file @
82eeb009
...
@@ -1199,7 +1199,6 @@ public:
...
@@ -1199,7 +1199,6 @@ public:
const
std
::
string
&
get
()
const
{
return
value
;
}
const
std
::
string
&
get
()
const
{
return
value
;
}
private:
private:
AdditionalMessage
&
operator
=
(
AdditionalMessage
&&
);
std
::
string
value
;
std
::
string
value
;
};
};
...
...
googletest/test/gtest_unittest.cc
View file @
82eeb009
...
@@ -3748,19 +3748,6 @@ TEST(ExpectTest, ASSERT_EQ_0) {
...
@@ -3748,19 +3748,6 @@ TEST(ExpectTest, ASSERT_EQ_0) {
" 0
\n
5.6"
);
" 0
\n
5.6"
);
}
}
TEST
(
AssertionTest
,
AdditionalMessage
)
{
::
testing
::
internal
::
AdditionalMessage
m
=
"servus"
;
EXPECT_EQ
(
m
.
get
(),
"servus"
);
const
char
*
cc
=
"hello"
;
m
=
cc
;
EXPECT_EQ
(
m
.
get
(),
cc
);
std
::
string
s
=
"hi"
;
m
=
s
;
EXPECT_EQ
(
m
.
get
(),
s
);
}
// Tests ASSERT_NE.
// Tests ASSERT_NE.
TEST
(
AssertionTest
,
ASSERT_NE
)
{
TEST
(
AssertionTest
,
ASSERT_NE
)
{
ASSERT_NE
(
6
,
7
);
ASSERT_NE
(
6
,
7
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment