public void Should_set_not_read_from_file_if_found() { var section = new CoreSection(); section.Read(_file); section.NUnitTestRunner.WasReadFromConfig.ShouldBeTrue(); }
public void Should_read_from_boolean_nodes() { var section = new CoreSection(); section.Read(_file); section.DebuggingEnabled.ShouldExclude.ShouldBeTrue(); }
public void Should_read_from_first_node_only() { var section = new CoreSection(); section.Read(_file); section.WatchDirectories.ShouldExclude.ShouldBeFalse(); }
public void Should_read_exclude_from_node() { var section = new CoreSection(); section.Read(_file); section.BuildExecutables.ShouldExclude.ShouldBeTrue(); }
public void Should_not_allow_merge_for_growl() { var section = new CoreSection(); section.Read(_file); section.GrowlNotify.ShouldMerge.ShouldBeFalse(); }
public void Should_not_be_able_to_merge_code_editor() { var section = new CoreSection(); section.Read(_file); section.CodeEditor.ShouldMerge.ShouldBeFalse(); }
public void Should_read_from_value_item_nodes() { var section = new CoreSection(); section.Read(_file); section.WatchIgnoreFile.ShouldExclude.ShouldBeTrue(); }
public void Should_read_merge_from_node() { var section = new CoreSection(); section.Read(_file); section.WatchDirectories.ShouldMerge.ShouldBeTrue(); section.WatchDirectories.ShouldExclude.ShouldBeFalse(); }
public void Should_ignore_invalid_configurations() { if (File.Exists(_file)) { File.Delete(_file); } File.WriteAllText(_file, ""); var section = new CoreSection(); section.Read(_file); }