16 references to TestPropertyTab
System.Windows.Forms.Tests (16)
System\Windows\Forms\PropertyGrid.PropertyTabCollectionTests.cs (16)
40
[InlineData(typeof(PropertyGrid), 1, typeof(
TestPropertyTab
))]
45
propertyTabCollection.AddTabType(typeof(
TestPropertyTab
));
52
[InlineData(typeof(PropertyGrid), typeof(
TestPropertyTab
), 2, false)]
53
[InlineData(typeof(PropertyGrid), typeof(
TestPropertyTab
), 2, true)]
69
propertyTabCollection[initialCount].Should().BeOfType<
TestPropertyTab
>();
77
_propertyTabCollection.AddTabType(typeof(
TestPropertyTab
));
80
_propertyTabCollection[initialCount].Should().BeOfType<
TestPropertyTab
>();
87
_propertyTabCollection.AddTabType(typeof(
TestPropertyTab
), PropertyTabScope.Component);
90
_propertyTabCollection[initialCount].Should().BeOfType<
TestPropertyTab
>();
96
_propertyTabCollection.AddTabType(typeof(
TestPropertyTab
));
99
_propertyTabCollection.RemoveTabType(typeof(
TestPropertyTab
));
102
_propertyTabCollection.Cast<PropertyTab>().Should().NotContain(tab => tab is
TestPropertyTab
);
108
_propertyTabCollection.AddTabType(typeof(
TestPropertyTab
), PropertyTabScope.Component);
119
_propertyTabCollection.AddTabType(typeof(
TestPropertyTab
));
125
array.Should().Contain(tab => tab is
TestPropertyTab
);
131
_propertyTabCollection.AddTabType(typeof(
TestPropertyTab
));