use of main.content.CONTENT_CONSTS2.AUTO_TEST_TYPE in project Eidolons by IDemiurge.
the class AutoTestFactory method createTest.
public AutoTest createTest(ObjType type) {
List<String> list = new ArrayList<>();
list.add(TEST_ARGS.NAME + ":" + type.getName());
initArgList(list, type);
String args = new StringMaster().constructContainer(list);
AUTO_TEST_TYPE t = new EnumMaster<AUTO_TEST_TYPE>().retrieveEnumConst(AUTO_TEST_TYPE.class, type.getProperty(PROPS.AUTO_TEST_TYPE));
if (t == null) {
t = getType(type);
}
AutoTest test = new AutoTest(type, args, t, master);
return test;
}
Aggregations