System\Windows\Forms\HtmlElementTests.cs (97)
27HtmlElementCollection collection = element.All;
28Assert.NotSame(collection, element.All);
47HtmlElementCollection collection = element.All;
48Assert.NotSame(collection, element.All);
1436Assert.Single(element.All);
1437Assert.Equal("H1", element.All[0].TagName);
1440Assert.Equal(2, element.All.Count);
1441Assert.Equal("H1", element.All[0].TagName);
1442Assert.Equal("H2", element.All[1].TagName);
1445Assert.Equal(3, element.All.Count);
1446Assert.Equal("H1", element.All[0].TagName);
1447Assert.Equal("H2", element.All[1].TagName);
1448Assert.Equal("H3", element.All[2].TagName);
1468Assert.Equal(3, element.All.Count);
1469Assert.Equal("P", element.All[0].TagName);
1470Assert.Equal("STRONG", element.All[1].TagName);
1471Assert.Equal("H1", element.All[2].TagName);
1474Assert.Equal(4, element.All.Count);
1475Assert.Equal("P", element.All[0].TagName);
1476Assert.Equal("STRONG", element.All[1].TagName);
1477Assert.Equal("H1", element.All[2].TagName);
1478Assert.Equal("H2", element.All[3].TagName);
1481Assert.Equal(5, element.All.Count);
1482Assert.Equal("P", element.All[0].TagName);
1483Assert.Equal("STRONG", element.All[1].TagName);
1484Assert.Equal("H1", element.All[2].TagName);
1485Assert.Equal("H2", element.All[3].TagName);
1486Assert.Equal("H3", element.All[4].TagName);
2000Assert.Empty(element.All);
2006Assert.Empty(element.All);
2013Assert.Empty(element.All);
2038Assert.Equal(2, element.All.Count);
2039Assert.Equal("P", element.All[0].TagName);
2040Assert.Equal("STRONG", element.All[1].TagName);
2046Assert.Equal(2, element.All.Count);
2047Assert.Equal("P", element.All[0].TagName);
2048Assert.Equal("STRONG", element.All[1].TagName);
2055Assert.Equal(2, element.All.Count);
2056Assert.Equal("P", element.All[0].TagName);
2057Assert.Equal("STRONG", element.All[1].TagName);
2082Assert.Single(element.All);
2083Assert.Equal("H1", element.All[0].TagName);
2088Assert.Equal(2, element.All.Count);
2089Assert.Equal("H1", element.All[0].TagName);
2090Assert.Equal("H2", element.All[1].TagName);
2095Assert.Equal(3, element.All.Count);
2096Assert.Equal("H1", element.All[0].TagName);
2097Assert.Equal("H2", element.All[1].TagName);
2098Assert.Equal("H3", element.All[2].TagName);
2120Assert.Equal(3, element.All.Count);
2121Assert.Equal("P", element.All[0].TagName);
2122Assert.Equal("STRONG", element.All[1].TagName);
2123Assert.Equal("H1", element.All[2].TagName);
2128Assert.Equal(4, element.All.Count);
2129Assert.Equal("P", element.All[0].TagName);
2130Assert.Equal("STRONG", element.All[1].TagName);
2131Assert.Equal("H1", element.All[2].TagName);
2132Assert.Equal("H2", element.All[3].TagName);
2137Assert.Equal(5, element.All.Count);
2138Assert.Equal("P", element.All[0].TagName);
2139Assert.Equal("STRONG", element.All[1].TagName);
2140Assert.Equal("H1", element.All[2].TagName);
2141Assert.Equal("H2", element.All[3].TagName);
2142Assert.Equal("H3", element.All[4].TagName);
2164Assert.Single(element.All);
2165Assert.Equal("H1", element.All[0].TagName);
2168Assert.Equal(2, element.All.Count);
2169Assert.Equal("H2", element.All[0].TagName);
2170Assert.Equal("H1", element.All[1].TagName);
2175Assert.Equal(3, element.All.Count);
2176Assert.Equal("H3", element.All[0].TagName);
2177Assert.Equal("H2", element.All[1].TagName);
2178Assert.Equal("H1", element.All[2].TagName);
2200Assert.Equal(3, element.All.Count);
2201Assert.Equal("H1", element.All[0].TagName);
2202Assert.Equal("P", element.All[1].TagName);
2203Assert.Equal("STRONG", element.All[2].TagName);
2208Assert.Equal(4, element.All.Count);
2209Assert.Equal("H2", element.All[0].TagName);
2210Assert.Equal("H1", element.All[1].TagName);
2211Assert.Equal("P", element.All[2].TagName);
2212Assert.Equal("STRONG", element.All[3].TagName);
2217Assert.Equal(5, element.All.Count);
2218Assert.Equal("H3", element.All[0].TagName);
2219Assert.Equal("H2", element.All[1].TagName);
2220Assert.Equal("H1", element.All[2].TagName);
2221Assert.Equal("P", element.All[3].TagName);
2222Assert.Equal("STRONG", element.All[4].TagName);
2279Assert.Equal(2, element.All.Count);
2280Assert.Equal("P", element.All[0].TagName);
2281Assert.Equal("STRONG", element.All[1].TagName);
2287Assert.Equal(2, element.All.Count);
2288Assert.Equal("P", element.All[0].TagName);
2289Assert.Equal("STRONG", element.All[1].TagName);
2296Assert.Equal(2, element.All.Count);
2297Assert.Equal("P", element.All[0].TagName);
2298Assert.Equal("STRONG", element.All[1].TagName);