Shared helpers for DIF unit tests. More...
Go to the source code of this file.
Macros | |
#define | EXPECT_DIF_OK(expr_) EXPECT_EQ(expr_, kDifOk) |
Creates a test expectation for expr_ to evaluate to kDifOk . | |
#define | ASSERT_DIF_OK(expr_) ASSERT_EQ(expr_, kDifOk) |
Creates a test assertion for expr_ to evaluate to kDifOk . | |
#define | EXPECT_DIF_BADARG(expr_) EXPECT_EQ(expr_, kDifBadArg) |
Creates a test expectation for expr_ to evaluate to kDifBadArg . | |
#define | ASSERT_DIF_BADARG(expr_) ASSERT_EQ(expr_, kDifBadArg) |
Creates a test assertion for expr_ to evaluate to kDifBadArg . | |
#define | EXPECT_DIF_LOCKED(expr_) EXPECT_EQ(expr_, kDifLocked) |
Creates a test expectataion for expr to evaluate to kDifLocked . | |
#define | EXPECT_DIF_OUTOFRANGE(expr_) EXPECT_EQ(expr_, kDifOutOfRange) |
Creates a test expectataion for expr to evaluate to kDifOutOfRange . | |
Shared helpers for DIF unit tests.
Definition in file dif_test_base.h.