Skip to content

Commit

Permalink
Update test assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Evangelink committed Feb 22, 2022
1 parent b2fa2fa commit ba8b194
Show file tree
Hide file tree
Showing 20 changed files with 64 additions and 64 deletions.
4 changes: 2 additions & 2 deletions test/TestAssets/BlameUnitTestProject/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace BlameUnitTestProject;

using Microsoft.VisualStudio.TestTools.UnitTesting;

using System;

namespace BlameUnitTestProject;

[TestClass]
public class UnitTest1
{
Expand Down
6 changes: 3 additions & 3 deletions test/TestAssets/CUITTestProject/CodedUITest1.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using Microsoft.VisualStudio.TestTools.UITesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace CodedUITestProject
{
using Microsoft.VisualStudio.TestTools.UITesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;

[CodedUITest]
public class CodedUITestProject
{
Expand Down
4 changes: 2 additions & 2 deletions test/TestAssets/DisableAppdomainTest1/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace UnitTestProject1;

using System;
using System.IO;

using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace UnitTestProject1;

[TestClass]
public class UnitTest1
{
Expand Down
4 changes: 2 additions & 2 deletions test/TestAssets/DisableAppdomainTest2/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace UnitTestProject17;

using System;
using System.IO;

using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace UnitTestProject17;

[TestClass]
public class UnitTest1
{
Expand Down
3 changes: 1 addition & 2 deletions test/TestAssets/EventLogUnitTestProject/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace EventLogUnitTestProject;

using System.Diagnostics;

using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace EventLogUnitTestProject;

[TestClass]
public class UnitTest1
Expand Down
10 changes: 5 additions & 5 deletions test/TestAssets/LegacySettingsUnitTestProject/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace LegacySettingsUnitTestProject
{
using System.IO;
using System.Reflection;
using System.IO;
using System.Reflection;

using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace LegacySettingsUnitTestProject
{
[TestClass]
public class UnitTest1
{
Expand Down
5 changes: 2 additions & 3 deletions test/TestAssets/MstestV1UnitTestProject/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace MstestV1UnitTestProject
{
using Microsoft.VisualStudio.TestTools.UnitTesting;


[TestClass]
public class UnitTest1
{
Expand Down
4 changes: 2 additions & 2 deletions test/TestAssets/NUTestProject/Class1.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace NUnitTestProject;

using NUnit.Framework;

namespace NUnitTestProject;

[TestFixture]
public class NUnitTest1
{
Expand Down
7 changes: 4 additions & 3 deletions test/TestAssets/NewtonSoftDependency/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using Microsoft.VisualStudio.TestTools.UnitTesting;

using Newtonsoft.Json;

namespace NewtonSoftDependency
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;

public class Account
{
public string Email { get; set; }
Expand Down
12 changes: 6 additions & 6 deletions test/TestAssets/OutOfProcDataCollector/SampleDataCollector.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace OutOfProcDataCollector
{
using System;
using System.Collections.Generic;
using System.IO;
using System;
using System.Collections.Generic;
using System.IO;

using Microsoft.VisualStudio.TestPlatform.ObjectModel.DataCollection;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.DataCollection;

namespace OutOfProcDataCollector
{
[DataCollectorFriendlyName("SampleDataCollector")]
[DataCollectorTypeUri("my://sample/datacollector")]
public class SampleDataCollector : DataCollector, ITestExecutionEnvironmentSpecifier
Expand Down
4 changes: 2 additions & 2 deletions test/TestAssets/PerfTestProject/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace PerfTestProject
{
using Microsoft.VisualStudio.TestTools.UnitTesting;

/// <summary>
/// The unit test 1.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions test/TestAssets/SimpleClassLibrary/Class1.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System.Threading.Tasks;

namespace SimpleClassLibrary
{
using System.Threading.Tasks;

public class Class1
{
public void PassingTest()
Expand Down
14 changes: 7 additions & 7 deletions test/TestAssets/SimpleDataCollector/Class1.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace SimpleDataCollector
{
using System;
using System.IO;
using System;
using System.IO;

using Microsoft.VisualStudio.TestPlatform.ObjectModel.DataCollection;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.DataCollector.InProcDataCollector;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.InProcDataCollector;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.DataCollection;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.DataCollector.InProcDataCollector;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.InProcDataCollector;

namespace SimpleDataCollector
{
/// <summary>
/// The ti listener tests.
/// </summary>
Expand Down
10 changes: 5 additions & 5 deletions test/TestAssets/SimpleTestProject/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace SampleUnitTestProject
{
#if NETFRAMEWORK
using System;
using System.IO;
using System;
using System.IO;
#endif
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace SampleUnitTestProject
{
/// <summary>
/// The unit test 1.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions test/TestAssets/SimpleTestProject2/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace SampleUnitTestProject2;

using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace SampleUnitTestProject2;

/// <summary>
/// The unit test 1.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions test/TestAssets/SimpleTestProject3/TestSessionTimeoutTest.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace SampleUnitTestProject3
{
using Microsoft.VisualStudio.TestTools.UnitTesting;

[TestClass]
public class TestSessionTimeoutTest
{
Expand Down
17 changes: 9 additions & 8 deletions test/TestAssets/SimpleTestProject3/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace SampleUnitTestProject3
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;

using System;
using System.IO;
using System.Reflection;
using System.Threading;
using System;
using System.IO;
using System.Reflection;
using System.Threading;
#if NETFRAMEWORK
using System.Windows.Forms;
using System.Windows.Forms;
#endif

namespace SampleUnitTestProject3
{

[TestClass]
public class UnitTest1
{
Expand Down
4 changes: 2 additions & 2 deletions test/TestAssets/SimpleTestProjectARM/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace SimpleTestProjectARM
{
using Microsoft.VisualStudio.TestTools.UnitTesting;

/// <summary>
/// The unit test 1.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions test/TestAssets/SimpleTestProjectx86/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace SimpleTestProjectx86
{
using Microsoft.VisualStudio.TestTools.UnitTesting;

/// <summary>
/// The unit test 1.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions test/TestAssets/XUTestProject/Class1.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using Xunit;

#pragma warning disable IDE1006 // Naming Styles
namespace xUnitTestProject
#pragma warning restore IDE1006 // Naming Styles
{
using Xunit;

public class Class1
{
[Fact]
Expand Down

0 comments on commit ba8b194

Please sign in to comment.