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

Feature/add testing project and refactor jsoncanonicalizer #2

Open
wants to merge 18 commits into
base: main
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
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added

- Unit-Test project for aaspe-common (@Freezor)

### Changed

- Made internals of aaspe-common visible for aaspe-common-tests (@Freezor)
- Extracted JsonDecoder from JsonConverter (@Freezor)
- Extracted JsonScanner and JsonConverter from JsonDecoder and made them internal (@Freezor)
- Simplified JsonDecoder and made the methods smaller and better maintainable (@Freezor)

### Fixed

- Formatting of .csproj files (@Freezor)

### Updated

- aaspe-common: JetBrains.Annotations from 2022.1.0 to 2023.3.0 (@Freezor)
- aaspe-common: NJsonSchema from 10.8.0 to 11.0.0 (@Freezor)
- aaspe-common: System.IO.Packaging from 6.0.0 to 8.0.0 (@Freezor)
56 changes: 28 additions & 28 deletions src/aaspe-aascore/aaspe-aascore.csproj
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>aaspe_aascore</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Title>Eclipse AASX Package Explorer and Server - AasCoreLibrary </Title>
<PackageId>Aaspe.AasCore</PackageId>
<Version>1.0.2</Version>
<PackageProjectUrl>https://projects.eclipse.org/projects/dt.aaspe</PackageProjectUrl>
<RepositoryUrl>https://github.com/eclipse-aaspe/aaspe-common</RepositoryUrl>
<PackageTags>aas; industrie4.0</PackageTags>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageIcon>favicon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>aaspe_aascore</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Title>Eclipse AASX Package Explorer and Server - AasCoreLibrary</Title>
<PackageId>Aaspe.AasCore</PackageId>
<Version>1.0.2</Version>
<PackageProjectUrl>https://projects.eclipse.org/projects/dt.aaspe</PackageProjectUrl>
<RepositoryUrl>https://github.com/eclipse-aaspe/aaspe-common</RepositoryUrl>
<PackageTags>aas; industrie4.0</PackageTags>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageIcon>favicon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3"/>
</ItemGroup>

<ItemGroup>
<None Include="assets\favicon.png">
<PackagePath>\</PackagePath>
<Pack>True</Pack>
</None>
<None Include="assets\README.md">
<PackagePath>\</PackagePath>
<Pack>True</Pack>
</None>
</ItemGroup>
<ItemGroup>
<None Include="assets\favicon.png">
<PackagePath>\</PackagePath>
<Pack>True</Pack>
</None>
<None Include="assets\README.md">
<PackagePath>\</PackagePath>
<Pack>True</Pack>
</None>
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions src/aaspe-common-tests/Usings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
global using Xunit;
32 changes: 32 additions & 0 deletions src/aaspe-common-tests/aaspe-common-tests.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>aaspe_common_tests</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

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

<ItemGroup>
<PackageReference Include="AutoFixture.AutoMoq" Version="4.18.1" />
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0"/>
<PackageReference Include="Moq" Version="4.20.70" />
<PackageReference Include="xunit" Version="2.4.1"/>
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\aaspe-common\aaspe-common.csproj" />
</ItemGroup>

</Project>
Loading