blob: 107b49b1170e4962919092d32ea644e6f7e7b0b9 [file] [log] [blame]
QUICHE teamfd50a402018-12-07 22:54:05 -05001#ifndef QUICHE_HTTP2_PLATFORM_API_HTTP2_TEST_HELPERS_H_
2#define QUICHE_HTTP2_PLATFORM_API_HTTP2_TEST_HELPERS_H_
3
4// Provides VERIFY_* macros, similar to EXPECT_* and ASSERT_*, but they return
5// an AssertionResult if the condition is not satisfied.
6#include "net/http2/platform/impl/http2_test_helpers_impl.h"
7
bnc6744c062020-09-30 10:45:28 -07008#include "net/third_party/quiche/src/common/platform/api/quiche_test.h"
QUICHE teamfd50a402018-12-07 22:54:05 -05009
QUICHE teamfd50a402018-12-07 22:54:05 -050010#define VERIFY_AND_RETURN_SUCCESS(expression) \
11 { \
12 VERIFY_SUCCESS(expression); \
13 return ::testing::AssertionSuccess(); \
14 }
15
16#endif // QUICHE_HTTP2_PLATFORM_API_HTTP2_TEST_HELPERS_H_