Skip to content

Commit 612ead3

Browse files
committed
Code style fixes
***NO_CI***
1 parent c785652 commit 612ead3

26 files changed

+79
-130
lines changed

source/TestAdapter/DeploymentAssembly.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
//
2-
// Copyright (c) .NET Foundation and Contributors
3-
// See LICENSE file in the project root for full license information.
4-
//
5-
6-
using System.Collections.Generic;
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
73

84
namespace nanoFramework.TestPlatform.TestAdapter
95
{

source/TestAdapter/Discover.cs

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
1-
//
2-
// Copyright (c) .NET Foundation and Contributors
3-
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
4-
// See LICENSE file in the project root for full license information.
5-
//
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
63

7-
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
8-
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
9-
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
10-
using nanoFramework.TestAdapter;
11-
using nanoFramework.TestFramework;
124
using System;
135
using System.Collections.Generic;
146
using System.IO;
157
using System.Linq;
168
using System.Reflection;
179
using System.Runtime.InteropServices;
1810
using System.Text.RegularExpressions;
11+
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
12+
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
13+
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
14+
using nanoFramework.TestAdapter;
15+
using nanoFramework.TestFramework;
1916

2017
namespace nanoFramework.TestPlatform.TestAdapter
2118
{

source/TestAdapter/LogMessenger.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
//
2-
// Copyright (c) .NET Foundation and Contributors
3-
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
4-
// See LICENSE file in the project root for full license information.
5-
//
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
63

74
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
85
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;

source/TestAdapter/NanoCLRHelper.cs

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
//
2-
// Copyright (c) .NET Foundation and Contributors
3-
// See LICENSE file in the project root for full license information.
4-
//
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
53

6-
using CliWrap;
7-
using CliWrap.Buffered;
8-
using nanoFramework.TestPlatform.TestAdapter;
9-
using Newtonsoft.Json;
104
using System;
115
using System.ComponentModel;
126
using System.Net;
137
using System.Text.RegularExpressions;
148
using System.Threading;
9+
using CliWrap;
10+
using CliWrap.Buffered;
11+
using nanoFramework.TestPlatform.TestAdapter;
12+
using Newtonsoft.Json;
1513

1614
namespace nanoFramework.TestAdapter
1715
{

source/TestAdapter/Settings.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
//
2-
// Copyright (c) .NET Foundation and Contributors
3-
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
4-
// See LICENSE file in the project root for full license information.
5-
//
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
63

74
using System;
85
using System.Xml;

source/TestAdapter/SettingsProvider.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
//
2-
// Copyright (c) .NET Foundation and Contributors
3-
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
4-
// See LICENSE file in the project root for full license information.
5-
//
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
63

4+
using System.Xml;
75
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
86
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
9-
using System.Xml;
107

118
namespace nanoFramework.TestPlatform.TestAdapter
129
{

source/TestAdapter/TestObjectHelper.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
//
2-
// Copyright (c) .NET Foundation and Contributors
3-
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
4-
// See LICENSE file in the project root for full license information.
5-
//
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
63

74
using System.IO;
85
using System.Linq;
@@ -28,7 +25,7 @@ public static string GetNanoClrLocation()
2825
{
2926
return nanoClrFullPath;
3027
}
31-
28+
3229
var inititialDir = new DirectoryInfo(Path.GetDirectoryName(thisAssemblyDir));
3330
return FindNanoClr(inititialDir);
3431
}

source/TestAdapter/TestsConstants.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
//
2-
// Copyright (c) .NET Foundation and Contributors
3-
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
4-
// See LICENSE file in the project root for full license information.
5-
//
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
63

74
namespace nanoFramework.TestPlatform.TestAdapter
85
{

source/TestFramework/Assert.AreEqual.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
4+
using System;
25
using System.Diagnostics.CodeAnalysis;
36
using System.Runtime.CompilerServices;
47
using TestFrameworkShared;

source/TestFramework/Assert.AreNotEqual.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
4+
using System;
25
using System.Diagnostics.CodeAnalysis;
36
using System.Runtime.CompilerServices;
47
using TestFrameworkShared;

0 commit comments

Comments
 (0)