return params.get(REQ_KEY_TESTKEY);
}
public String createTestKey(){
StringBuffer key = new StringBuffer();
TestMaster master = TestMasterManager.getInstance().getTestMaster();
key.append(master.getClass().getName());
key.append(TESTKEY_OUTER_SEP);
String[][] test1Array = master.getTropismArray();
int[] orders = Utils.createOrderArray(test1Array.length);
for(int id=0; id<orders.length;id++){
key.append(id);
key.append(TESTKEY_INNER_SEP);
key.append(orders[id]);
key.append(TESTKEY_INNER_SEP);
if(Utils.getRandomBoolean()){
key.append(REQ_KEY_QUESTION_FWD_SUFFIX);
}else{
key.append(REQ_KEY_QUESTION_REW_SUFFIX);
}
if(id+1<orders.length) key.append(TESTKEY_MIDDLE_SEP);
}
String[][] test2Array = master.getKingSoldArray();
orders = Utils.createOrderArray(test2Array.length);
key.append(TESTKEY_OUTER_SEP);
for(int id=0; id<orders.length;id++){
key.append(id);
key.append(TESTKEY_INNER_SEP);
key.append(orders[id]);
key.append(TESTKEY_INNER_SEP);
if(Utils.getRandomBoolean()){
key.append(REQ_KEY_QUESTION_FWD_SUFFIX);
}else{
key.append(REQ_KEY_QUESTION_REW_SUFFIX);
}
if(id+1<orders.length) key.append(TESTKEY_MIDDLE_SEP);
}
String[][] test3Array = master.getSchlCrftArray();
orders = Utils.createOrderArray(test3Array.length);
key.append(TESTKEY_OUTER_SEP);
for(int id=0; id<orders.length;id++){
key.append(id);
key.append(TESTKEY_INNER_SEP);