src/base/stats/info.test.cc
/** Test that checking Info for display without setting the name fails. */
Test that checking Info for display without setting the name fails.
Test that checking Info for display without setting the name fails .
TEST(StatsInfoDeathTest, BaseCheckDisplayNoName)
{
    TestInfo info;
    info.flags.set(statistics::init | statistics::display);
    ASSERT_ANY_THROW(info.baseCheck());
}
TEST ( StatsInfoDeathTest , BaseCheckDisplayNoName ) { TestInfo info ; info . flags . set ( statistics :: init | statistics :: display ) ; ASSERT_ANY_THROW ( info . baseCheck ( ) ) ; }
Test that checking Info for display without setting the name fails.
Test that checking Info for display without setting the name fails .