Skip to content

Commit

Permalink
added global using
Browse files Browse the repository at this point in the history
  • Loading branch information
Afischbacher committed Dec 31, 2023
1 parent ad82b4f commit c0c0cad
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 50 deletions.
4 changes: 1 addition & 3 deletions Nhl.Api.Tests/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

[assembly: Parallelize(Workers = 4, Scope = ExecutionScope.MethodLevel)]
[assembly: Parallelize(Workers = 4, Scope = ExecutionScope.MethodLevel)]
namespace Nhl.Api.Tests;

internal class AssemblyInfo
Expand Down
5 changes: 1 addition & 4 deletions Nhl.Api.Tests/CachingServiceTests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nhl.Api.Common.Services;
using Nhl.Api.Tests.Helpers.Attributes;
using System.Threading.Tasks;
using Nhl.Api.Common.Services;

namespace Nhl.Api.Tests;

Expand Down
4 changes: 1 addition & 3 deletions Nhl.Api.Tests/CountryCodeHelperTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nhl.Api.Common.Helpers;
using Nhl.Api.Tests.Helpers.Attributes;
using Nhl.Api.Common.Helpers;

namespace Nhl.Api.Tests;

Expand Down
5 changes: 1 addition & 4 deletions Nhl.Api.Tests/DateTimeHelperTests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nhl.Api.Common.Helpers;
using Nhl.Api.Tests.Helpers.Attributes;
using System;
using Nhl.Api.Common.Helpers;

namespace Nhl.Api.Tests;

Expand Down
4 changes: 0 additions & 4 deletions Nhl.Api.Tests/GameTests.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nhl.Api.Tests.Helpers.Attributes;
using System;
using System.Linq;
using System.Threading.Tasks;

namespace Nhl.Api.Tests;

Expand Down
5 changes: 5 additions & 0 deletions Nhl.Api.Tests/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
global using System;
global using System.Collections.Generic;
global using System.Threading.Tasks;
global using Microsoft.VisualStudio.TestTools.UnitTesting;
global using Nhl.Api.Tests.Helpers.Attributes;
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
using System.Linq;
using System.Threading;

namespace Nhl.Api.Tests.Helpers.Attributes;
Expand Down
5 changes: 0 additions & 5 deletions Nhl.Api.Tests/LeagueTests.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nhl.Api.Enumerations.Game;
using Nhl.Api.Models.Enumerations.Player;
using Nhl.Api.Models.Enumerations.Team;
using Nhl.Api.Models.Season;
using Nhl.Api.Models.Team;
using Nhl.Api.Tests.Helpers.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Nhl.Api.Tests;

Expand Down
5 changes: 1 addition & 4 deletions Nhl.Api.Tests/LinqExtensionTests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nhl.Api.Tests.Helpers.Attributes;
using System.Collections.Generic;
using System.Linq;
using System.Linq;

namespace Nhl.Api.Tests;

Expand Down
5 changes: 1 addition & 4 deletions Nhl.Api.Tests/NhlApiAsyncHelperTests.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nhl.Api.Common.Services;
using Nhl.Api.Tests.Helpers.Attributes;
using Nhl.Api.Common.Services;
using System.Collections.Concurrent;
using System.Linq;
using System.Threading.Tasks;

namespace Nhl.Api.Tests;

Expand Down
5 changes: 1 addition & 4 deletions Nhl.Api.Tests/PlayerTests.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nhl.Api.Enumerations.Game;
using Nhl.Api.Enumerations.Game;
using Nhl.Api.Models.Enumerations.Player;
using Nhl.Api.Models.Season;
using Nhl.Api.Tests.Helpers.Attributes;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;

namespace Nhl.Api.Tests;

Expand Down
6 changes: 1 addition & 5 deletions Nhl.Api.Tests/ResourceDisposeTests.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nhl.Api.Tests.Helpers.Attributes;
using System.Threading.Tasks;

namespace Nhl.Api.Tests;
namespace Nhl.Api.Tests;

[TestClass]
public class ResourceDisposeTests
Expand Down
3 changes: 0 additions & 3 deletions Nhl.Api.Tests/StatisticsTests.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nhl.Api.Enumerations.Game;
using Nhl.Api.Enumerations.Statistic;
using Nhl.Api.Models.Season;
using Nhl.Api.Tests.Helpers.Attributes;
using System.Linq;
using System.Threading.Tasks;

namespace Nhl.Api.Tests;

Expand Down
4 changes: 0 additions & 4 deletions Nhl.Api.Tests/TeamTests.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nhl.Api.Models.Enumerations.Team;
using Nhl.Api.Models.Season;
using Nhl.Api.Models.Team;
using Nhl.Api.Tests.Helpers.Attributes;
using System;
using System.Linq;
using System.Threading.Tasks;

namespace Nhl.Api.Tests;

Expand Down

0 comments on commit c0c0cad

Please sign in to comment.