|
@@ -9,17 +9,17 @@ namespace QuestPDF.VisualTests
|
|
|
[OneTimeSetUp]
|
|
[OneTimeSetUp]
|
|
|
public static void Setup()
|
|
public static void Setup()
|
|
|
{
|
|
{
|
|
|
- var currentRuntime = NativeDependencyProvider.GetRuntimePlatform();
|
|
|
|
|
-
|
|
|
|
|
- if (currentRuntime != "osx-arm64")
|
|
|
|
|
- {
|
|
|
|
|
- Assert.Ignore(
|
|
|
|
|
- "Visual tests are performed based on osx-arm64 runtime output. " +
|
|
|
|
|
- "Each operating system (Windows, Linux, macOS) uses different font analysis and text rendering libraries. " +
|
|
|
|
|
- "Moreover, each CPU architecture may produce slightly different floating-point calculation results. " +
|
|
|
|
|
- "This may lead to different results even though the same code and configuration are used. " +
|
|
|
|
|
- "Therefore, visual tests are not expected to pass entirely on other operating systems or CPU architectures.");
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // var currentRuntime = NativeDependencyProvider.GetRuntimePlatform();
|
|
|
|
|
+ //
|
|
|
|
|
+ // if (currentRuntime != "osx-arm64")
|
|
|
|
|
+ // {
|
|
|
|
|
+ // Assert.Ignore(
|
|
|
|
|
+ // "Visual tests are performed based on osx-arm64 runtime output. " +
|
|
|
|
|
+ // "Each operating system (Windows, Linux, macOS) uses different font analysis and text rendering libraries. " +
|
|
|
|
|
+ // "Moreover, each CPU architecture may produce slightly different floating-point calculation results. " +
|
|
|
|
|
+ // "This may lead to different results even though the same code and configuration are used. " +
|
|
|
|
|
+ // "Therefore, visual tests are not expected to pass entirely on other operating systems or CPU architectures.");
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
QuestPDF.Settings.License = LicenseType.Community;
|
|
QuestPDF.Settings.License = LicenseType.Community;
|
|
|
QuestPDF.Settings.UseEnvironmentFonts = false;
|
|
QuestPDF.Settings.UseEnvironmentFonts = false;
|