chromium/base/test/test_waitable_event_unittest.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/test/test_waitable_event.h"

#include "base/functional/bind.h"
#include "base/task/thread_pool.h"
#include "base/test/task_environment.h"
#include "base/threading/scoped_blocking_call_internal.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace base {

class NoInvokeBlockingObserver : public internal::BlockingObserver {};

TEST(TestWaitableEvent, NoBlockingCall) {}

TEST(TestWaitableEvent, WaitingInPoolDoesntRequireAllowance) {}

// Binding &WaitableEvent::Signal or &TestWaitableEvent::Signal is equivalent.
TEST(TestWaitableEvent, CanBindEitherType) {}

}  // namespace base