public void InvalidUpdateSpecTests(SpecParam param, Invalid invalid) { var request = invalid == Invalid.Missing ? InvalidUpdateSpecMissParamMapper[param] : InvalidUpdateSpecMapper[param](InvalidMapper[invalid]); ExecuteTestCases(request, HttpMethod.PUT); }
public void ValidCreateDuplicateTests(SpecParam param, Enums.ValidDuplicated testcase) { var request = string.Empty; request = testcase == Enums.ValidDuplicated.SameValue ? DupplicateCreateSpecSameValueMapper[param](PrepareReport.Data[ResourceType.Client][ReportCreateStep.CreateFolder].ToString()) : DupplicateCreateSpecNotSameValueMapper[param](PrepareReport.Data[ResourceType.Client][ReportCreateStep.CreateFolder].ToString()); ExecuteCreateTestCases(request); }
public void ValidUpdateDuplicateTests(SpecParam param, Enums.ValidDuplicated testcase) { var request = string.Empty; var specId = PrepareReport.Data[ResourceType.Client][ReportCreateStep.CreateSpec]; var folderId = PrepareReport.Data[ResourceType.Client][ReportCreateStep.CreateFolder]; request = testcase == Enums.ValidDuplicated.SameValue ? DupplicateUpdateSpecSameValueMapper[param](specId, folderId) : DupplicateUpdateSpecNotSameValueMapper[param](specId, folderId); ExecuteCreateTestCases(request); }
public void InvalidInjectionUpdateSpecTests(SpecParam param, Enums.InvalidInjection injection) { var request = InvalidUpdateSpecMapper[param](InjectionMapper[injection]); ExecuteTestCases(request, HttpMethod.PUT); }