Package com.github.mafelp.utils
Class CommandTest
java.lang.Object
com.github.mafelp.utils.CommandTest
class CommandTest
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description (package private) static int
runthrough
-
Constructor Summary
Constructors Constructor Description CommandTest()
-
Method Summary
Modifier and Type Method Description (package private) static java.util.stream.Stream<Command>
argumentMaker()
(package private) void
getBooleanArgument(Command command)
(package private) void
getLongArgument(Command command)
(package private) void
getStringArgument(Command command)
(package private) void
testEquals(Command command)
(package private) void
testToString(Command command)
(package private) void
testToStringWithQuotationMarks(Command command)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
runthrough
static int runthrough
-
-
Constructor Details
-
CommandTest
CommandTest()
-
-
Method Details
-
argumentMaker
-
getStringArgument
-
getBooleanArgument
-
getLongArgument
-
testEquals
-
testToString
-
testToStringWithQuotationMarks
@ParameterizedTest @MethodSource("argumentMaker") void testToStringWithQuotationMarks(Command command)
-