#include "util/misc/initialization_state_dcheck.h"
#include <stdlib.h>
#include <memory>
#include "base/check_op.h"
#include "base/memory/free_deleter.h"
#include "gtest/gtest.h"
#include "test/gtest_death.h"
namespace crashpad {
namespace test {
namespace {
TEST(InitializationStateDcheck, InitializationStateDcheck) { … }
#if DCHECK_IS_ON()
TEST(InitializationStateDcheckDeathTest, Uninitialized_NotInvalid) { … }
TEST(InitializationStateDcheckDeathTest, Uninitialized_NotValid) { … }
TEST(InitializationStateDcheckDeathTest, Invalid_NotUninitialized) { … }
TEST(InitializationStateDcheckDeathTest, Invalid_NotValid) { … }
TEST(InitializationStateDcheckDeathTest, Valid_NotUninitialized) { … }
TEST(InitializationStateDcheckDeathTest, Valid_NotInvalid) { … }
TEST(InitializationStateDcheckDeathTest, Destroyed_NotUninitialized) { … }
TEST(InitializationStateDcheckDeathTest, Destroyed_NotValid) { … }
#endif
}
}
}