public void ValidDuplicateTests(PreviewParam param, Enums.ValidDuplicated testcase) { var request = testcase == Enums.ValidDuplicated.SameValue ? DuplicateCreatePreviewSameValueMapper[param](PrepareReport.Data[ResourceType.Client][ReportCreateStep.CreateFolder]) : DuplicateCreatePreviewNotSameValueMapper[param](PrepareReport.Data[ResourceType.Client][ReportCreateStep.CreateFolder]); ExecuteTestCases(request); }
public void InvalidTests(PreviewParam param, Invalid testcase) { var request = testcase == Invalid.Missing ? InvalidCreatePreviewMissParamMapper[param] : InvalidCreatePreviewMapper[param](InvalidMapper[testcase]); ExecuteTestCases(request, HttpMethod.POST); }
public void InvalidInjectionTests(PreviewParam param, Enums.InvalidInjection testcase) { var request = InvalidCreatePreviewMapper[param](InjectionMapper[testcase]); ExecuteTestCases(request, HttpMethod.POST); }