This commit is contained in:
coderfengyun 2014-03-12 16:48:31 +08:00
parent b09ea23ef7
commit 4e6ad98792
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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 },