Amend ALC tests
authorSteve MacLean <Steve.MacLean@Microsoft.com>
Thu, 28 Mar 2019 21:09:50 +0000 (17:09 -0400)
committerSteve MacLean <stmaclea@microsoft.com>
Sat, 30 Mar 2019 02:52:38 +0000 (22:52 -0400)
commit607824421bfdbe3eef2bfb756e8aaf4321caffc4
tree0dd5108e94ed13c09303dea742e35db2869f04db
parent3249ec9cc2b579b194cf7420fdf6ea87e64694cf
Amend ALC tests

Add simple assertions to test:

Test new public constructor
Test instantiating AssemblyLoadContext as a concrete type
Test All
Test Name
Test ToString
Test Assemblies

Commit migrated from https://github.com/dotnet/corefx/commit/3db3261f39945567d818b10a562acf86d334e07a
src/libraries/System.Reflection/tests/AssemblyTests.cs
src/libraries/System.Runtime.Loader/tests/AssemblyLoadContextTest.cs
src/libraries/System.Runtime.Loader/tests/DefaultContext/DefaultLoadContextTest.cs
src/libraries/System.Runtime/tests/System/Reflection/IsCollectibleTests.cs