Add change manager unit test skeleton
Some checks failed
zdm/undo-redo/pipeline/head There was a failure building this commit
Some checks failed
zdm/undo-redo/pipeline/head There was a failure building this commit
This commit is contained in:
parent
dc74b78d20
commit
bb7c1690b2
3
pom.xml
3
pom.xml
@ -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>
|
||||||
|
76
src/test/java/dev/kske/undoredo/ChangeManagerTest.java
Normal file
76
src/test/java/dev/kske/undoredo/ChangeManagerTest.java
Normal 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");
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user