1 instantiation of DependencyContextAssertions
Microsoft.NET.TestFramework (1)
Assertions\DependencyContextExtensions.cs (1)
12
return new
DependencyContextAssertions
(dependencyContext);
13 references to DependencyContextAssertions
Microsoft.NET.TestFramework (13)
Assertions\DependencyContextAssertions.cs (12)
18
public AndConstraint<
DependencyContextAssertions
> HaveNoDuplicateRuntimeAssemblies(string runtimeIdentifier)
25
return new AndConstraint<
DependencyContextAssertions
>(this);
28
public AndConstraint<
DependencyContextAssertions
> HaveNoDuplicateNativeAssets(string runtimeIdentifier)
35
return new AndConstraint<
DependencyContextAssertions
>(this);
38
public AndConstraint<
DependencyContextAssertions
> OnlyHaveRuntimeAssemblies(string runtimeIdentifier, params string[] runtimeAssemblyNames)
46
return new AndConstraint<
DependencyContextAssertions
>(this);
49
public AndConstraint<
DependencyContextAssertions
> OnlyHaveRuntimeAssembliesWhichAreInFolder(string runtimeIdentifier, string folder)
59
return new AndConstraint<
DependencyContextAssertions
>(this);
62
public AndConstraint<
DependencyContextAssertions
> OnlyHaveNativeAssembliesWhichAreInFolder(string runtimeIdentifier, string folder, string appName)
80
return new AndConstraint<
DependencyContextAssertions
>(this);
83
public AndConstraint<
DependencyContextAssertions
> OnlyHavePackagesWithPathProperties()
95
return new AndConstraint<
DependencyContextAssertions
>(this);
Assertions\DependencyContextExtensions.cs (1)
10
public static
DependencyContextAssertions
Should(this DependencyContext dependencyContext)