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