File tree Expand file tree Collapse file tree 8 files changed +38
-19
lines changed
UITests/UITests.Tests.Shared
UnitTests.HighPerformance.UWP
UnitTests.Notifications.UWP Expand file tree Collapse file tree 8 files changed +38
-19
lines changed Original file line number Diff line number Diff line change 22// The .NET Foundation licenses this file to you under the MIT license.
33// See the LICENSE file in the project root for more information.
44
5- using Microsoft . Windows . Apps . Test . Foundation ;
6- using Microsoft . Windows . Apps . Test . Foundation . Controls ;
7- using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Common ;
8- using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Infra ;
9- using System . Linq ;
10- using System . Threading . Tasks ;
5+ using System ;
116using System . Collections . Generic ;
127using System . Dynamic ;
13- using System ;
8+ using System . Linq ;
9+ using System . Threading . Tasks ;
10+
11+ using Microsoft . Windows . Apps . Test . Foundation ;
12+ using Microsoft . Windows . Apps . Test . Foundation . Controls ;
1413
1514#if USING_TAEF
1615using WEX . Logging . Interop ;
2019using Microsoft . VisualStudio . TestTools . UnitTesting ;
2120#endif
2221
22+ using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Common ;
23+ using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Infra ;
24+
2325namespace UITests . Tests
2426{
25-
2627 [ TestClass ]
2728 public class GridSplitterTest : UITestBase
2829 {
Original file line number Diff line number Diff line change 33// See the LICENSE file in the project root for more information.
44
55using Microsoft . Windows . Apps . Test . Foundation . Controls ;
6- using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Common ;
7- using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Infra ;
86
97#if USING_TAEF
108using WEX . Logging . Interop ;
1412using Microsoft . VisualStudio . TestTools . UnitTesting ;
1513#endif
1614
15+ using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Common ;
16+ using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Infra ;
17+
1718namespace UITests . Tests
1819{
19-
2020 [ TestClass ]
2121 public class RangeSelectorTest : UITestBase
2222 {
Original file line number Diff line number Diff line change 22// The .NET Foundation licenses this file to you under the MIT license.
33// See the LICENSE file in the project root for more information.
44
5+ using Microsoft . Windows . Apps . Test . Automation ;
56using Microsoft . Windows . Apps . Test . Foundation ;
67using Microsoft . Windows . Apps . Test . Foundation . Controls ;
78using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Common ;
89using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Infra ;
9- using Microsoft . Windows . Apps . Test . Automation ;
1010
1111#if USING_TAEF
1212using WEX . Logging . Interop ;
Original file line number Diff line number Diff line change 66using System . IO ;
77using System . Linq ;
88using System . Reflection ;
9- using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Common ;
10- using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Infra ;
119using System . Threading . Tasks ;
1210
1311#if USING_TAEF
1816using Microsoft . VisualStudio . TestTools . UnitTesting ;
1917#endif
2018
19+ using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Common ;
20+ using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Infra ;
21+
2122namespace UITests . Tests
2223{
2324 public abstract class UITestBase
Original file line number Diff line number Diff line change 152152 <PackageReference Include =" System.Runtime.CompilerServices.Unsafe" >
153153 <Version >5.0.0</Version >
154154 </PackageReference >
155+ <!-- For warnings ILT0010, ILT0005, ILT0003 -->
156+ <PackageReference Include =" System.Xml.XPath.XmlDocument" >
157+ <Version >4.0.1</Version >
158+ </PackageReference >
155159 </ItemGroup >
156160 <ItemGroup >
157161 <ProjectReference Include =" ..\..\Microsoft.Toolkit.HighPerformance\Microsoft.Toolkit.HighPerformance.csproj" >
Original file line number Diff line number Diff line change @@ -361,15 +361,15 @@ public enum Animal
361361 public partial class ModelWithValueProperty : ObservableObject
362362 {
363363 [ ObservableProperty ]
364- private string value ;
364+ private string ? value ;
365365 }
366366
367367 public partial class ModelWithValuePropertyWithValidation : ObservableValidator
368368 {
369369 [ ObservableProperty ]
370370 [ Required ]
371371 [ MinLength ( 5 ) ]
372- private string value ;
372+ private string ? value ;
373373 }
374374
375375 public partial class ViewModelWithValidatableGeneratedProperties : ObservableValidator
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ namespace UnitTests.Notifications.UWP
1616 /// </summary>
1717 public sealed partial class App : Application
1818 {
19+ /// <summary>
20+ /// Initializes a new instance of the <see cref="App"/> class.
21+ /// </summary>
1922 public App ( )
2023 {
2124 InitializeComponent ( ) ;
Original file line number Diff line number Diff line change 1- [* .{cs,vb} ]
21
3- # SA1601: Partial elements should be documented
2+ # Analyzer Configurations for Unit Test sources
3+
4+ # C# Source Files
5+ [* .cs ]
6+
7+ # A C# partial element is missing a documentation header.
48dotnet_diagnostic.SA1601.severity = none
9+
10+ # The Parameter has no matching param tag in the XML comment.
511dotnet_diagnostic.CS1573.severity = none
12+
13+ # Missing XML comment for publicly visible type or member.
614dotnet_diagnostic.CS1591.severity = none
7- dotnet_diagnostic.CS1712.severity = none
15+
16+ # The Type parameter has no matching typeparam tag in the XML comment.
17+ dotnet_diagnostic.CS1712.severity = none
You can’t perform that action at this time.
0 commit comments