From 50c66844ad6c7637df861360d20810f01aa809db Mon Sep 17 00:00:00 2001
From: vers-one <12114169+vers-one@users.noreply.github.com>
Date: Thu, 23 May 2024 23:14:32 -0400
Subject: [PATCH] Code cleanup
---
.../VersOne.Epub.ConsoleDemo.csproj | 48 ++---
.../Integration/Runner/TestRunner.cs | 4 +-
.../Content/Base/EpubContentFileRefTests.cs | 20 +-
.../Loaders/EpubLocalContentLoaderTests.cs | 24 +--
.../Loaders/EpubRemoteContentLoaderTests.cs | 12 +-
.../Unit/Entities/EpubBookRefTests.cs | 20 +-
.../Unit/Readers/BookReaderTests.cs | 12 +-
.../Unit/Readers/BookRefReaderTests.cs | 8 +-
.../Unit/Readers/Epub2NcxReaderTests.cs | 130 ++++++-------
.../Readers/Epub3NavDocumentReaderTests.cs | 46 ++---
.../Unit/Readers/PackageReaderTests.cs | 176 ++++++++++--------
.../Unit/Readers/RootFilePathReaderTests.cs | 6 +-
.../Unit/Readers/SchemaReaderTests.cs | 44 ++---
.../Unit/Readers/SmilReaderTests.cs | 48 ++---
.../Opf/Common/EpubTextDirectionTests.cs | 4 +-
.../EpubPageProgressionDirectionTests.cs | 4 +-
.../Epub3StructuralSemanticsPropertyTests.cs | 4 +-
.../Unit/Utils/ContentPathUtilsTests.cs | 4 +-
.../Unit/Utils/UrlParserTests.cs | 2 +-
.../Unit/Utils/XmlUtilsTests.cs | 14 +-
.../VersOne.Epub.Test.csproj | 13 +-
.../VersOne.Epub.WpfDemo.csproj | 12 +-
.../ViewModels/BookViewModel.cs | 2 +-
.../WpfEnvironment/WindowManager.cs | 2 +-
Source/VersOne.Epub.WpfDemo/packages.config | 4 +-
.../VersOne.Epub/Readers/BookCoverReader.cs | 6 +-
Source/VersOne.Epub/Readers/Epub2NcxReader.cs | 2 +-
.../Readers/Epub3NavDocumentReader.cs | 3 +-
.../VersOne.Epub/Readers/NavigationReader.cs | 2 +-
Source/VersOne.Epub/Readers/SpineReader.cs | 3 +-
Source/VersOne.Epub/VersOne.Epub.csproj | 20 +-
Source/spell_exclusion.dic | 1 +
32 files changed, 365 insertions(+), 335 deletions(-)
diff --git a/Source/VersOne.Epub.ConsoleDemo/VersOne.Epub.ConsoleDemo.csproj b/Source/VersOne.Epub.ConsoleDemo/VersOne.Epub.ConsoleDemo.csproj
index 698cd46..3386f33 100644
--- a/Source/VersOne.Epub.ConsoleDemo/VersOne.Epub.ConsoleDemo.csproj
+++ b/Source/VersOne.Epub.ConsoleDemo/VersOne.Epub.ConsoleDemo.csproj
@@ -1,31 +1,31 @@
-
- Exe
- net7.0
- win10-x64
- vers
- vers, 2015-2022
- 3.3.1
+
+ Exe
+ net7.0
+ win10-x64
+ vers
+ vers, 2015-2024
+ 3.3.1
True
True
True
-
-
-
-
-
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
-
-
+
+
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
+
diff --git a/Source/VersOne.Epub.Test/Integration/Runner/TestRunner.cs b/Source/VersOne.Epub.Test/Integration/Runner/TestRunner.cs
index 7edb3db..4831ede 100644
--- a/Source/VersOne.Epub.Test/Integration/Runner/TestRunner.cs
+++ b/Source/VersOne.Epub.Test/Integration/Runner/TestRunner.cs
@@ -69,11 +69,11 @@ public void GenerateTestCaseTemplates()
return testCaseSerializer.Deserialize(testCasePath, testEpubPath);
}
- public static IEnumerable