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 2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
// See the LICENSE file in the project root for more information.
4
4
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 ;
11
6
using System . Collections . Generic ;
12
7
using 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 ;
14
13
15
14
#if USING_TAEF
16
15
using WEX . Logging . Interop ;
20
19
using Microsoft . VisualStudio . TestTools . UnitTesting ;
21
20
#endif
22
21
22
+ using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Common ;
23
+ using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Infra ;
24
+
23
25
namespace UITests . Tests
24
26
{
25
-
26
27
[ TestClass ]
27
28
public class GridSplitterTest : UITestBase
28
29
{
Original file line number Diff line number Diff line change 3
3
// See the LICENSE file in the project root for more information.
4
4
5
5
using Microsoft . Windows . Apps . Test . Foundation . Controls ;
6
- using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Common ;
7
- using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Infra ;
8
6
9
7
#if USING_TAEF
10
8
using WEX . Logging . Interop ;
14
12
using Microsoft . VisualStudio . TestTools . UnitTesting ;
15
13
#endif
16
14
15
+ using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Common ;
16
+ using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Infra ;
17
+
17
18
namespace UITests . Tests
18
19
{
19
-
20
20
[ TestClass ]
21
21
public class RangeSelectorTest : UITestBase
22
22
{
Original file line number Diff line number Diff line change 2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
// See the LICENSE file in the project root for more information.
4
4
5
+ using Microsoft . Windows . Apps . Test . Automation ;
5
6
using Microsoft . Windows . Apps . Test . Foundation ;
6
7
using Microsoft . Windows . Apps . Test . Foundation . Controls ;
7
8
using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Common ;
8
9
using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Infra ;
9
- using Microsoft . Windows . Apps . Test . Automation ;
10
10
11
11
#if USING_TAEF
12
12
using WEX . Logging . Interop ;
Original file line number Diff line number Diff line change 6
6
using System . IO ;
7
7
using System . Linq ;
8
8
using System . Reflection ;
9
- using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Common ;
10
- using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Infra ;
11
9
using System . Threading . Tasks ;
12
10
13
11
#if USING_TAEF
18
16
using Microsoft . VisualStudio . TestTools . UnitTesting ;
19
17
#endif
20
18
19
+ using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Common ;
20
+ using Windows . UI . Xaml . Tests . MUXControls . InteractionTests . Infra ;
21
+
21
22
namespace UITests . Tests
22
23
{
23
24
public abstract class UITestBase
Original file line number Diff line number Diff line change 152
152
<PackageReference Include =" System.Runtime.CompilerServices.Unsafe" >
153
153
<Version >5.0.0</Version >
154
154
</PackageReference >
155
+ <!-- For warnings ILT0010, ILT0005, ILT0003 -->
156
+ <PackageReference Include =" System.Xml.XPath.XmlDocument" >
157
+ <Version >4.0.1</Version >
158
+ </PackageReference >
155
159
</ItemGroup >
156
160
<ItemGroup >
157
161
<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
361
361
public partial class ModelWithValueProperty : ObservableObject
362
362
{
363
363
[ ObservableProperty ]
364
- private string value ;
364
+ private string ? value ;
365
365
}
366
366
367
367
public partial class ModelWithValuePropertyWithValidation : ObservableValidator
368
368
{
369
369
[ ObservableProperty ]
370
370
[ Required ]
371
371
[ MinLength ( 5 ) ]
372
- private string value ;
372
+ private string ? value ;
373
373
}
374
374
375
375
public partial class ViewModelWithValidatableGeneratedProperties : ObservableValidator
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ namespace UnitTests.Notifications.UWP
16
16
/// </summary>
17
17
public sealed partial class App : Application
18
18
{
19
+ /// <summary>
20
+ /// Initializes a new instance of the <see cref="App"/> class.
21
+ /// </summary>
19
22
public App ( )
20
23
{
21
24
InitializeComponent ( ) ;
Original file line number Diff line number Diff line change 1
- [* .{cs,vb} ]
2
1
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.
4
8
dotnet_diagnostic.SA1601.severity = none
9
+
10
+ # The Parameter has no matching param tag in the XML comment.
5
11
dotnet_diagnostic.CS1573.severity = none
12
+
13
+ # Missing XML comment for publicly visible type or member.
6
14
dotnet_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