diff --git a/test/Microsoft.AspNetCore.Diagnostics.FunctionalTests/TestApplicationEnvironment.cs b/test/Microsoft.AspNetCore.Diagnostics.FunctionalTests/TestApplicationEnvironment.cs deleted file mode 100644 index 6210bddcc8..0000000000 --- a/test/Microsoft.AspNetCore.Diagnostics.FunctionalTests/TestApplicationEnvironment.cs +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.Runtime.Versioning; -using Microsoft.Extensions.PlatformAbstractions; - -public class TestApplicationEnvironment : IApplicationEnvironment -{ - private readonly IApplicationEnvironment _original; - - public TestApplicationEnvironment(IApplicationEnvironment original, string name, string basePath) - { - _original = original; - ApplicationName = name; - ApplicationBasePath = basePath; - } - - public string ApplicationName { get; } - - public string ApplicationVersion - { - get - { - return _original.ApplicationVersion; - } - } - - public string ApplicationBasePath { get; } - - public FrameworkName RuntimeFramework - { - get - { - return _original.RuntimeFramework; - } - } -} \ No newline at end of file diff --git a/test/Microsoft.AspNetCore.Diagnostics.FunctionalTests/TestFixture.cs b/test/Microsoft.AspNetCore.Diagnostics.FunctionalTests/TestFixture.cs index a3326a1c5f..ef4666ad31 100644 --- a/test/Microsoft.AspNetCore.Diagnostics.FunctionalTests/TestFixture.cs +++ b/test/Microsoft.AspNetCore.Diagnostics.FunctionalTests/TestFixture.cs @@ -2,14 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using System.IO; using System.Net.Http; -using System.Reflection; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using Microsoft.AspNetCore.Testing; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.PlatformAbstractions; namespace Microsoft.AspNetCore.Diagnostics.FunctionalTests {