chromium/v8/test/unittests/heap/progressbar-unittest.cc

// Copyright 2021 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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  // DEBUG

}  // namespace internal
}  // namespace v8