From acc2fe781a1d37aedc4eb579c04e175a047ec202 Mon Sep 17 00:00:00 2001 From: Jan Lukas Gernert Date: Sun, 2 Apr 2023 13:22:16 +0200 Subject: [PATCH] port final tests from readability for now --- .../readability/wikipedia-2/expected.html | 2 +- .../tests/readability/wikipedia-2/source.html | 2 +- .../readability/wikipedia-3/expected.html | 2 +- .../tests/readability/wikipedia-3/source.html | 2 +- .../tests/readability/yahoo-1/expected.html | 51 + .../tests/readability/yahoo-1/source.html | 14670 +++++++++++ .../tests/readability/yahoo-2/expected.html | 27 + .../tests/readability/yahoo-2/source.html | 20539 ++++++++++++++++ .../tests/readability/yahoo-3/expected.html | 51 + .../tests/readability/yahoo-3/source.html | 14949 +++++++++++ .../tests/readability/yahoo-4/expected.html | 51 + .../tests/readability/yahoo-4/source.html | 1234 + .../tests/readability/youth/expected.html | 30 + resources/tests/readability/youth/source.html | 10982 +++++++++ src/full_text_parser/readability/tests.rs | 25 + 15 files changed, 62613 insertions(+), 4 deletions(-) create mode 100644 resources/tests/readability/yahoo-1/expected.html create mode 100644 resources/tests/readability/yahoo-1/source.html create mode 100644 resources/tests/readability/yahoo-2/expected.html create mode 100644 resources/tests/readability/yahoo-2/source.html create mode 100644 resources/tests/readability/yahoo-3/expected.html create mode 100644 resources/tests/readability/yahoo-3/source.html create mode 100644 resources/tests/readability/yahoo-4/expected.html create mode 100644 resources/tests/readability/yahoo-4/source.html create mode 100644 resources/tests/readability/youth/expected.html create mode 100644 resources/tests/readability/youth/source.html diff --git a/resources/tests/readability/wikipedia-2/expected.html b/resources/tests/readability/wikipedia-2/expected.html index dafb284..ac3a1fa 100644 --- a/resources/tests/readability/wikipedia-2/expected.html +++ b/resources/tests/readability/wikipedia-2/expected.html @@ -1,4 +1,4 @@ -
+
diff --git a/resources/tests/readability/wikipedia-2/source.html b/resources/tests/readability/wikipedia-2/source.html index 0983930..9c39f9a 100644 --- a/resources/tests/readability/wikipedia-2/source.html +++ b/resources/tests/readability/wikipedia-2/source.html @@ -91,7 +91,7 @@
Jump to navigation Jump to search -
+