From bb7c1690b26ff8076296ba1478791eacae96f97e Mon Sep 17 00:00:00 2001 From: kske Date: Fri, 10 Dec 2021 18:39:57 +0100 Subject: [PATCH] Add change manager unit test skeleton --- pom.xml | 3 + .../dev/kske/undoredo/ChangeManagerTest.java | 76 +++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 src/test/java/dev/kske/undoredo/ChangeManagerTest.java diff --git a/pom.xml b/pom.xml index f32663d..8fce4ef 100644 --- a/pom.xml +++ b/pom.xml @@ -165,6 +165,9 @@ org.apache.maven.plugins maven-surefire-plugin 3.0.0-M5 + + --add-opens dev.kske.undoredo/dev.kske.undoredo=ALL-UNNAMED + diff --git a/src/test/java/dev/kske/undoredo/ChangeManagerTest.java b/src/test/java/dev/kske/undoredo/ChangeManagerTest.java new file mode 100644 index 0000000..0d4cbc0 --- /dev/null +++ b/src/test/java/dev/kske/undoredo/ChangeManagerTest.java @@ -0,0 +1,76 @@ +package dev.kske.undoredo; + +import static org.junit.jupiter.api.Assertions.fail; + +import org.junit.jupiter.api.Test; + +/** + * @author Kai S. K. Engelbart + * @since 0.0.1 + */ +class ChangeManagerTest { + + /** + * Test method for {@link dev.kske.undoredo.ChangeManager#addChange(dev.kske.undoredo.Change)}. + */ + @Test + void testAddChange() { + fail("Not yet implemented"); + } + + /** + * Test method for {@link dev.kske.undoredo.ChangeManager#undo()}. + */ + @Test + void testUndo() { + fail("Not yet implemented"); + } + + /** + * Test method for {@link dev.kske.undoredo.ChangeManager#redo()}. + */ + @Test + void testRedo() { + fail("Not yet implemented"); + } + + /** + * Test method for {@link dev.kske.undoredo.ChangeManager#mark()}. + */ + @Test + void testMark() { + fail("Not yet implemented"); + } + + /** + * Test method for {@link dev.kske.undoredo.ChangeManager#isAtMarkedIndex()}. + */ + @Test + void testIsAtMarkedIndex() { + fail("Not yet implemented"); + } + + /** + * Test method for {@link dev.kske.undoredo.ChangeManager#isUndoAvailable()}. + */ + @Test + void testIsUndoAvailable() { + fail("Not yet implemented"); + } + + /** + * Test method for {@link dev.kske.undoredo.ChangeManager#isRedoAvailable()}. + */ + @Test + void testIsRedoAvailable() { + fail("Not yet implemented"); + } + + /** + * Test method for {@link dev.kske.undoredo.ChangeManager#getChanges()}. + */ + @Test + void testGetChanges() { + fail("Not yet implemented"); + } +}