public void IsConfigured_UseIISIsTrueAndIISUrlIsNull_ReturnsFalse() { var properties = new WebProjectProperties { UseIISExpress = true, IISUrl = null }; bool configured = properties.IsConfigured(); Assert.IsFalse(configured); }
public void IsConfigured_UseIISExpressIsTrueAndIISUrlIsValidUrl_ReturnsTrue() { var properties = new WebProjectProperties { UseIISExpress = true, IISUrl = "http://localhost:8080/" }; bool configured = properties.IsConfigured(); Assert.IsTrue(configured); }
public void IsConfigured_UseIISExpressIsTrueAndIISUrlIsEmptyString_ReturnsFalse() { var properties = new WebProjectProperties { UseIISExpress = true, IISUrl = String.Empty }; bool configured = properties.IsConfigured(); Assert.IsFalse(configured); }
public void IsConfigured_UseIISAndUseIISExpressAreBothFalse_ReturnsFalse() { var properties = new WebProjectProperties() { UseIISExpress = false, UseIIS = false }; bool configured = properties.IsConfigured(); Assert.IsFalse(configured); }