| Index: sandbox/linux/tests/unit_tests.h
|
| diff --git a/sandbox/linux/tests/unit_tests.h b/sandbox/linux/tests/unit_tests.h
|
| index f745e13e63c486af78551e804abc08507e6fd0ed..6f150ac16f44a6ce4f82786d7fbd63268f6f9c23 100644
|
| --- a/sandbox/linux/tests/unit_tests.h
|
| +++ b/sandbox/linux/tests/unit_tests.h
|
| @@ -99,6 +99,13 @@ bool IsRunningOnValgrind();
|
| ((expr) ? static_cast<void>(0) : sandbox::UnitTests::AssertionFailure( \
|
| SANDBOX_STR(expr), __FILE__, __LINE__))
|
|
|
| +#define SANDBOX_ASSERT_EQ(x, y) SANDBOX_ASSERT((x) == (y))
|
| +#define SANDBOX_ASSERT_NE(x, y) SANDBOX_ASSERT((x) != (y))
|
| +#define SANDBOX_ASSERT_LT(x, y) SANDBOX_ASSERT((x) < (y))
|
| +#define SANDBOX_ASSERT_GT(x, y) SANDBOX_ASSERT((x) > (y))
|
| +#define SANDBOX_ASSERT_LE(x, y) SANDBOX_ASSERT((x) <= (y))
|
| +#define SANDBOX_ASSERT_GE(x, y) SANDBOX_ASSERT((x) >= (y))
|
| +
|
| // This class allows to run unittests in their own process. The main method is
|
| // RunTestInProcess().
|
| class UnitTests {
|
|
|