Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-merkle committed Jan 8, 2024
1 parent 8e16f30 commit 60661af
Show file tree
Hide file tree
Showing 39 changed files with 1,087 additions and 1,211 deletions.
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,30 @@ A C# wrapper for a RabbitMQ client.

## Status

| | |
|----------------------:|-----------------------|
| Build & Test Status (main) | [![Build&Test](https://github.com/jjm-one/jjm.one.RabbitMqClientWrapper/actions/workflows/dotnet.yml/badge.svg)](https://github.com/jjm-one/jjm.one.RabbitMqClientWrapper/actions/workflows/dotnet.yml) |
| Nuget Package Version | [![Nuget Version](https://img.shields.io/nuget/v/jjm.one.RabbitMqClientWrapper?style=flat-square)](https://www.nuget.org/packages/jjm.one.RabbitMqClientWrapper/) |
| | |
|------------------------------:|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Build & Test Status (main) | [![Build&Test](https://github.com/jjm-one/jjm.one.RabbitMqClientWrapper/actions/workflows/dotnet.yml/badge.svg)](https://github.com/jjm-one/jjm.one.RabbitMqClientWrapper/actions/workflows/dotnet.yml) |
| Nuget Package Version | [![Nuget Version](https://img.shields.io/nuget/v/jjm.one.RabbitMqClientWrapper?style=flat-square)](https://www.nuget.org/packages/jjm.one.RabbitMqClientWrapper/) |
| SonarCloudQuality Gate Status | [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=jjm-one_jjm.one.RabbitMqClientWrapper&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=jjm-one_jjm.one.RabbitMqClientWrapper) |

## Table of contents

- [jjm.one.RabbitMqClientWrapper](#jjmonerabbitmqclientwrapper)
- [Status](#status)
- [Table of contents](#table-of-contents)
- [Nuget Package](#nuget-package)
- [Full Documentation](#full-documentation)
- [Repo](#repo)
- [Status](#status)
- [Table of contents](#table-of-contents)
- [Nuget Package](#nuget-package)
- [Full Documentation](#full-documentation)
- [Repo](#repo)

## Nuget Package

You can get the latest version of this software as a nuget package form [nuget.org](https://www.nuget.org/packages/jjm.one.RabbitMqClientWrapper/)
You can get the latest version of this software as a nuget package
form [nuget.org](https://www.nuget.org/packages/jjm.one.RabbitMqClientWrapper/)

## Full Documentation

The full documentation for this package can be found [here](https://jjm-one.github.io/jjm.one.RabbitMqClientWrapper/main/doc/html/index.html).
The full documentation for this package can be
found [here](https://jjm-one.github.io/jjm.one.RabbitMqClientWrapper/main/doc/html/index.html).

## Repo

Expand Down
3 changes: 2 additions & 1 deletion src/jjm.one.RabbitMqClientWrapper.Tests/Usings.cs
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
global using Xunit;
global using Xunit;
global using FluentAssertions;
11 changes: 5 additions & 6 deletions src/jjm.one.RabbitMqClientWrapper.Tests/di/RmqcWrapperDiTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using FluentAssertions;
using jjm.one.RabbitMqClientWrapper.di;
using jjm.one.RabbitMqClientWrapper.main;
using jjm.one.RabbitMqClientWrapper.types;
Expand All @@ -8,7 +7,7 @@
namespace jjm.one.RabbitMqClientWrapper.Tests.di;

/// <summary>
/// This class contains the unit tests for the <see cref="RmqcWrapperDi"/> class.
/// This class contains the unit tests for the <see cref="RmqcWrapperDi" /> class.
/// </summary>
public class RmqcWrapperDiTests
{
Expand All @@ -17,23 +16,23 @@ public class RmqcWrapperDiTests
private readonly IHostBuilder _hostBuilder;

#endregion

#region ctor

/// <summary>
/// The default constructor of the <see cref="RmqcWrapperDiTests"/> class.
/// The default constructor of the <see cref="RmqcWrapperDiTests" /> class.
/// </summary>
public RmqcWrapperDiTests()
{
_hostBuilder = Host.CreateDefaultBuilder();
}

#endregion

#region tests

/// <summary>
/// Tests the static AddRmqcCore function.
/// Tests the static AddRmqcCore function.
/// </summary>
[Fact]
public void RmqcWrapperDiTest_AddRmqcWrapperTest()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using FluentAssertions;
using jjm.one.RabbitMqClientWrapper.di.core;
using jjm.one.RabbitMqClientWrapper.main.core;
using jjm.one.RabbitMqClientWrapper.types;
Expand All @@ -8,7 +7,7 @@
namespace jjm.one.RabbitMqClientWrapper.Tests.di.core;

/// <summary>
/// This class contains the unit tests for the <see cref="RmqcCoreDi"/> class.
/// This class contains the unit tests for the <see cref="RmqcCoreDi" /> class.
/// </summary>
public class RmqcCoreDiTests
{
Expand All @@ -17,23 +16,23 @@ public class RmqcCoreDiTests
private readonly IHostBuilder _hostBuilder;

#endregion

#region ctor

/// <summary>
/// The default constructor of the <see cref="RmqcCoreDiTests"/> class.
/// The default constructor of the <see cref="RmqcCoreDiTests" /> class.
/// </summary>
public RmqcCoreDiTests()
{
_hostBuilder = Host.CreateDefaultBuilder();
}

#endregion

#region tests

/// <summary>
/// Tests the static AddRmqcCore function.
/// Tests the static AddRmqcCore function.
/// </summary>
[Fact]
public void RmqcCoreDiTest_AddRmqcCoreTest()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,56 +1,50 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>1.0.0-alpha.7</Version>
<Authors>Jonas Merkle [JJM] </Authors>
<Copyright>© by Jonas Merkle [JJM], 2024.</Copyright>
<RootNamespace>jjm.one.RabbitMqClientWrapper.Tests</RootNamespace>
<Title>jjm.one.RabbitMqClientWrapper.Tests</Title>
<Description>A csharp wrapper for a RabbitMQ client. (Unit-Tests)</Description>
<PackageTags>utility, helper, wrapper, rabbitmq, client, csharp</PackageTags>
<PackageProjectUrl>https://github.com/jjm-one/jjm.one.RabbitMqClientWrapper</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/jjm-one/jjm.one.RabbitMqClientWrapper.git</RepositoryUrl>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>jjm.one.RabbitMqClientWrapper.Tests.SignKey.snk</AssemblyOriginatorKeyFile>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>1.0.0-alpha.7</Version>
<Authors>Jonas Merkle [JJM]</Authors>
<Copyright>© by Jonas Merkle [JJM], 2024.</Copyright>
<RootNamespace>jjm.one.RabbitMqClientWrapper.Tests</RootNamespace>
<Title>jjm.one.RabbitMqClientWrapper.Tests</Title>
<Description>A csharp wrapper for a RabbitMQ client. (Unit-Tests)</Description>
<PackageTags>utility, helper, wrapper, rabbitmq, client, csharp</PackageTags>
<PackageProjectUrl>https://github.com/jjm-one/jjm.one.RabbitMqClientWrapper</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/jjm-one/jjm.one.RabbitMqClientWrapper.git</RepositoryUrl>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>jjm.one.RabbitMqClientWrapper.Tests.SignKey.snk</AssemblyOriginatorKeyFile>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<LangVersion>latestmajor</LangVersion>
<DocumentationFile></DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<LangVersion>latestmajor</LangVersion>
<DocumentationFile></DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<LangVersion>latestmajor</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<LangVersion>latestmajor</LangVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="Moq" Version="4.20.70" />
<PackageReference Include="xunit" Version="2.6.5" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.TestPlatform.TestHost" Version="17.8.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.12.0"/>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0"/>
<PackageReference Include="Moq" Version="4.20.70"/>
<PackageReference Include="xunit" Version="2.6.5"/>
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.TestPlatform.TestHost" Version="17.8.0"/>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0"/>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\jjm.one.RabbitMqClientWrapper\jjm.one.RabbitMqClientWrapper.csproj" />
</ItemGroup>

<ItemGroup>
<Folder Include="util\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\jjm.one.RabbitMqClientWrapper\jjm.one.RabbitMqClientWrapper.csproj"/>
</ItemGroup>
</Project>
Loading

0 comments on commit 60661af

Please sign in to comment.