Better unitTest
continuous-integration/drone/push Build is passing Details

pull/42/head
HMatheo 2 years ago
parent cc2b17e9c0
commit 16eaf21d4d

@ -1,11 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFrameworks>net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks> <TargetFrameworks>net7.0;</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks> <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks>
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET --> <!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
<!-- <TargetFrameworks>$(TargetFrameworks);net7.0-tizen</TargetFrameworks> --> <!-- <TargetFrameworks>$(TargetFrameworks);net7.0-tizen</TargetFrameworks> -->
<OutputType>Exe</OutputType> <OutputType Condition="'$(TargetFramework)' != 'net7.0'">Exe</OutputType>
<RootNamespace>MangaMap</RootNamespace> <RootNamespace>MangaMap</RootNamespace>
<UseMaui>true</UseMaui> <UseMaui>true</UseMaui>
<SingleProject>true</SingleProject> <SingleProject>true</SingleProject>

@ -62,7 +62,6 @@ namespace UnitTests
// Assert // Assert
// Since the implementation of Sauvegarder only calls Console.WriteLine, // Since the implementation of Sauvegarder only calls Console.WriteLine,
// we can't directly test the functionality, but we can assert that the method was called // we can't directly test the functionality, but we can assert that the method was called
// You can check the console output manually to verify the expected message
} }
} }
} }

Loading…
Cancel
Save