parent
6b05316265
commit
00b55e89dd
|
@ -0,0 +1 @@
|
|||
row1;10;11~row2;20;21~row3,30,31~
|
|
@ -0,0 +1 @@
|
|||
row1;10;11~row2;20;21~row3,30,31~
|
|
@ -0,0 +1 @@
|
|||
row1;10;11~row2;20;21~row3,30,31~
|
|
@ -0,0 +1 @@
|
|||
row1;10;11~row2;20;21~row3,30,31~
|
|
@ -0,0 +1,8 @@
|
|||
package org.bench4q.agent.api;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
@Controller
|
||||
public class ParameterizationController {
|
||||
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
package org.bench4q.agent.parameterization.impl;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
public class Para_File {
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private Map<String, BufferedReader> readBuffer = new HashMap<String, BufferedReader>();
|
||||
|
||||
public void getFromFile(UUID id, String fileName, String column,
|
||||
String firstData, String byNumber) {
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -73,13 +73,17 @@ public class Test_InstanceCotroller {
|
|||
ic.doCleanUp();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGetParamWithUpdateOnEachOccurrence() {
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGetParameter() throws Exception {
|
||||
UUID testId = UUID.randomUUID();
|
||||
createParamFileFor(new Para_Table(testId)
|
||||
.getParamFileFullPath("param1"));
|
||||
VUserContext paracCoor = new VUserContext(
|
||||
new ParametersFactory(testId));
|
||||
VUserContext paracCoor = new VUserContext(new ParametersFactory(testId));
|
||||
ParamFormatParser paramFormatParser = ParamFormatParser
|
||||
.parseInputParameter(Test_CASE1);
|
||||
String result = (String) TestHelper.invokePrivate(paracCoor,
|
||||
|
@ -94,8 +98,7 @@ public class Test_InstanceCotroller {
|
|||
UUID testId = UUID.randomUUID();
|
||||
createParamFileFor(new Para_Table(testId)
|
||||
.getParamFileFullPath("param1"));
|
||||
VUserContext paracCoor = new VUserContext(
|
||||
new ParametersFactory(testId));
|
||||
VUserContext paracCoor = new VUserContext(new ParametersFactory(testId));
|
||||
ParamFormatParser paramFormatParser = ParamFormatParser
|
||||
.parseInputParameter(Test_CASE1);
|
||||
String result = (String) TestHelper.invokePrivate(
|
||||
|
|
Loading…
Reference in New Issue