19 references to CreateSite
System.Windows.Forms.Design.Tests (19)
System\ComponentModel\Design\SiteNestedContainerTests.cs (19)
28
foreach (ISite site in new ISite[] { null,
CreateSite
(null) })
41
yield return new object[] {
CreateSite
(string.Empty), null, null, null };
42
yield return new object[] {
CreateSite
(string.Empty), null, string.Empty, "." };
43
yield return new object[] {
CreateSite
(string.Empty), null, "componentName", ".componentName" };
44
yield return new object[] {
CreateSite
(string.Empty), string.Empty, null, null };
45
yield return new object[] {
CreateSite
(string.Empty), string.Empty, string.Empty, "." };
46
yield return new object[] {
CreateSite
(string.Empty), string.Empty, "componentName", ".componentName" };
47
yield return new object[] {
CreateSite
(string.Empty), "containerName", null, null };
48
yield return new object[] {
CreateSite
(string.Empty), "containerName", string.Empty, ".containerName." };
49
yield return new object[] {
CreateSite
(string.Empty), "containerName", "componentName", ".containerName.componentName" };
51
yield return new object[] {
CreateSite
("ownerName"), null, null, null };
52
yield return new object[] {
CreateSite
("ownerName"), null, string.Empty, "ownerName." };
53
yield return new object[] {
CreateSite
("ownerName"), null, "componentName", "ownerName.componentName" };
54
yield return new object[] {
CreateSite
("ownerName"), string.Empty, null, null };
55
yield return new object[] {
CreateSite
("ownerName"), string.Empty, string.Empty, "ownerName." };
56
yield return new object[] {
CreateSite
("ownerName"), string.Empty, "componentName", "ownerName.componentName" };
57
yield return new object[] {
CreateSite
("ownerName"), "containerName", null, null };
58
yield return new object[] {
CreateSite
("ownerName"), "containerName", string.Empty, "ownerName.containerName." };
59
yield return new object[] {
CreateSite
("ownerName"), "containerName", "componentName", "ownerName.containerName.componentName" };