public void ShouldNormalizeValue(string value, string expectedValue, bool isCommandLineParameter) { // Given var converter = new MSBuildParameterToStringConverter(); // When var actualValue = converter.NormalizeValue(value, isCommandLineParameter); // Then actualValue.ShouldBe(expectedValue); }
public void ShouldConvert() { // Given var converter = new MSBuildParameterToStringConverter(); // When var actualValue = converter.Convert(new MSBuildParameter("Prop", "Val")); // Then actualValue.ShouldBe("/p:Prop=Val"); }
public void ShouldNormalizeName(string name, string expectedName) { // Given var converter = new MSBuildParameterToStringConverter(); // When var actualName = converter.NormalizeName(name); // Then actualName.ShouldBe(expectedName); }