10 references to AssemblyShould
Microsoft.NET.Sdk.Razor.Tests (10)
ApplicationPartDiscoveryIntegrationTest.cs (2)
29
new FileInfo(Path.Combine(outputPath, "AppWithP2PReference.dll")).
AssemblyShould
().HaveAttribute("Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute");
76
new FileInfo(Path.Combine(outputPath, "AppWithP2PReference.dll")).
AssemblyShould
().HaveAttribute("Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute");
BuildWithComponents31IntegrationTest.cs (4)
26
new FileInfo(Path.Combine(outputPath, "blazor31.dll")).
AssemblyShould
().ContainType("blazor31.Pages.Index");
27
new FileInfo(Path.Combine(outputPath, "blazor31.dll")).
AssemblyShould
().ContainType("blazor31.Shared.NavMenu");
30
new FileInfo(Path.Combine(outputPath, "blazor31.dll")).
AssemblyShould
().NotContainType("blazor31.Pages.Pages__Host");
31
new FileInfo(Path.Combine(outputPath, "blazor31.Views.dll")).
AssemblyShould
().ContainType("blazor31.Pages.Pages__Host");
BuildWithComponentsIntegrationTest.cs (4)
52
new FileInfo(Path.Combine(outputPath, "MvcWithComponents.dll")).
AssemblyShould
().ContainType("MvcWithComponents.TestComponent");
53
new FileInfo(Path.Combine(outputPath, "MvcWithComponents.dll")).
AssemblyShould
().ContainType("MvcWithComponents.Views.Shared.NavMenu");
56
new FileInfo(Path.Combine(outputPath, "MvcWithComponents.dll")).
AssemblyShould
().ContainType("MvcWithComponents.Components.Counter");
58
new FileInfo(Path.Combine(outputPath, "MvcWithComponents.dll")).
AssemblyShould
().ContainType("AspNetCoreGeneratedDocument.Views_Home_Index");