Dieser Commit ist enthalten in:
Ursprung
b48a25453d
Commit
92cddbada1
@ -63,7 +63,7 @@ public class ValidatorCommandTest {
|
||||
|
||||
@Test
|
||||
public void testInvert() {
|
||||
InvertValidatorCommand cmd = new InvertValidatorCommand();
|
||||
ValidatorInvertCommand cmd = new ValidatorInvertCommand();
|
||||
try {
|
||||
cmd.execute("test", "", new String[]{"false", "true"});
|
||||
assertThat(true, is(false));
|
||||
@ -74,7 +74,7 @@ public class ValidatorCommandTest {
|
||||
|
||||
@Test
|
||||
public void testInvertOther() {
|
||||
InvertValidatorCommand cmd = new InvertValidatorCommand();
|
||||
ValidatorInvertCommand cmd = new ValidatorInvertCommand();
|
||||
try {
|
||||
cmd.execute("test", "", new String[]{"Hello", "0"});
|
||||
assertThat(true, is(false));
|
||||
|
@ -23,9 +23,9 @@ import de.steamwar.command.dto.ExecutionIdentifier;
|
||||
import de.steamwar.command.dto.TestSWCommand;
|
||||
import de.steamwar.command.dto.TestValidator;
|
||||
|
||||
public class InvertValidatorCommand extends TestSWCommand {
|
||||
public class ValidatorInvertCommand extends TestSWCommand {
|
||||
|
||||
public InvertValidatorCommand() {
|
||||
public ValidatorInvertCommand() {
|
||||
super("testvalidator");
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren