Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade frameworks and packages and remove unused imported libraries in codes #23

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions BuildScript/Build.cs
Original file line number Diff line number Diff line change
@@ -1,26 +1,15 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Nuke.Common;
using Nuke.Common.CI;
using Nuke.Common.CI.AzurePipelines;
using Nuke.Common.Execution;
using Nuke.Common.Git;
using Nuke.Common.IO;
using Nuke.Common.ProjectModel;
using Nuke.Common.Tooling;
using Nuke.Common.Tools.Coverlet;
using Nuke.Common.Tools.DotNet;
using Nuke.Common.Tools.GitVersion;
using Nuke.Common.Tools.NuGet;
using Nuke.Common.Utilities.Collections;
using static Nuke.Common.EnvironmentInfo;
using static Nuke.Common.IO.FileSystemTasks;
using static Nuke.Common.IO.PathConstruction;
using static Nuke.Common.Tools.DotNet.DotNetTasks;
using static Nuke.Common.Tools.NuGet.NuGetTasks;
using static Nuke.Common.Tools.NuGet.NuGetPackSettingsExtensions;


[CheckBuildProjectConfigurations]
Expand Down
5 changes: 1 addition & 4 deletions Code/src/Suzianna.Core/Events/Broadcaster.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading;

namespace Suzianna.Core.Events
{
Expand Down
2 changes: 0 additions & 2 deletions Code/src/Suzianna.Core/Events/DelegatingEventHandler.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Suzianna.Core.Events
{
Expand Down
3 changes: 1 addition & 2 deletions Code/src/Suzianna.Core/Events/EventBus.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;

namespace Suzianna.Core.Events
{
Expand Down
6 changes: 1 addition & 5 deletions Code/src/Suzianna.Core/Events/IEvent.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Suzianna.Core.Events
namespace Suzianna.Core.Events
{
public interface IEvent
{
Expand Down
5 changes: 1 addition & 4 deletions Code/src/Suzianna.Core/Events/IEventBus.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System.Collections.Generic;
using System.Text;

namespace Suzianna.Core.Events
namespace Suzianna.Core.Events
{
internal interface IEventBus
{
Expand Down
6 changes: 1 addition & 5 deletions Code/src/Suzianna.Core/Events/IEventHandler.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Suzianna.Core.Events
namespace Suzianna.Core.Events
{
public interface IEventHandler
{
Expand Down
6 changes: 1 addition & 5 deletions Code/src/Suzianna.Core/Events/ISelfDescriptiveEvent.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Suzianna.Core.Events
namespace Suzianna.Core.Events
{
public interface ISelfDescriptiveEvent : IEvent, ICanDescribeMyself
{
Expand Down
6 changes: 1 addition & 5 deletions Code/src/Suzianna.Core/ICanDescribeMyself.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Suzianna.Core
namespace Suzianna.Core
{
public interface ICanDescribeMyself
{
Expand Down
7 changes: 1 addition & 6 deletions Code/src/Suzianna.Core/Screenplay/ITask.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using Suzianna.Core.Screenplay.Actors;

namespace Suzianna.Core.Screenplay
namespace Suzianna.Core.Screenplay
{
/// <summary>
/// Represents a high-level activity that an Actor needs to perform in order to achieve their Goal
Expand Down
6 changes: 1 addition & 5 deletions Code/src/Suzianna.Core/Screenplay/Questions/Remember.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Suzianna.Core.Screenplay.Questions
namespace Suzianna.Core.Screenplay.Questions
{
public static class Remember
{
Expand Down
4 changes: 2 additions & 2 deletions Code/src/Suzianna.Core/Suzianna.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0;net7.0;net8.0;net9.0;</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="nfluent" Version="2.5.0" />
<PackageReference Include="nfluent" Version="3.0.4" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 0 additions & 2 deletions Code/src/Suzianna.Reporting/DateTimeExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Suzianna.Reporting
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Suzianna.Reporting.Exceptions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Suzianna.Reporting.Exceptions
{
Expand Down
2 changes: 0 additions & 2 deletions Code/src/Suzianna.Reporting/IClock.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Suzianna.Reporting
{
Expand Down
4 changes: 1 addition & 3 deletions Code/src/Suzianna.Reporting/ListExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Suzianna.Reporting
{
Expand Down
6 changes: 1 addition & 5 deletions Code/src/Suzianna.Reporting/ReportConstants.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Suzianna.Reporting
namespace Suzianna.Reporting
{
public static class ReportConstants
{
Expand Down
1 change: 0 additions & 1 deletion Code/src/Suzianna.Reporting/ReportParser.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Suzianna.Reporting.XmlNodes;

Expand Down
2 changes: 1 addition & 1 deletion Code/src/Suzianna.Reporting/Suzianna.Reporting.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0;net7.0;net8.0;net9.0;</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<Compile Update="ExceptionMessages.Designer.cs">
Expand Down
2 changes: 0 additions & 2 deletions Code/src/Suzianna.Reporting/SystemClock.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Suzianna.Reporting
{
Expand Down
7 changes: 1 addition & 6 deletions Code/src/Suzianna.Reporting/Template/XmlAgent.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
using System.IO;
using System.Xml;
using System.Xml.Linq;
using System.Xml.Serialization;
using Suzianna.Reporting.XmlNodes;

Expand Down
1 change: 0 additions & 1 deletion Code/src/Suzianna.Reporting/XmlNodes/Report.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Suzianna.Reporting.Exceptions;

namespace Suzianna.Reporting.XmlNodes
Expand Down
5 changes: 1 addition & 4 deletions Code/src/Suzianna.Rest/Events/HttpRequestSentEvent.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.Net;
using System.Net;
using System.Net.Http;
using System.Text;
using Suzianna.Core.Events;

namespace Suzianna.Rest.Events
Expand Down
6 changes: 1 addition & 5 deletions Code/src/Suzianna.Rest/OAuth/GetAccessToken.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Suzianna.Rest.OAuth
namespace Suzianna.Rest.OAuth
{
public static class GetAccessToken
{
Expand Down
5 changes: 1 addition & 4 deletions Code/src/Suzianna.Rest/OAuth/OAuthToken.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json;

namespace Suzianna.Rest.OAuth
{
Expand Down
5 changes: 1 addition & 4 deletions Code/src/Suzianna.Rest/OAuth/RopcFlowTask.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using System.Net;
using Suzianna.Core.Screenplay;
using Suzianna.Core.Screenplay.Actors;
using Suzianna.Rest.Screenplay.Interactions;
Expand Down
6 changes: 1 addition & 5 deletions Code/src/Suzianna.Rest/OAuth/TokenConstants.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Suzianna.Rest.OAuth
namespace Suzianna.Rest.OAuth
{
public static class TokenConstants
{
Expand Down
4 changes: 1 addition & 3 deletions Code/src/Suzianna.Rest/Screenplay/Interactions/Patch.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.IO;

namespace Suzianna.Rest.Screenplay.Interactions
namespace Suzianna.Rest.Screenplay.Interactions
{
public class Patch : HttpInteraction
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Newtonsoft.Json;
using Suzianna.Core.Screenplay;
using Suzianna.Core.Screenplay.Actors;
using Suzianna.Core.Screenplay.Questions;
using Suzianna.Rest.Screenplay.Abilities;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Suzianna.Core.Screenplay;
using System.Linq;
using Suzianna.Core.Screenplay.Actors;
using Suzianna.Core.Screenplay.Questions;
using Suzianna.Rest.Screenplay.Abilities;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Net.Http.Headers;
using Suzianna.Core.Screenplay;
using Suzianna.Core.Screenplay.Actors;
using Suzianna.Core.Screenplay.Questions;
using Suzianna.Rest.Screenplay.Abilities;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Net.Http;
using Suzianna.Core.Screenplay;
using Suzianna.Core.Screenplay.Actors;
using Suzianna.Core.Screenplay.Questions;
using Suzianna.Rest.Screenplay.Abilities;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Net;
using Suzianna.Core.Screenplay;
using Suzianna.Core.Screenplay.Actors;
using Suzianna.Core.Screenplay.Questions;
using Suzianna.Rest.Screenplay.Abilities;
Expand Down
3 changes: 1 addition & 2 deletions Code/src/Suzianna.Rest/Serialization/JsonSerializer.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using Newtonsoft.Json;
using Newtonsoft.Json;

namespace Suzianna.Rest.Serialization
{
Expand Down
3 changes: 1 addition & 2 deletions Code/src/Suzianna.Rest/Serialization/XmlSerializer.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.IO;
using YAXLib;
using YAXLib;

namespace Suzianna.Rest.Serialization
{
Expand Down
4 changes: 2 additions & 2 deletions Code/src/Suzianna.Rest/Suzianna.Rest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@


<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0;net7.0;net8.0;net9.0;</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="newtonsoft.json" Version="13.0.1" />
<PackageReference Include="YAXLib" Version="2.15.0" />
<PackageReference Include="YAXLib" Version="4.2.2" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0;</TargetFrameworks>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="xunit" Version="2.8.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using NFluent;
using Suzianna.Core.Events;
using Suzianna.Core.Screenplay;
using Suzianna.Core.Screenplay.Actors;
using Suzianna.Core.Screenplay.Actors.Events;
using Suzianna.Core.Tests.Unit.Tests.Utilities;
using Suzianna.Core.Tests.Unit.Utils.Constants;
using Suzianna.Core.Tests.Unit.Utils.TestDoubles;
using Xunit;

namespace Suzianna.Core.Tests.Unit.Tests.Screenplay
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using NFluent;
using Suzianna.Core.Screenplay;
using Suzianna.Core.Screenplay.Actors;
using Suzianna.Core.Screenplay.Questions;
using Suzianna.Core.Tests.Unit.Utils.Constants;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using NFluent;
using Suzianna.Core.Screenplay;
using Suzianna.Core.Screenplay.Actors;
using Suzianna.Core.Screenplay.Questions;
using Suzianna.Core.Tests.Unit.Utils.Constants;
Expand Down
Loading