Skip to content
Snippets Groups Projects
Commit cf1d72ee authored by Jonathan Shahen's avatar Jonathan Shahen
Browse files

Formatting Changes to new formatter

parent 87ebcd94
No related branches found
No related tags found
No related merge requests found
......@@ -63,54 +63,39 @@ public class GeneratorCUI {
System.out.println("-random -roles 20 -rules 100 -timeslots 5 -randomPre 3/5Empty "
+ "-comment \"A simple test from the CUI - 3/5 Empty\" !exit");
System.out.println("");
System.out
.println(
"-random -randomSA -roles 100 -rules 200 -timeslots 200 -comment \"Variable 100 roles\" !exit");
System.out
.println(
"-random -randomSA -roles 300 -rules 200 -timeslots 200 -comment \"Variable 300 roles\" !exit");
System.out
.println(
"-random -randomSA -roles 500 -rules 200 -timeslots 200 -comment \"Variable 500 roles\" !exit");
System.out
.println(
"-random -randomSA -roles 700 -rules 200 -timeslots 200 -comment \"Variable 700 roles\" !exit");
System.out
.println(
"-random -randomSA -roles 1000 -rules 200 -timeslots 200 -comment \"Variable 1000 roles\" !exit");
System.out.println(
"-random -randomSA -roles 100 -rules 200 -timeslots 200 -comment \"Variable 100 roles\" !exit");
System.out.println(
"-random -randomSA -roles 300 -rules 200 -timeslots 200 -comment \"Variable 300 roles\" !exit");
System.out.println(
"-random -randomSA -roles 500 -rules 200 -timeslots 200 -comment \"Variable 500 roles\" !exit");
System.out.println(
"-random -randomSA -roles 700 -rules 200 -timeslots 200 -comment \"Variable 700 roles\" !exit");
System.out.println(
"-random -randomSA -roles 1000 -rules 200 -timeslots 200 -comment \"Variable 1000 roles\" !exit");
System.out.println("");
System.out
.println(
"-random -randomSA -rules 100 -roles 200 -timeslots 200 -comment \"Variable 100 rules\" !exit");
System.out
.println(
"-random -randomSA -rules 300 -roles 200 -timeslots 200 -comment \"Variable 300 rules\" !exit");
System.out
.println(
"-random -randomSA -rules 500 -roles 200 -timeslots 200 -comment \"Variable 500 rules\" !exit");
System.out
.println(
"-random -randomSA -rules 700 -roles 200 -timeslots 200 -comment \"Variable 700 rules\" !exit");
System.out
.println(
"-random -randomSA -rules 1000 -roles 200 -timeslots 200 -comment \"Variable 1000 rules\" !exit");
System.out.println(
"-random -randomSA -rules 100 -roles 200 -timeslots 200 -comment \"Variable 100 rules\" !exit");
System.out.println(
"-random -randomSA -rules 300 -roles 200 -timeslots 200 -comment \"Variable 300 rules\" !exit");
System.out.println(
"-random -randomSA -rules 500 -roles 200 -timeslots 200 -comment \"Variable 500 rules\" !exit");
System.out.println(
"-random -randomSA -rules 700 -roles 200 -timeslots 200 -comment \"Variable 700 rules\" !exit");
System.out.println(
"-random -randomSA -rules 1000 -roles 200 -timeslots 200 -comment \"Variable 1000 rules\" !exit");
System.out.println("");
System.out
.println(
"-random -randomSA -timeslots 100 -roles 200 -rules 200 -comment \"Variable 100 timeslots\" !exit");
System.out
.println(
"-random -randomSA -timeslots 300 -roles 200 -rules 200 -comment \"Variable 300 timeslots\" !exit");
System.out
.println(
"-random -randomSA -timeslots 500 -roles 200 -rules 200 -comment \"Variable 500 timeslots\" !exit");
System.out
.println(
"-random -randomSA -timeslots 700 -roles 200 -rules 200 -comment \"Variable 700 timeslots\" !exit");
System.out
.println(
"-random -randomSA -timeslots 1000 -roles 200 -rules 200 -comment \"Variable 1000 timeslots\" !exit");
System.out.println(
"-random -randomSA -timeslots 100 -roles 200 -rules 200 -comment \"Variable 100 timeslots\" !exit");
System.out.println(
"-random -randomSA -timeslots 300 -roles 200 -rules 200 -comment \"Variable 300 timeslots\" !exit");
System.out.println(
"-random -randomSA -timeslots 500 -roles 200 -rules 200 -comment \"Variable 500 timeslots\" !exit");
System.out.println(
"-random -randomSA -timeslots 700 -roles 200 -rules 200 -comment \"Variable 700 timeslots\" !exit");
System.out.println(
"-random -randomSA -timeslots 1000 -roles 200 -rules 200 -comment \"Variable 1000 timeslots\" !exit");
}
}
......@@ -171,22 +171,16 @@ public class GeneratorInstance {
options.addOption("version", false, "Prints the version (" + VERSION + ") information");
// Add Logging Level Options
options.addOption(OptionBuilder
.withArgName("quiet|debug|verbose")
.withDescription(
"Be extra quiet only errors are shown; " + "Show debugging information; "
+ "extra information is given for Verbose; " + "default is warning level")
.hasArg()
.create("loglevel"));
options.addOption(OptionBuilder
.withArgName("logfile|'n'|'u'")
.withDescription(
"The filepath where the log file should be created; "
+ "No file will be created when equal to 'n'; "
+ "A unique filename will be created when equal to 'u'; "
+ "default it creates a log called '" + Logger_filepath + "'")
.hasArg()
.create("logfile"));
options.addOption(OptionBuilder.withArgName("quiet|debug|verbose")
.withDescription("Be extra quiet only errors are shown; " + "Show debugging information; "
+ "extra information is given for Verbose; " + "default is warning level")
.hasArg().create("loglevel"));
options.addOption(OptionBuilder.withArgName("logfile|'n'|'u'")
.withDescription("The filepath where the log file should be created; "
+ "No file will be created when equal to 'n'; "
+ "A unique filename will be created when equal to 'u'; " + "default it creates a log called '"
+ Logger_filepath + "'")
.hasArg().create("logfile"));
options.addOption("noheader", false, "Does not write the CSV file header to the output log");
options.addOption(OptionBuilder.withArgName("csvfile")
......@@ -204,8 +198,7 @@ public class GeneratorInstance {
.withDescription("Path to the where the Generated file should be written").hasArg().create("output"));
// Testcase Options
options.addOption(OptionBuilder
.withArgName("text")
options.addOption(OptionBuilder.withArgName("text")
.withDescription(
"Comment to be written into the output file. Use quotation marks if your comment has spaces.")
.hasArg().create("comment"));
......@@ -225,13 +218,10 @@ public class GeneratorInstance {
options.addOption(OptionBuilder.withArgName("num").withDescription("Repeat Count (Default: " + repeat + ")")
.hasArg().create("repeat"));
options.addOption(OptionBuilder
.withArgName("string")
.withDescription(
"Creates a random testcase using some porportion for the random preconditions. "
+ "Please see the Javadocs or source code for the specifics")
.hasArg()
.create("randomPre"));
options.addOption(OptionBuilder.withArgName("string")
.withDescription("Creates a random testcase using some porportion for the random preconditions. "
+ "Please see the Javadocs or source code for the specifics")
.hasArg().create("randomPre"));
}
......@@ -401,6 +391,5 @@ public class GeneratorInstance {
}
}
private void setupResultOptions(CommandLine cmd, Options options) throws IOException {
}
private void setupResultOptions(CommandLine cmd, Options options) throws IOException {}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment