Flutter Engine
The Flutter Engine
Macros
gtest_util.h File Reference
#include <string>
#include <utility>
#include <vector>
#include "base/compiler_specific.h"
#include "build/build_config.h"
#include "gtest/gtest.h"

Go to the source code of this file.

Macros

#define EXPECT_DCHECK_DEATH(statement)    GTEST_UNSUPPORTED_DEATH_TEST(statement, "Check failed", )
 
#define ASSERT_DCHECK_DEATH(statement)    GTEST_UNSUPPORTED_DEATH_TEST(statement, "Check failed", return)
 
#define EXPECT_CHECK_DEATH(statement)    GTEST_UNSUPPORTED_DEATH_TEST(statement, "", )
 
#define ASSERT_CHECK_DEATH(statement)    GTEST_UNSUPPORTED_DEATH_TEST(statement, "", return)
 

Macro Definition Documentation

◆ ASSERT_CHECK_DEATH

#define ASSERT_CHECK_DEATH (   statement)     GTEST_UNSUPPORTED_DEATH_TEST(statement, "", return)

Definition at line 63 of file gtest_util.h.

◆ ASSERT_DCHECK_DEATH

#define ASSERT_DCHECK_DEATH (   statement)     GTEST_UNSUPPORTED_DEATH_TEST(statement, "Check failed", return)

Definition at line 39 of file gtest_util.h.

◆ EXPECT_CHECK_DEATH

#define EXPECT_CHECK_DEATH (   statement)     GTEST_UNSUPPORTED_DEATH_TEST(statement, "", )

Definition at line 61 of file gtest_util.h.

◆ EXPECT_DCHECK_DEATH

#define EXPECT_DCHECK_DEATH (   statement)     GTEST_UNSUPPORTED_DEATH_TEST(statement, "Check failed", )

Definition at line 37 of file gtest_util.h.