#include "third_party/blink/renderer/core/inspector/inspector_history.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace blink {
class TestAction : public InspectorHistory::Action { … };
class PerformFailsAction final : public TestAction { … };
class MergeableAction : public TestAction { … };
class NoOpMergeableAction : public MergeableAction { … };
TEST(InspectorHistoryTest, UndoEmptyHistorySucceeds) { … }
TEST(InspectorHistoryTest, UndoUndoableMarkerSucceeds) { … }
TEST(InspectorHistoryTest, PerformedActionIsPerformed) { … }
TEST(InspectorHistoryTest, UndoPerformedAction) { … }
TEST(InspectorHistoryTest, RedoUndoneAction) { … }
TEST(InspectorHistoryTest, TwoActionsBothAreUndone) { … }
TEST(InspectorHistoryTest, TwoActionsBothAreRedone) { … }
TEST(InspectorHistoryTest, PerformFails) { … }
TEST(InspectorHistoryTest, ResetClearsPerformedAction) { … }
TEST(InspectorHistoryTest, MergeableActionIsNotStored) { … }
TEST(InspectorHistoryTest, NoOpMergeableActionIsCleared) { … }
TEST(InspectorHistoryTest, RedoEmptyHistorySucceeds) { … }
}