refa
This commit is contained in:
parent
b09ea23ef7
commit
4e6ad98792
|
@ -124,7 +124,7 @@ public class Test_TestPlanEngine extends TestBase_MakeUpTestPlan {
|
|||
getTestPlanRunIdUuid());
|
||||
testPlan.run();
|
||||
this.getTestPlanRepository().attachRunningTestPlan(testPlan);
|
||||
TestHelper.invokePrivateMethod(TestPlanEngine.class, this
|
||||
TestHelper.invokePrivate(TestPlanEngine.class, this
|
||||
.getTestPlanEngine(), "commit" + status.name(),
|
||||
new Class[] { TestPlan.class },
|
||||
new Object[] { this.getTestPlanRepository()
|
||||
|
|
|
@ -28,7 +28,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
|||
public class Test_TestPlanScriptResultService extends TestBase_MakeUpTestPlan {
|
||||
@Test
|
||||
public void testGetSpecficFieldValue() throws Exception {
|
||||
long averageResponseTime = (Long) TestHelper.invokePrivateMethod(
|
||||
long averageResponseTime = (Long) TestHelper.invokePrivate(
|
||||
TestPlanScriptResultService.class,
|
||||
this.getTestPlanScriptResultService(), "getSpecificFieldValue",
|
||||
new Class[] { ScriptBriefResultModel.class, String.class },
|
||||
|
|
Loading…
Reference in New Issue