#include "third_party/blink/renderer/modules/wake_lock/wake_lock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/core/dom/dom_exception.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/navigator.h"
#include "third_party/blink/renderer/core/page/page.h"
#include "third_party/blink/renderer/modules/wake_lock/wake_lock_test_utils.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "v8/include/v8.h"
namespace blink {
TEST(WakeLockTest, RequestWakeLockGranted) { … }
TEST(WakeLockTest, RequestWakeLockDenied) { … }
TEST(WakeLockTest, LossOfDocumentActivity) { … }
TEST(WakeLockTest, PageVisibilityHidden) { … }
TEST(WakeLockTest, PageVisibilityHiddenBeforeLockAcquisition) { … }
}