Example #1
0
        public void ExplictConstruction()
        {
            string[] expectedDirectories = { @"\\abc", @"\\def", @"\\ghi", @"\\jkl" };
            XmlDocCommentDirectoryElementCollection collection = new XmlDocCommentDirectoryElementCollection(expectedDirectories);

            Assert.That(
                collection.Cast <XmlDocCommentDirectoryElement>().Select(e => e.Name),
                Is.EquivalentTo(expectedDirectories));
        }
        public void ExplictConstruction()
        {
            string[] expectedDirectories = { @"\\abc", @"\\def", @"\\ghi", @"\\jkl" };
            XmlDocCommentDirectoryElementCollection collection = new XmlDocCommentDirectoryElementCollection(expectedDirectories);

            Assert.That(
                collection.Cast<XmlDocCommentDirectoryElement>().Select(e => e.Name),
                Is.EquivalentTo(expectedDirectories));
        }
Example #3
0
        public void DefaultConstruction()
        {
            XmlDocCommentDirectoryElementCollection collection = new XmlDocCommentDirectoryElementCollection();

            Assert.That(collection, Is.Empty);
        }
 public void DefaultConstruction()
 {
     XmlDocCommentDirectoryElementCollection collection = new XmlDocCommentDirectoryElementCollection();
     Assert.That(collection, Is.Empty);
 }