[pango/more-log-attr-things: 6/6] More break tests




commit d358bbfb0669b5ca342c3c14c296188fa9c7dea5
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Aug 26 01:30:31 2021 -0400

    More break tests

 tests/breaks/eight.break    | 1 +
 tests/breaks/eight.expected | 7 +++++++
 tests/breaks/seven.break    | 2 ++
 tests/breaks/seven.expected | 7 +++++++
 tests/breaks/six.break      | 1 +
 tests/breaks/six.expected   | 7 +++++++
 6 files changed, 25 insertions(+)
---
diff --git a/tests/breaks/eight.break b/tests/breaks/eight.break
new file mode 100644
index 00000000..5af6b6e2
--- /dev/null
+++ b/tests/breaks/eight.break
@@ -0,0 +1 @@
+200 24.10 99% alpha10beta 100-10 greek-roman
diff --git a/tests/breaks/eight.expected b/tests/breaks/eight.expected
new file mode 100644
index 00000000..39794d22
--- /dev/null
+++ b/tests/breaks/eight.expected
@@ -0,0 +1,7 @@
+Text:         ⁦2⁩ ⁦0⁩ ⁦0⁩  [ ]  ⁦2⁩ ⁦4⁩ ⁦.⁩ ⁦1⁩ ⁦0⁩  [ ]  ⁦9⁩ ⁦9⁩  ⁦%⁩ [ ]  ⁦a⁩ ⁦l⁩ ⁦p⁩ ⁦h⁩ ⁦a⁩ ⁦1⁩ ⁦0⁩ ⁦b⁩ 
⁦e⁩ ⁦t⁩ ⁦a⁩  [ ]  ⁦1⁩ ⁦0⁩ ⁦0⁩  ⁦-⁩  ⁦1⁩ ⁦0⁩  [ ]  ⁦g⁩ ⁦r⁩ ⁦e⁩ ⁦e⁩ ⁦k⁩  ⁦-⁩  ⁦r⁩ ⁦o⁩ ⁦m⁩ ⁦a⁩ ⁦n⁩  [0x0a]  
+Breaks:     c  c c c    lc c c c c c    lc c c  c   lc c c c c c c c c c c c    lc c c c  c  c c    lc c c c 
c c  lc c c c c c       Lc
+Whitespace:        x               x            x                          x                   x             
                w       w 
+Sentences:  bs                                                                                               
                e       b 
+Words:      bs     be   bs   e s   be   bs   be b   bs                     be   bs     be bs   be   bs       
  be bs         be      b 
+Graphemes:  b  b b b    b  b b b b b    b  b b  b   b  b b b b b b b b b b b    b  b b b  b  b b    b  b b b 
b b  b  b b b b b       b 
+Hyphens:                                               i i i i     i i i i                             i i i 
i       i i i i           
diff --git a/tests/breaks/seven.break b/tests/breaks/seven.break
new file mode 100644
index 00000000..167a17b7
--- /dev/null
+++ b/tests/breaks/seven.break
@@ -0,0 +1,2 @@
+bla
+bla
diff --git a/tests/breaks/seven.expected b/tests/breaks/seven.expected
new file mode 100644
index 00000000..9062fb31
--- /dev/null
+++ b/tests/breaks/seven.expected
@@ -0,0 +1,7 @@
+Text:         ⁦b⁩ ⁦l⁩ ⁦a⁩  [0x0a]  ⁦b⁩ ⁦l⁩ ⁦a⁩  [0x0a]  
+Breaks:     c  c c c       Lc c c c       Lc
+Whitespace:        w              w       w 
+Sentences:  bs     e       bs     e       b 
+Words:      bs     be      bs     be      b 
+Graphemes:  b  b b b       b  b b b       b 
+Hyphens:       i i            i i           
diff --git a/tests/breaks/six.break b/tests/breaks/six.break
new file mode 100644
index 00000000..2161574d
--- /dev/null
+++ b/tests/breaks/six.break
@@ -0,0 +1 @@
+a file:///<span segment="word">ho/</span><span segment="word">bo-mo/</span>Bla-txt file
diff --git a/tests/breaks/six.expected b/tests/breaks/six.expected
new file mode 100644
index 00000000..85e882a3
--- /dev/null
+++ b/tests/breaks/six.expected
@@ -0,0 +1,7 @@
+Text:         ⁦a⁩  [ ]  ⁦f⁩ ⁦i⁩ ⁦l⁩ ⁦e⁩  ⁦:⁩ ⁦/⁩ ⁦/⁩ ⁦/⁩  ⁦h⁩ ⁦o⁩ ⁦/⁩   ⁦b⁩ ⁦o⁩ ⁦-⁩ ⁦m⁩ ⁦o⁩ ⁦/⁩   ⁦B⁩ ⁦l⁩ 
⁦a⁩  ⁦-⁩  ⁦t⁩ ⁦x⁩ ⁦t⁩  [ ]  ⁦f⁩ ⁦i⁩ ⁦l⁩ ⁦e⁩  [0x0a]  
+Breaks:     c  c    lc c c c c  c c c lc c c lc  c c c c c lc  c c c  lc c c c    lc c c c c       Lc
+Whitespace:    x                                                             x             w       w 
+Sentences:  bs                                                                             e       b 
+Words:      bs be   bs       be b b b bs     bse           bse     be bs     be   bs       be      b 
+Graphemes:  b  b    b  b b b b  b b b b  b b b   b b b b b b   b b b  b  b b b    b  b b b b       b 
+Hyphens:               i i i             i       i     i       i i       i i         i i i           


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]