protected override TestMethodData CreateTestMethodData(CanonicalData canonicalData, CanonicalDataCase canonicalDataCase, int index) { var testMethodData = base.CreateTestMethodData(canonicalData, canonicalDataCase, index); testMethodData.Options.UseVariableForExpected = true; testMethodData.Options.FormatExpected = true; testMethodData.CanonicalDataCase.Expected = CanonicalDataValue.ExpectedToMultiLineString(testMethodData.CanonicalDataCase.Expected); if (testMethodData.CanonicalDataCase.Property == "verse") { testMethodData.Options.InputProperty = "number"; } else { testMethodData.CanonicalDataCase.Input = new[] { testMethodData.CanonicalDataCase.Data["beginning"], testMethodData.CanonicalDataCase.Data["end"] } }; return(testMethodData); } }
protected override TestMethodData CreateTestMethodData(CanonicalData canonicalData, CanonicalDataCase canonicalDataCase, int index) { var testMethodData = base.CreateTestMethodData(canonicalData, canonicalDataCase, index); testMethodData.Options.UseVariableForExpected = true; testMethodData.CanonicalDataCase.Expected = CanonicalDataValue.ExpectedToMultiLineString(testMethodData.CanonicalDataCase.Expected); if (testMethodData.CanonicalDataCase.Data.ContainsKey("end verse")) { testMethodData.CanonicalDataCase.Input = new[] { testMethodData.CanonicalDataCase.Data["start verse"], testMethodData.CanonicalDataCase.Data["end verse"] } } ; else { testMethodData.Options.InputProperty = "start verse"; } return(testMethodData); }