WASM: Fix System.Diagnostics.TraceSource tests (#39224)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 14 Jul 2020 09:58:11 +0000 (11:58 +0200)
committerGitHub <noreply@github.com>
Tue, 14 Jul 2020 09:58:11 +0000 (11:58 +0200)
commitb44daef3e806ce533226be14ecb7b2e96557cf59
tree0c66cf73117cbec7e7988d291531830344ed5dfb
parent186256657003d534dc3053bd783934e9afe18132
WASM: Fix System.Diagnostics.TraceSource tests (#39224)

* WASM: Fix System.Diagnostics.TraceSource tests

One test was using `Assembly.GetEntryAssembly()` which returns null on WebAssembly.
Others are testing that the output contains the stacktrace but it is empty on WASM right now.

* PR feedback

Co-authored-by: Stephen Toub <stoub@microsoft.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
src/libraries/System.Diagnostics.TraceSource/tests/TraceClassTests.cs
src/libraries/System.Diagnostics.TraceSource/tests/TraceEventCacheClassTests.cs
src/libraries/System.Diagnostics.TraceSource/tests/TraceListenerClassTests.cs
src/libraries/System.Runtime.Extensions/tests/System/Environment.StackTrace.cs
src/libraries/tests.proj