Oops, fix the tests to understand the new options. #3312

This commit is contained in:
Mark H. Wood
2022-03-16 12:08:10 -04:00
parent 7e0becf666
commit c0aee566a0

View File

@@ -94,7 +94,6 @@ public class ConfigurationIT
public void testMainAllSingle() { public void testMainAllSingle() {
String[] argv; String[] argv;
argv = new String[] { argv = new String[] {
"--all",
"--property", SINGLE_PROPERTY "--property", SINGLE_PROPERTY
}; };
expectedSystemExit.expectSystemExitWithStatus(0); expectedSystemExit.expectSystemExitWithStatus(0);
@@ -123,7 +122,6 @@ public class ConfigurationIT
public void testMainAllArray() { public void testMainAllArray() {
String[] argv; String[] argv;
argv = new String[] { argv = new String[] {
"--all",
"--property", ARRAY_PROPERTY "--property", ARRAY_PROPERTY
}; };
expectedSystemExit.expectSystemExitWithStatus(0); expectedSystemExit.expectSystemExitWithStatus(0);
@@ -153,7 +151,6 @@ public class ConfigurationIT
public void testMainAllSubstitution() { public void testMainAllSubstitution() {
String[] argv; String[] argv;
argv = new String[] { argv = new String[] {
"--all",
"--property", PLACEHOLDER_PROPERTY "--property", PLACEHOLDER_PROPERTY
}; };
expectedSystemExit.expectSystemExitWithStatus(0); expectedSystemExit.expectSystemExitWithStatus(0);
@@ -184,7 +181,6 @@ public class ConfigurationIT
// Can it handle a raw property (with substitution placeholders)? // Can it handle a raw property (with substitution placeholders)?
String[] argv; String[] argv;
argv = new String[] { argv = new String[] {
"--all",
"--property", PLACEHOLDER_PROPERTY, "--property", PLACEHOLDER_PROPERTY,
"--raw" "--raw"
}; };
@@ -215,7 +211,6 @@ public class ConfigurationIT
// Can it handle an undefined property? // Can it handle an undefined property?
String[] argv; String[] argv;
argv = new String[] { argv = new String[] {
"--all",
"--property", MISSING_PROPERTY "--property", MISSING_PROPERTY
}; };
expectedSystemExit.expectSystemExitWithStatus(0); expectedSystemExit.expectSystemExitWithStatus(0);