blob: eab4fefad9db2e79d99b1f7034a9e085b6f62a77 [file] [log] [blame]
#ifndef QUICHE_HTTP2_PLATFORM_API_HTTP2_TEST_HELPERS_H_
#define QUICHE_HTTP2_PLATFORM_API_HTTP2_TEST_HELPERS_H_
// Provides VERIFY_* macros, similar to EXPECT_* and ASSERT_*, but they return
// an AssertionResult if the condition is not satisfied.
#include "common/platform/api/quiche_test.h"
#include "net/quiche/common/platform/impl/quiche_test_helpers_impl.h"
#define VERIFY_AND_RETURN_SUCCESS(expression) \
{ \
VERIFY_SUCCESS(expression); \
return ::testing::AssertionSuccess(); \
}
#endif // QUICHE_HTTP2_PLATFORM_API_HTTP2_TEST_HELPERS_H_