private void RunGetPropertyStringScenario(Dictionary<string, string> properties, string expectedResult)
        {
            var buildPropertyProviderTest = new BuildPropertyProviderTest(properties);
            var siteBuilder = new MsBuildSiteBuilderTest(buildPropertyProviderTest);
            var result = siteBuilder.GetPropertyStringForTest();

            Assert.Equal(expectedResult, result);
        }
Beispiel #2
0
        private void RunGetPropertyStringScenario(Dictionary <string, string> properties, string expectedResult)
        {
            var buildPropertyProviderTest = new BuildPropertyProviderTest(properties);
            var siteBuilder = new MsBuildSiteBuilderTest(buildPropertyProviderTest);
            var result      = siteBuilder.GetPropertyStringForTest();

            Assert.Equal(expectedResult, result);
        }
 public MsBuildSiteBuilderTest(BuildPropertyProviderTest buildPropertyProviderTest)
     : base(new MockDeploymentSettingsManager(), buildPropertyProviderTest, Path.GetTempPath(), Path.GetTempPath())
 {
 }
 public MsBuildSiteBuilderTest(BuildPropertyProviderTest buildPropertyProviderTest)
     : base(buildPropertyProviderTest, Path.GetTempPath(), Path.GetTempPath())
 {
 }
Beispiel #5
0
 public MsBuildSiteBuilderTest(BuildPropertyProviderTest buildPropertyProviderTest)
     : base(buildPropertyProviderTest, Path.GetTempPath(), Path.GetTempPath(), Path.GetTempPath())
 {
 }
Beispiel #6
0
 public MsBuildSiteBuilderTest(BuildPropertyProviderTest buildPropertyProviderTest)
     : base(new MockDeploymentSettingsManager(), buildPropertyProviderTest, Path.GetTempPath())
 {
 }