public void ReadCompilationDebugSettingsWithSimpleSettingsReturnsWithValues() { var style = ParametersGenerationStyle.Clone; var simpleSettings = WebConfigSample.GetSimpleCompilationDebugSettings(style); var results = WebConfigSettingsReader.ReadCompilationDebugSettings(simpleSettings.Document, style); simpleSettings.ExpectedSettings.AssertHasSameItems(results); }
public void ReadCompilationDebugSettingsWithLocationSimpleSettingsReturnsTokenized() { var style = ParametersGenerationStyle.Tokenize; var simpleSettings = WebConfigSample.GetSimpleCompilationDebugSettings(style); var locationSimpleSettings = WebConfigSample.GetLocationSimpleSettings(); var results = WebConfigSettingsReader.ReadCompilationDebugSettings(locationSimpleSettings.Document, style); simpleSettings.ExpectedSettings.AssertHasSameItems(results); }