Ejemplo n.º 1
0
        private void AppendTestFactoryTitle([NotNull] IncludedTestFactory test)
        {
            XmlElement row  = CreateTableRow();
            XmlElement cell = CreateTableCell(test.Title, 3, test.Obsolete
                                                                                 ? "obsoleteTitle"
                                                                                 : "title");

            row.AppendChild(cell);
            cell.AppendChild(CreateAnchor(test.Key));

            _htmlTable.AppendChild(row);
        }
Ejemplo n.º 2
0
        public void IncludeTestFactory(Type testFactoryType)
        {
            var testFactory = new IncludedTestFactory(testFactoryType);

            if (!_includeObsolete && testFactory.Obsolete)
            {
                return;
            }

            if (testFactory.InternallyUsed)
            {
                return;
            }

            _includedTestFactories.Add(testFactory);
        }
Ejemplo n.º 3
0
 public TestFactoryIndexEntry([NotNull] IncludedTestFactory includedTestFactory)
     : base(includedTestFactory)
 {
 }