summaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-05-16 15:24:38 -0400
committerGitHub <noreply@github.com>2021-05-16 15:24:38 -0400
commit66d048832f2dc30e11e6be4c68beab23c7d8adef (patch)
tree9cb1d83faacf133f61c3a96156ea6de1541e5233 /test/data
parent41ee167dfdfcd794634e0459185a929e814b0493 (diff)
Sentence termination character mode (#1682)
* Change enableTerminationCharacters to terminationCharacterMode * Update settings * Update sentence extraction * Update tests * Add tests
Diffstat (limited to 'test/data')
-rw-r--r--test/data/html/test-document1.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/test/data/html/test-document1.html b/test/data/html/test-document1.html
index af38540f..78d862c4 100644
--- a/test/data/html/test-document1.html
+++ b/test/data/html/test-document1.html
@@ -159,6 +159,48 @@
<div
class="test"
+ data-test-type="scan"
+ data-element-from-point-selector="span:nth-of-type(3)"
+ data-caret-range-from-point-selector="span:nth-of-type(3)"
+ data-start-node-selector="span:nth-of-type(3)"
+ data-start-offset="0"
+ data-end-node-selector="span:nth-of-type(3)"
+ data-end-offset="0"
+ data-result-type="TextSourceRange"
+ data-sentence-scan-extent="22"
+ data-sentence="ありがとございます3"
+ data-terminate-at-newlines="true"
+ >
+<span>ありがとございます1</span>
+<span>ありがとございます2</span>
+<span>ありがとございます3</span>
+<span>ありがとございます4</span>
+<span>ありがとございます5</span>
+ </div>
+
+ <div
+ class="test"
+ data-test-type="scan"
+ data-element-from-point-selector="span:nth-of-type(3)"
+ data-caret-range-from-point-selector="span:nth-of-type(3)"
+ data-start-node-selector="span:nth-of-type(3)"
+ data-start-offset="0"
+ data-end-node-selector="span:nth-of-type(3)"
+ data-end-offset="0"
+ data-result-type="TextSourceRange"
+ data-sentence-scan-extent="22"
+ data-sentence="ありがとございます1&#10;ありがとございます2&#10;ありがとございます3&#10;ありがとございます4"
+ data-terminate-at-newlines="false"
+ >
+<span>ありがとございます1</span>
+<span>ありがとございます2</span>
+<span>ありがとございます3</span>
+<span>ありがとございます4</span>
+<span>ありがとございます5</span>
+ </div>
+
+ <div
+ class="test"
data-test-type="text-source-range-seek"
data-seek-node-selector="span:nth-of-type(1)"
data-seek-node-is-text="true"