From 052b859c15e98b4708a69be9924328f3da04ecdf Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Tue, 13 Oct 2020 21:51:39 +1100 Subject: [PATCH] housekeeping: remove netstandard/monoandroid/uwp from tests --- src/Splat.Drawing/Properties/AssemblyInfo.cs | 2 + .../Splat.TestRunner.Android.csproj | 44 ++++++++++++--- .../Splat.TestRunner.Uwp.csproj | 53 ++++++++++++++----- src/Splat.Tests/API/ApiApprovalTests.cs | 4 ++ ...pCenterFeatureUsageTrackingSessionTests.cs | 7 ++- .../AppCenterViewTrackingTests.cs | 7 ++- ...nsightsFeatureUsageTrackingSessionTests.cs | 7 ++- .../ApplicationInsightsViewTrackingTests.cs | 7 ++- .../BaseFeatureUsageTrackingTests.cs | 7 ++- .../BaseViewTrackingTests.cs | 7 ++- ...ableFeatureUsageTrackingExtensionsTests.cs | 7 ++- ...ionlessFeatureUsageTrackingSessionTests.cs | 7 ++- .../RaygunFeatureUsageTrackingSessionTests.cs | 7 ++- src/Splat.Tests/BitmapLoaderTests.cs | 7 ++- src/Splat.Tests/Colors/KnownColorTests.cs | 7 ++- src/Splat.Tests/Colors/SplatColorTests.cs | 7 ++- .../AllocationFreeLoggerBaseTestBase.cs | 7 ++- .../ExceptionlessLoggerTests.cs | 7 ++- src/Splat.Tests/MemoizingMRUCacheTests.cs | 7 ++- src/Splat.Tests/Mocks/TextLogger.cs | 7 --- .../Platform/PlatformBitmapLoaderTests.cs | 7 ++- .../BaseDependencyResolverTests.cs | 7 ++- .../ModernDependencyResolverTests.cs | 7 ++- src/Splat.Tests/Splat.Tests.csproj | 8 +-- .../TargetFrameworkExtensionsTests.cs | 7 ++- src/Splat.Tests/XUnitHelpers.cs | 7 ++- src/Splat/Properties/AssemblyInfo.cs | 2 + 27 files changed, 209 insertions(+), 51 deletions(-) diff --git a/src/Splat.Drawing/Properties/AssemblyInfo.cs b/src/Splat.Drawing/Properties/AssemblyInfo.cs index 9ea613a95..7b4fd8999 100644 --- a/src/Splat.Drawing/Properties/AssemblyInfo.cs +++ b/src/Splat.Drawing/Properties/AssemblyInfo.cs @@ -8,3 +8,5 @@ [assembly: NeutralResourcesLanguage("en-US")] [assembly: InternalsVisibleTo("Splat.Tests")] +[assembly: InternalsVisibleTo("Splat.TestRunner.Android")] +[assembly: InternalsVisibleTo("Splat.TestRunner.Uwp")] diff --git a/src/Splat.TestRunner.Android/Splat.TestRunner.Android.csproj b/src/Splat.TestRunner.Android/Splat.TestRunner.Android.csproj index 34b7c96a8..7a797242e 100644 --- a/src/Splat.TestRunner.Android/Splat.TestRunner.Android.csproj +++ b/src/Splat.TestRunner.Android/Splat.TestRunner.Android.csproj @@ -21,13 +21,14 @@ true false PackageReference + $(NoWarn);1591;CA1707;SA1633;CA2000;CA1034 True Full False bin\Debug\ - DEBUG;TRACE + TRACE;DEBUG;ANDROID prompt 4 True @@ -43,7 +44,7 @@ PdbOnly True bin\Release\ - TRACE + TRACE;ANDROID prompt 4 true @@ -100,6 +101,9 @@ + + + 4.* @@ -107,16 +111,44 @@ 2.* - + + + {dca3c3b2-dbd1-4c92-ac3b-4de6fad598a3} + Splat.AppCenter + + + {2ed64333-8b11-461e-a009-fffbfe4bd0d9} + Splat.ApplicationInsights + {694d2813-14ff-456a-b1e7-c5bb82aee400} Splat.Drawing - - {6cad2584-aa69-4a36-8ad4-a90d040003ca} - Splat.Tests + + {33e4d5f9-b95e-4ae6-a874-7f4a40b2005e} + Splat.Exceptionless + + + {d65c61d8-c073-4761-9ba3-c595a079c42e} + Splat.Log4Net + + + {898c7105-00af-45ec-948a-d004bcc01eb6} + Splat.Microsoft.Extensions.Logging + + + {24bcc71a-0998-4b81-9a55-bc00c2a3f8ce} + Splat.NLog + + + {a587ef52-4a3f-4375-a335-9ed7c6d410cb} + Splat.Raygun + + + {75538893-9968-45f1-9c05-edb837fe0cfe} + Splat.Serilog {8535bde3-25b5-41d6-bf5d-2df766ae879b} diff --git a/src/Splat.TestRunner.Uwp/Splat.TestRunner.Uwp.csproj b/src/Splat.TestRunner.Uwp/Splat.TestRunner.Uwp.csproj index 78c7397fc..4e81fb06d 100644 --- a/src/Splat.TestRunner.Uwp/Splat.TestRunner.Uwp.csproj +++ b/src/Splat.TestRunner.Uwp/Splat.TestRunner.Uwp.csproj @@ -18,12 +18,12 @@ $(VisualStudioVersion) PackageReference false + $(NoWarn);1591;CA1707;SA1633;CA2000;CA1034;2008 true bin\x86\Debug\ DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 full x86 false @@ -34,7 +34,6 @@ bin\x86\Release\ TRACE;NETFX_CORE;WINDOWS_UWP true - ;2008 pdbonly x86 false @@ -46,7 +45,6 @@ true bin\ARM\Debug\ DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 full ARM false @@ -57,7 +55,6 @@ bin\ARM\Release\ TRACE;NETFX_CORE;WINDOWS_UWP true - ;2008 pdbonly ARM false @@ -69,7 +66,6 @@ true bin\ARM64\Debug\ DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 full ARM64 false @@ -81,7 +77,6 @@ bin\ARM64\Release\ TRACE;NETFX_CORE;WINDOWS_UWP true - ;2008 pdbonly ARM64 false @@ -93,7 +88,6 @@ true bin\x64\Debug\ DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 full x64 false @@ -104,7 +98,6 @@ bin\x64\Release\ TRACE;NETFX_CORE;WINDOWS_UWP true - ;2008 pdbonly x64 false @@ -139,11 +132,14 @@ + + + 6.2.9 - + 2.1.2 @@ -151,18 +147,48 @@ 2.5.25 - + + - + + + {dca3c3b2-dbd1-4c92-ac3b-4de6fad598a3} + Splat.AppCenter + + + {2ed64333-8b11-461e-a009-fffbfe4bd0d9} + Splat.ApplicationInsights + + + {d65c61d8-c073-4761-9ba3-c595a079c42e} + Splat.Log4Net + + + {898c7105-00af-45ec-948a-d004bcc01eb6} + Splat.Microsoft.Extensions.Logging + + + {24bcc71a-0998-4b81-9a55-bc00c2a3f8ce} + Splat.NLog + + + {a587ef52-4a3f-4375-a335-9ed7c6d410cb} + Splat.Raygun + + + {75538893-9968-45f1-9c05-edb837fe0cfe} + Splat.Serilog + {8535bde3-25b5-41d6-bf5d-2df766ae879b} Splat - - Splat.Tests + + {694d2813-14ff-456a-b1e7-c5bb82aee400} + Splat.Drawing @@ -178,7 +204,6 @@ --> - diff --git a/src/Splat.Tests/API/ApiApprovalTests.cs b/src/Splat.Tests/API/ApiApprovalTests.cs index 9fc17166f..659af87ab 100644 --- a/src/Splat.Tests/API/ApiApprovalTests.cs +++ b/src/Splat.Tests/API/ApiApprovalTests.cs @@ -3,6 +3,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for full license information. +#if !WINDOWS_UWP && !ANDROID + using System; using System.Diagnostics.CodeAnalysis; using System.IO; @@ -87,3 +89,5 @@ private static string Filter(string text) } } } + +#endif diff --git a/src/Splat.Tests/ApplicationPerformanceMonitoring/AppCenterFeatureUsageTrackingSessionTests.cs b/src/Splat.Tests/ApplicationPerformanceMonitoring/AppCenterFeatureUsageTrackingSessionTests.cs index eee65cfb8..584980a3b 100644 --- a/src/Splat.Tests/ApplicationPerformanceMonitoring/AppCenterFeatureUsageTrackingSessionTests.cs +++ b/src/Splat.Tests/ApplicationPerformanceMonitoring/AppCenterFeatureUsageTrackingSessionTests.cs @@ -1,4 +1,9 @@ -using System; +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Text; using Xunit; diff --git a/src/Splat.Tests/ApplicationPerformanceMonitoring/AppCenterViewTrackingTests.cs b/src/Splat.Tests/ApplicationPerformanceMonitoring/AppCenterViewTrackingTests.cs index 5446acf25..07295b972 100644 --- a/src/Splat.Tests/ApplicationPerformanceMonitoring/AppCenterViewTrackingTests.cs +++ b/src/Splat.Tests/ApplicationPerformanceMonitoring/AppCenterViewTrackingTests.cs @@ -1,4 +1,9 @@ -using System; +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Text; diff --git a/src/Splat.Tests/ApplicationPerformanceMonitoring/ApplicationInsightsFeatureUsageTrackingSessionTests.cs b/src/Splat.Tests/ApplicationPerformanceMonitoring/ApplicationInsightsFeatureUsageTrackingSessionTests.cs index 468804c26..e80f8d826 100644 --- a/src/Splat.Tests/ApplicationPerformanceMonitoring/ApplicationInsightsFeatureUsageTrackingSessionTests.cs +++ b/src/Splat.Tests/ApplicationPerformanceMonitoring/ApplicationInsightsFeatureUsageTrackingSessionTests.cs @@ -1,4 +1,9 @@ -#if !WINDOWS_UWP +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +#if !WINDOWS_UWP using System; using System.Collections.Generic; diff --git a/src/Splat.Tests/ApplicationPerformanceMonitoring/ApplicationInsightsViewTrackingTests.cs b/src/Splat.Tests/ApplicationPerformanceMonitoring/ApplicationInsightsViewTrackingTests.cs index 37ffd9d6e..cd3c226c3 100644 --- a/src/Splat.Tests/ApplicationPerformanceMonitoring/ApplicationInsightsViewTrackingTests.cs +++ b/src/Splat.Tests/ApplicationPerformanceMonitoring/ApplicationInsightsViewTrackingTests.cs @@ -1,4 +1,9 @@ -#if !WINDOWS_UWP +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +#if !WINDOWS_UWP using System; using System.Collections.Generic; diff --git a/src/Splat.Tests/ApplicationPerformanceMonitoring/BaseFeatureUsageTrackingTests.cs b/src/Splat.Tests/ApplicationPerformanceMonitoring/BaseFeatureUsageTrackingTests.cs index a83825781..6e4cb13c2 100644 --- a/src/Splat.Tests/ApplicationPerformanceMonitoring/BaseFeatureUsageTrackingTests.cs +++ b/src/Splat.Tests/ApplicationPerformanceMonitoring/BaseFeatureUsageTrackingTests.cs @@ -1,4 +1,9 @@ -using System; +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Text; using Splat.ApplicationPerformanceMonitoring; diff --git a/src/Splat.Tests/ApplicationPerformanceMonitoring/BaseViewTrackingTests.cs b/src/Splat.Tests/ApplicationPerformanceMonitoring/BaseViewTrackingTests.cs index b660fcb72..22dba15b5 100644 --- a/src/Splat.Tests/ApplicationPerformanceMonitoring/BaseViewTrackingTests.cs +++ b/src/Splat.Tests/ApplicationPerformanceMonitoring/BaseViewTrackingTests.cs @@ -1,4 +1,9 @@ -using System; +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Text; using Splat.ApplicationPerformanceMonitoring; diff --git a/src/Splat.Tests/ApplicationPerformanceMonitoring/EnableFeatureUsageTrackingExtensionsTests.cs b/src/Splat.Tests/ApplicationPerformanceMonitoring/EnableFeatureUsageTrackingExtensionsTests.cs index a08972b1e..70400c487 100644 --- a/src/Splat.Tests/ApplicationPerformanceMonitoring/EnableFeatureUsageTrackingExtensionsTests.cs +++ b/src/Splat.Tests/ApplicationPerformanceMonitoring/EnableFeatureUsageTrackingExtensionsTests.cs @@ -1,4 +1,9 @@ -using System; +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Text; using Splat.ApplicationPerformanceMonitoring; diff --git a/src/Splat.Tests/ApplicationPerformanceMonitoring/ExceptionlessFeatureUsageTrackingSessionTests.cs b/src/Splat.Tests/ApplicationPerformanceMonitoring/ExceptionlessFeatureUsageTrackingSessionTests.cs index 9fafd92ff..7ac94a1e8 100644 --- a/src/Splat.Tests/ApplicationPerformanceMonitoring/ExceptionlessFeatureUsageTrackingSessionTests.cs +++ b/src/Splat.Tests/ApplicationPerformanceMonitoring/ExceptionlessFeatureUsageTrackingSessionTests.cs @@ -1,4 +1,9 @@ -#if !WINDOWS_UWP && !ANDROID +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +#if !WINDOWS_UWP && !ANDROID using System; using System.Collections.Generic; using System.Text; diff --git a/src/Splat.Tests/ApplicationPerformanceMonitoring/RaygunFeatureUsageTrackingSessionTests.cs b/src/Splat.Tests/ApplicationPerformanceMonitoring/RaygunFeatureUsageTrackingSessionTests.cs index 094ba21c3..cdc86339a 100644 --- a/src/Splat.Tests/ApplicationPerformanceMonitoring/RaygunFeatureUsageTrackingSessionTests.cs +++ b/src/Splat.Tests/ApplicationPerformanceMonitoring/RaygunFeatureUsageTrackingSessionTests.cs @@ -1,4 +1,9 @@ -using System; +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Text; using Mindscape.Raygun4Net; diff --git a/src/Splat.Tests/BitmapLoaderTests.cs b/src/Splat.Tests/BitmapLoaderTests.cs index f23eb0c6a..0e50e6c12 100644 --- a/src/Splat.Tests/BitmapLoaderTests.cs +++ b/src/Splat.Tests/BitmapLoaderTests.cs @@ -1,4 +1,9 @@ -using System; +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.IO; using System.Text; diff --git a/src/Splat.Tests/Colors/KnownColorTests.cs b/src/Splat.Tests/Colors/KnownColorTests.cs index 3b599bc72..d798d22c2 100644 --- a/src/Splat.Tests/Colors/KnownColorTests.cs +++ b/src/Splat.Tests/Colors/KnownColorTests.cs @@ -1,4 +1,9 @@ -using System; +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Text; using Xunit; diff --git a/src/Splat.Tests/Colors/SplatColorTests.cs b/src/Splat.Tests/Colors/SplatColorTests.cs index 7f6851fd0..9f8890f21 100644 --- a/src/Splat.Tests/Colors/SplatColorTests.cs +++ b/src/Splat.Tests/Colors/SplatColorTests.cs @@ -1,4 +1,9 @@ -using System; +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/src/Splat.Tests/Logging/BaseTests/AllocationFreeLoggerBaseTestBase.cs b/src/Splat.Tests/Logging/BaseTests/AllocationFreeLoggerBaseTestBase.cs index a920a9137..7380300cb 100644 --- a/src/Splat.Tests/Logging/BaseTests/AllocationFreeLoggerBaseTestBase.cs +++ b/src/Splat.Tests/Logging/BaseTests/AllocationFreeLoggerBaseTestBase.cs @@ -1,4 +1,9 @@ -using System; +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using Xunit; diff --git a/src/Splat.Tests/Logging/WrappingFullLoggers/ExceptionlessLoggerTests.cs b/src/Splat.Tests/Logging/WrappingFullLoggers/ExceptionlessLoggerTests.cs index bd280a03b..abe8b2fd9 100644 --- a/src/Splat.Tests/Logging/WrappingFullLoggers/ExceptionlessLoggerTests.cs +++ b/src/Splat.Tests/Logging/WrappingFullLoggers/ExceptionlessLoggerTests.cs @@ -1,4 +1,9 @@ -#if !WINDOWS_UWP && !ANDROID +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +#if !WINDOWS_UWP && !ANDROID using System; using System.Collections.Generic; diff --git a/src/Splat.Tests/MemoizingMRUCacheTests.cs b/src/Splat.Tests/MemoizingMRUCacheTests.cs index 2242dd029..9509e63a1 100644 --- a/src/Splat.Tests/MemoizingMRUCacheTests.cs +++ b/src/Splat.Tests/MemoizingMRUCacheTests.cs @@ -1,4 +1,9 @@ -using System; +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +using System; using System.Linq; using Splat.Tests.Mocks; using Xunit; diff --git a/src/Splat.Tests/Mocks/TextLogger.cs b/src/Splat.Tests/Mocks/TextLogger.cs index 03819ec86..868e82631 100644 --- a/src/Splat.Tests/Mocks/TextLogger.cs +++ b/src/Splat.Tests/Mocks/TextLogger.cs @@ -18,13 +18,6 @@ public class TextLogger : ILogger, IMockLogTarget private readonly List _types = new List(); private readonly List<(LogLevel, string)> _logs = new List<(LogLevel, string)>(); - /// - /// Initializes a new instance of the class. - /// - public TextLogger() - { - } - /// public ICollection<(LogLevel logLevel, string message)> Logs => _logs; diff --git a/src/Splat.Tests/Platform/PlatformBitmapLoaderTests.cs b/src/Splat.Tests/Platform/PlatformBitmapLoaderTests.cs index 813421807..6cd934edc 100644 --- a/src/Splat.Tests/Platform/PlatformBitmapLoaderTests.cs +++ b/src/Splat.Tests/Platform/PlatformBitmapLoaderTests.cs @@ -1,4 +1,9 @@ -using System; +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Reflection; using System.Reflection.Emit; diff --git a/src/Splat.Tests/ServiceLocation/BaseDependencyResolverTests.cs b/src/Splat.Tests/ServiceLocation/BaseDependencyResolverTests.cs index 14ba2a757..cb350197c 100644 --- a/src/Splat.Tests/ServiceLocation/BaseDependencyResolverTests.cs +++ b/src/Splat.Tests/ServiceLocation/BaseDependencyResolverTests.cs @@ -1,4 +1,9 @@ -using System; +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Text; using Splat.NLog; diff --git a/src/Splat.Tests/ServiceLocation/ModernDependencyResolverTests.cs b/src/Splat.Tests/ServiceLocation/ModernDependencyResolverTests.cs index 20138c411..b151d8d1f 100644 --- a/src/Splat.Tests/ServiceLocation/ModernDependencyResolverTests.cs +++ b/src/Splat.Tests/ServiceLocation/ModernDependencyResolverTests.cs @@ -1,4 +1,9 @@ -using System; +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Text; using Xunit; diff --git a/src/Splat.Tests/Splat.Tests.csproj b/src/Splat.Tests/Splat.Tests.csproj index 87449c7ad..b900f6c80 100644 --- a/src/Splat.Tests/Splat.Tests.csproj +++ b/src/Splat.Tests/Splat.Tests.csproj @@ -1,12 +1,12 @@  - MonoAndroid90;netstandard2.0;netcoreapp3.1 + netcoreapp3.1 $(NoWarn);1591;CA1707;SA1633;CA2000;CA1034 - $(TargetFrameworks);net472;netcoreapp3.1;uap10.0.16299 + $(TargetFrameworks);net472 true true @@ -16,11 +16,11 @@ - - + + diff --git a/src/Splat.Tests/TargetFrameworkExtensionsTests.cs b/src/Splat.Tests/TargetFrameworkExtensionsTests.cs index c7b4b8558..60933233f 100644 --- a/src/Splat.Tests/TargetFrameworkExtensionsTests.cs +++ b/src/Splat.Tests/TargetFrameworkExtensionsTests.cs @@ -1,4 +1,9 @@ -using System; +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Reflection; using System.Text; diff --git a/src/Splat.Tests/XUnitHelpers.cs b/src/Splat.Tests/XUnitHelpers.cs index 6a1584db9..aad1162c7 100644 --- a/src/Splat.Tests/XUnitHelpers.cs +++ b/src/Splat.Tests/XUnitHelpers.cs @@ -1,4 +1,9 @@ -using System; +// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for full license information. + +using System; using System.Collections.Generic; using System.Text; diff --git a/src/Splat/Properties/AssemblyInfo.cs b/src/Splat/Properties/AssemblyInfo.cs index d969e5067..a7fca135e 100644 --- a/src/Splat/Properties/AssemblyInfo.cs +++ b/src/Splat/Properties/AssemblyInfo.cs @@ -6,3 +6,5 @@ using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Splat.Tests")] +[assembly: InternalsVisibleTo("Splat.TestRunner.Android")] +[assembly: InternalsVisibleTo("Splat.TestRunner.Uwp")]