| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
so gtest can print out rbd_loc when printing out diagnostic information
when test fails. after moving operator<<(ostream&, const rbd_loc&) to
the `rbd_replay` namespace, ADL is able to find it. for more details on
the lookup rules, see https://en.cppreference.com/w/cpp/language/adl
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
|
|
| |
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Fix for:
[src/test/test_rbd_replay.cc:193]: (portability) Passing NULL after the
last typed argument to a variadic function leads to undefined behaviour.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
|
|
|
|
| |
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
|
|
|
|
|
|
|
| |
This requires a fair amount of code reorganization, since the types in
the function signature were previously not in a header file.
Signed-off-by: Adam Crume <adamcrume@gmail.com>
|
|
|
|
| |
Signed-off-by: Adam Crume <adamcrume@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Was getting:
test/test_rbd_replay.cc:44:3: warning: converting ‘false’ to pointer type for argument 1 of ‘char testing::internal::IsNullLiteralHelper(testing::internal::Secret*)’ [-Wconversion-null]
Fixed by changing EXPECT_EQ(false, xxx) to EXPECT_FALSE(xxx).
For completeness, also changed EXPECT_EQ(true, xxx) to EXPECT_TRUE(xxx).
Signed-off-by: Adam Crume <adamcrume@gmail.com>
|
|
|
|
| |
Signed-off-by: Adam Crume <adamcrume@gmail.com>
|
|
|
|
| |
Signed-off-by: Adam Crume <adamcrume@gmail.com>
|
|
|
|
| |
Signed-off-by: Adam Crume <adamcrume@gmail.com>
|
|
|
|
| |
Signed-off-by: Adam Crume <adamcrume@gmail.com>
|
|
Signed-off-by: Adam Crume <adamcrume@gmail.com>
|