Update config tests

This commit is contained in:
RatzzFatzz
2024-11-18 23:59:17 +01:00
parent 321115b9ca
commit 4714ef8db1
11 changed files with 263 additions and 207 deletions

View File

@@ -43,4 +43,12 @@ public class TestUtil {
fileInfoDto.setMatchedConfig(config);
return fileInfoDto;
}
public static String[] args(String... args) {
String[] staticArray = new String[]{"-l", "/", "-a", "jpn:ger"};
String[] result = new String[staticArray.length + args.length];
System.arraycopy(staticArray, 0, result, 0, staticArray.length);
System.arraycopy(args, 0, result, staticArray.length, args.length);
return result;
}
}