Add change manager unit test skeleton
Some checks failed
zdm/undo-redo/pipeline/head There was a failure building this commit

This commit is contained in:
Kai S. K. Engelbart 2021-12-10 18:39:57 +01:00
parent dc74b78d20
commit bb7c1690b2
Signed by: kske
GPG Key ID: 8BEB13EC5DF7EF13
2 changed files with 79 additions and 0 deletions

View File

@ -165,6 +165,9 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version> <version>3.0.0-M5</version>
<configuration>
<argLine>--add-opens dev.kske.undoredo/dev.kske.undoredo=ALL-UNNAMED</argLine>
</configuration>
</plugin> </plugin>
</plugins> </plugins>

View File

@ -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");
}
}