blob: 107b49b1170e4962919092d32ea644e6f7e7b0b9 [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 "net/http2/platform/impl/http2_test_helpers_impl.h"
#include "net/third_party/quiche/src/common/platform/api/quiche_test.h"
#define VERIFY_AND_RETURN_SUCCESS(expression) \
{ \
VERIFY_SUCCESS(expression); \
return ::testing::AssertionSuccess(); \
}
#endif // QUICHE_HTTP2_PLATFORM_API_HTTP2_TEST_HELPERS_H_