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