#include "src/heap/progress-bar.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace v8 {
namespace internal {
TEST(ProgressBar, DefaultDisabled) { … }
TEST(ProgressBar, EnabledAfterExplicitEnable) { … }
TEST(ProgressBar, ZeroValueAfterEnable) { … }
TEST(ProgressBar, TrySetValue) { … }
TEST(ProgressBar, MultipleTrySetValue) { … }
TEST(ProgressBar, ResetIfEnabledOnDisabled) { … }
TEST(ProgressBar, ResetIfEnabledOnEnabled) { … }
#ifdef DEBUG
TEST(ProgressBarDeathTest, DiesOnTrySetValueOnDisabled) { … }
#endif
}
}