From e863fd965dd6253243c3342bd6f0adc4fc8aec4d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 13:31:33 +0200 Subject: Adding upstream version 5.3.0. Signed-off-by: Daniel Baumann --- tests/roots/test-versioning/added.txt | 20 ++++++++++++++++++++ tests/roots/test-versioning/conf.py | 3 +++ tests/roots/test-versioning/deleted.txt | 12 ++++++++++++ tests/roots/test-versioning/deleted_end.txt | 11 +++++++++++ tests/roots/test-versioning/index.txt | 13 +++++++++++++ tests/roots/test-versioning/insert.txt | 18 ++++++++++++++++++ tests/roots/test-versioning/insert_beginning.txt | 18 ++++++++++++++++++ tests/roots/test-versioning/insert_similar.txt | 17 +++++++++++++++++ tests/roots/test-versioning/modified.txt | 17 +++++++++++++++++ tests/roots/test-versioning/original.txt | 15 +++++++++++++++ 10 files changed, 144 insertions(+) create mode 100644 tests/roots/test-versioning/added.txt create mode 100644 tests/roots/test-versioning/conf.py create mode 100644 tests/roots/test-versioning/deleted.txt create mode 100644 tests/roots/test-versioning/deleted_end.txt create mode 100644 tests/roots/test-versioning/index.txt create mode 100644 tests/roots/test-versioning/insert.txt create mode 100644 tests/roots/test-versioning/insert_beginning.txt create mode 100644 tests/roots/test-versioning/insert_similar.txt create mode 100644 tests/roots/test-versioning/modified.txt create mode 100644 tests/roots/test-versioning/original.txt (limited to 'tests/roots/test-versioning') diff --git a/tests/roots/test-versioning/added.txt b/tests/roots/test-versioning/added.txt new file mode 100644 index 0000000..22a7073 --- /dev/null +++ b/tests/roots/test-versioning/added.txt @@ -0,0 +1,20 @@ +Versioning test text +==================== + +So the thing is I need some kind of text - not the lorem ipsum stuff, that +doesn't work out that well - to test :mod:`sphinx.versioning`. I couldn't find +a good text for that under public domain so I thought the easiest solution is +to write one by myself. It's not really interesting, in fact it is *really* +boring. + +Anyway I need more than one paragraph, at least three for the original +document, I think, and another one for two different ones. + +So the previous paragraph was a bit short because I don't want to test this +only on long paragraphs, I hope it was short enough to cover most stuff. +Anyway I see this lacks ``some markup`` so I have to add a **little** bit. + +Woho another paragraph, if this test fails we really have a problem because +this means the algorithm itself fails and not the diffing algorithm which is +pretty much doomed anyway as it probably fails for some kind of language +respecting certain nodes anyway but we can't work around that anyway. diff --git a/tests/roots/test-versioning/conf.py b/tests/roots/test-versioning/conf.py new file mode 100644 index 0000000..6344cb0 --- /dev/null +++ b/tests/roots/test-versioning/conf.py @@ -0,0 +1,3 @@ +project = 'versioning test root' +source_suffix = '.txt' +exclude_patterns = ['_build'] diff --git a/tests/roots/test-versioning/deleted.txt b/tests/roots/test-versioning/deleted.txt new file mode 100644 index 0000000..a1a9c4c --- /dev/null +++ b/tests/roots/test-versioning/deleted.txt @@ -0,0 +1,12 @@ +Versioning test text +==================== + +So the thing is I need some kind of text - not the lorem ipsum stuff, that +doesn't work out that well - to test :mod:`sphinx.versioning`. I couldn't find +a good text for that under public domain so I thought the easiest solution is +to write one by myself. It's not really interesting, in fact it is *really* +boring. + +So the previous paragraph was a bit short because I don't want to test this +only on long paragraphs, I hope it was short enough to cover most stuff. +Anyway I see this lacks ``some markup`` so I have to add a **little** bit. diff --git a/tests/roots/test-versioning/deleted_end.txt b/tests/roots/test-versioning/deleted_end.txt new file mode 100644 index 0000000..f30e630 --- /dev/null +++ b/tests/roots/test-versioning/deleted_end.txt @@ -0,0 +1,11 @@ +Versioning test text +==================== + +So the thing is I need some kind of text - not the lorem ipsum stuff, that +doesn't work out that well - to test :mod:`sphinx.versioning`. I couldn't find +a good text for that under public domain so I thought the easiest solution is +to write one by myself. It's not really interesting, in fact it is *really* +boring. + +Anyway I need more than one paragraph, at least three for the original +document, I think, and another one for two different ones. diff --git a/tests/roots/test-versioning/index.txt b/tests/roots/test-versioning/index.txt new file mode 100644 index 0000000..9d098f7 --- /dev/null +++ b/tests/roots/test-versioning/index.txt @@ -0,0 +1,13 @@ +Versioning Stuff +================ + +.. toctree:: + + original + added + insert + deleted + deleted_end + modified + insert_beginning + insert_similar diff --git a/tests/roots/test-versioning/insert.txt b/tests/roots/test-versioning/insert.txt new file mode 100644 index 0000000..1c157cc --- /dev/null +++ b/tests/roots/test-versioning/insert.txt @@ -0,0 +1,18 @@ +Versioning test text +==================== + +So the thing is I need some kind of text - not the lorem ipsum stuff, that +doesn't work out that well - to test :mod:`sphinx.versioning`. I couldn't find +a good text for that under public domain so I thought the easiest solution is +to write one by myself. It's not really interesting, in fact it is *really* +boring. + +So this paragraph is just something I inserted in this document to test if our +algorithm notices that this paragraph is not just a changed version. + +Anyway I need more than one paragraph, at least three for the original +document, I think, and another one for two different ones. + +So the previous paragraph was a bit short because I don't want to test this +only on long paragraphs, I hope it was short enough to cover most stuff. +Anyway I see this lacks ``some markup`` so I have to add a **little** bit. diff --git a/tests/roots/test-versioning/insert_beginning.txt b/tests/roots/test-versioning/insert_beginning.txt new file mode 100644 index 0000000..57102a7 --- /dev/null +++ b/tests/roots/test-versioning/insert_beginning.txt @@ -0,0 +1,18 @@ +Versioning test text +==================== + +Apperantly inserting a paragraph at the beginning of a document caused +problems earlier so this document should be used to test that. + +So the thing is I need some kind of text - not the lorem ipsum stuff, that +doesn't work out that well - to test :mod:`sphinx.versioning`. I couldn't find +a good text for that under public domain so I thought the easiest solution is +to write one by myself. It's not really interesting, in fact it is *really* +boring. + +Anyway I need more than one paragraph, at least three for the original +document, I think, and another one for two different ones. + +So the previous paragraph was a bit short because I don't want to test this +only on long paragraphs, I hope it was short enough to cover most stuff. +Anyway I see this lacks ``some markup`` so I have to add a **little** bit. diff --git a/tests/roots/test-versioning/insert_similar.txt b/tests/roots/test-versioning/insert_similar.txt new file mode 100644 index 0000000..ee9b530 --- /dev/null +++ b/tests/roots/test-versioning/insert_similar.txt @@ -0,0 +1,17 @@ +Versioning test text +==================== + +So the thing is I need some kind of text - not the lorem ipsum stuff, that +doesn't work out that well - to test :mod:`sphinx.versioning`. I couldn't find +a good text for that under public domain so I thought the easiest solution is +to write one by myself. It's not really interesting, in fact it is *really* +boring. + +Anyway I need more + +Anyway I need more than one paragraph, at least three for the original +document, I think, and another one for two different ones. + +So the previous paragraph was a bit short because I don't want to test this +only on long paragraphs, I hope it was short enough to cover most stuff. +Anyway I see this lacks ``some markup`` so I have to add a **little** bit. diff --git a/tests/roots/test-versioning/modified.txt b/tests/roots/test-versioning/modified.txt new file mode 100644 index 0000000..49cdad9 --- /dev/null +++ b/tests/roots/test-versioning/modified.txt @@ -0,0 +1,17 @@ +Versioning test text +==================== + +So the thing is I need some kind of text - not the lorem ipsum stuff, that +doesn't work out that well - to test :mod:`sphinx.versioning`. I couldn't find +a good text for that under public domain so I thought the easiest solution is +to write one by myself. Inserting something silly as a modification, btw. have +you seen the typo below?. It's not really interesting, in fact it is *really* +boring. + +Anyway I need more than one paragraph, at least three for the original +document, I think, and another one for two different ones. So this is a small +modification by adding something to this paragraph. + +So the previous paragraph was a bit short because I don't want to test this +only on long paragraphs, I hoep it was short enough to cover most stuff. +Anyway I see this lacks ``some markup`` so I have to add a **little** bit. diff --git a/tests/roots/test-versioning/original.txt b/tests/roots/test-versioning/original.txt new file mode 100644 index 0000000..b3fe060 --- /dev/null +++ b/tests/roots/test-versioning/original.txt @@ -0,0 +1,15 @@ +Versioning test text +==================== + +So the thing is I need some kind of text - not the lorem ipsum stuff, that +doesn't work out that well - to test :mod:`sphinx.versioning`. I couldn't find +a good text for that under public domain so I thought the easiest solution is +to write one by myself. It's not really interesting, in fact it is *really* +boring. + +Anyway I need more than one paragraph, at least three for the original +document, I think, and another one for two different ones. + +So the previous paragraph was a bit short because I don't want to test this +only on long paragraphs, I hope it was short enough to cover most stuff. +Anyway I see this lacks ``some markup`` so I have to add a **little** bit. -- cgit v1.2.3