public DeleteRecordsOfApplication ( string applicationName ) : void | ||
applicationName | string | |
Результат | void |
public void Initialize() { var executionHelper = new ExecutionsHelper(); executionHelper.DeleteRecordsOfApplication(TestConstants.ApplicationName); _taskDefinitionId = executionHelper.InsertTask(TestConstants.ApplicationName, TestConstants.TaskName); }
private void CreateTasksAndExecutionTokens() { var executionHelper = new ExecutionsHelper(); executionHelper.DeleteRecordsOfApplication(TestConstants.ApplicationName); foreach (var process in _processes) { int drSecondaryId = executionHelper.InsertTask(TestConstants.ApplicationName, "DR_" + process); int nrSecondaryId = executionHelper.InsertTask(TestConstants.ApplicationName, "NR_" + process); int lsucSecondaryId = executionHelper.InsertTask(TestConstants.ApplicationName, "LSUC_" + process); int lpcSecondaryId = executionHelper.InsertTask(TestConstants.ApplicationName, "LPC_" + process); int lbcSecondaryId = executionHelper.InsertTask(TestConstants.ApplicationName, "LBC_" + process); int ovdrSecondaryId = executionHelper.InsertTask(TestConstants.ApplicationName, "OV_DR_" + process); int ovnrSecondaryId = executionHelper.InsertTask(TestConstants.ApplicationName, "OV_NR_" + process); int ovlsucSecondaryId = executionHelper.InsertTask(TestConstants.ApplicationName, "OV_LSUC_" + process); int ovlpcSecondaryId = executionHelper.InsertTask(TestConstants.ApplicationName, "OV_LPC_" + process); int ovlbcSecondaryId = executionHelper.InsertTask(TestConstants.ApplicationName, "OV_LBC_" + process); executionHelper.InsertAvailableExecutionToken(drSecondaryId); executionHelper.InsertAvailableExecutionToken(nrSecondaryId); executionHelper.InsertAvailableExecutionToken(lsucSecondaryId); executionHelper.InsertAvailableExecutionToken(lpcSecondaryId); executionHelper.InsertAvailableExecutionToken(lbcSecondaryId); executionHelper.InsertAvailableExecutionToken(ovdrSecondaryId); executionHelper.InsertAvailableExecutionToken(ovnrSecondaryId); executionHelper.InsertAvailableExecutionToken(ovlsucSecondaryId); executionHelper.InsertAvailableExecutionToken(ovlpcSecondaryId); executionHelper.InsertAvailableExecutionToken(ovlbcSecondaryId); } }
public void Initialize() { var executionHelper = new ExecutionsHelper(); executionHelper.DeleteRecordsOfApplication(TestConstants.ApplicationName); TaskRepository.ClearCache(); }
public void Initialize() { _blocksHelper = new BlocksHelper(); _blocksHelper.DeleteBlocks(TestConstants.ApplicationName); _executionHelper = new ExecutionsHelper(); _executionHelper.DeleteRecordsOfApplication(TestConstants.ApplicationName); _taskDefinitionId = _executionHelper.InsertTask(TestConstants.ApplicationName, TestConstants.TaskName); _executionHelper.InsertAvailableExecutionToken(_taskDefinitionId); }
public void Initialize() { _blocksHelper = new BlocksHelper(); _blocksHelper.DeleteBlocks(TestConstants.ApplicationName); _executionHelper = new ExecutionsHelper(); _executionHelper.DeleteRecordsOfApplication(TestConstants.ApplicationName); _taskDefinitionId = _executionHelper.InsertTask(TestConstants.ApplicationName, TestConstants.TaskName); _executionHelper.InsertUnlimitedExecutionToken(_taskDefinitionId); TaskRepository.ClearCache(); }
public void Initialize() { var executionHelper = new ExecutionsHelper(); executionHelper.DeleteRecordsOfApplication(TestConstants.ApplicationName); }