mirror of
https://github.com/google/googletest.git
synced 2024-12-27 02:01:25 +08:00
Automated Code Change
PiperOrigin-RevId: 682549952 Change-Id: Ica81f0020c3001c01543a5851dae7d0b42730c66
This commit is contained in:
parent
a1e255a582
commit
71815bbf7d
@ -325,8 +325,8 @@ TYPED_TEST(FunctionMockerTest, MocksBinaryFunction) {
|
|||||||
|
|
||||||
// Tests mocking a decimal function.
|
// Tests mocking a decimal function.
|
||||||
TYPED_TEST(FunctionMockerTest, MocksDecimalFunction) {
|
TYPED_TEST(FunctionMockerTest, MocksDecimalFunction) {
|
||||||
EXPECT_CALL(this->mock_foo_,
|
EXPECT_CALL(this->mock_foo_, Decimal(true, 'a', 0, 0, 1L, A<float>(), Lt(100),
|
||||||
Decimal(true, 'a', 0, 0, 1L, A<float>(), Lt(100), 5U, NULL, "hi"))
|
5U, nullptr, "hi"))
|
||||||
.WillOnce(Return(5));
|
.WillOnce(Return(5));
|
||||||
|
|
||||||
EXPECT_EQ(5, this->foo_->Decimal(true, 'a', 0, 0, 1, 0, 0, 5, nullptr, "hi"));
|
EXPECT_EQ(5, this->foo_->Decimal(true, 'a', 0, 0, 1, 0, 0, 5, nullptr, "hi"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user