#include "support/Cancellation.h"
#include "support/Context.h"
#include "support/Threading.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <atomic>
#include <memory>
#include <optional>
#include <thread>
namespace clang {
namespace clangd {
namespace {
TEST(CancellationTest, CancellationTest) { … }
TEST(CancellationTest, CancelerDiesContextLives) { … }
TEST(CancellationTest, TaskContextDiesHandleLives) { … }
struct NestedTasks { … };
TEST(CancellationTest, Nested) { … }
TEST(CancellationTest, AsynCancellationTest) { … }
}
}
}