llvm/mlir/unittests/Debug/ExecutionContextTest.cpp

//===- ExecutionContextTest.cpp - Debug Execution Context first impl ------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "mlir/Debug/ExecutionContext.h"
#include "mlir/Debug/BreakpointManagers/TagBreakpointManager.h"
#include "llvm/ADT/MapVector.h"
#include "gmock/gmock.h"

usingnamespacemlir;
usingnamespacemlir::tracing;

namespace {
struct DebuggerAction : public ActionImpl<DebuggerAction> {};
struct OtherAction : public ActionImpl<OtherAction> {};
struct ThirdAction : public ActionImpl<ThirdAction> {};

// Simple action that does nothing.
void noOp() {}

/// This test executes a stack of nested action and check that the backtrace is
/// as expect.
TEST(ExecutionContext, ActionActiveStackTest) {}

TEST(ExecutionContext, DebuggerTest) {}

TEST(ExecutionContext, ApplyTest) {}

TEST(ExecutionContext, SkipTest) {}

TEST(ExecutionContext, StepApplyTest) {}

TEST(ExecutionContext, StepNothingInsideTest) {}

TEST(ExecutionContext, NextTest) {}

TEST(ExecutionContext, FinishTest) {}

TEST(ExecutionContext, FinishBreakpointInNestedTest) {}

TEST(ExecutionContext, FinishNothingBackTest) {}

TEST(ExecutionContext, EnableDisableBreakpointOnCallback) {}
} // namespace