X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Foutput%2Frender.at;h=b2c9731ce06ad32d8ae636cb55770e3e4b97b16a;hb=a9e5621ea36156f1855bfa701f9fae07a648c844;hp=388674ba3915283c36e62b54317f7f899078db91;hpb=93ec42221da8b677420bf11435e0d24d0503601b;p=pspp diff --git a/tests/output/render.at b/tests/output/render.at index 388674ba39..b2c9731ce0 100644 --- a/tests/output/render.at +++ b/tests/output/render.at @@ -1,4 +1,19 @@ -# +-+---+-+-+-+ +dnl PSPP - a program for statistical analysis. +dnl Copyright (C) 2017 Free Software Foundation, Inc. +dnl +dnl This program is free software: you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation, either version 3 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program. If not, see . +dnl # +-+---+-+-+-+ # |a|bcd|e|f|i| # +-+-+-+-+g+-+ # |j|m|nop|h|q| @@ -242,6 +257,48 @@ AT_CHECK([render-test input], [0], [dnl ]) AT_CLEANUP +AT_SETUP([joined rows and columns (with footnotes)]) +AT_KEYWORDS([render rendering footnote]) +AT_DATA([input], [3 3 +1*2 @abc#Approximation. +2*1 @d\ne\nf#This is a very long footnote that will have to wrap from one line to the next. Let's see if the rendering engine does it acceptably. +2*1 @g\nh\ni#One#Two#Three +@j +1*2 @klm +]) +AT_CHECK([render-test --csv input], [0], +[[+------------+----+ +| abc[a]| d| ++----------+-+ e| +| g|j|f[b]| +| h+-+----+ +|i[c][d][e]| klm| ++----------+------+ +[a] Approximation. +[b] This is a very long footnote that will have to wrap from one line to the + next. Let's see if the rendering engine does it acceptably. +[c] One +[d] Two +[e] Three +]]) +AT_CHECK([cat render.csv], [0], +[[abc[a],,"d +e +f[b]" +"g +h +i[c][d][e]",j, +,klm, + +Footnotes: +a,Approximation. +b,This is a very long footnote that will have to wrap from one line to the next. Let's see if the rendering engine does it acceptably. +c,One +d,Two +e,Three +]]) +AT_CLEANUP + AT_SETUP([6x6, joined rows and columns]) AT_KEYWORDS([render rendering]) AT_DATA([input], [WEAVE_6X6])