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