X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fdictionary%2Fvalue-labels.at;h=60bbdc33401cd532f22d553d3b4a879ba489cff4;hb=7bf210c4fd179a22dd8c6a071f0b23f7ae4e14c2;hp=4c9f43976d52b69a70e9f3db7d5f280dfb8584e9;hpb=fe8dc2171009e90d2335f159d05f7e6660e24780;p=pspp diff --git a/tests/language/dictionary/value-labels.at b/tests/language/dictionary/value-labels.at index 4c9f43976d..60bbdc3340 100644 --- a/tests/language/dictionary/value-labels.at +++ b/tests/language/dictionary/value-labels.at @@ -1,3 +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 AT_BANNER([VALUE LABELS]) AT_SETUP([VALUE LABELS date formats]) @@ -10,19 +26,17 @@ VALUE LABELS ad 'july 10, 1982' 'label 1' DISPLAY DICTIONARY. ]) AT_CHECK([pspp -O format=csv value-labels.sps], [0], [dnl -Variable,Description,,Position -ad,Format: ADATE10,,1 -,Measure: Scale,, -,Display Alignment: Right,, -,Display Width: 8,, -,07/10/1982,label 1, -,01/02/1993,label 2, -,05/04/2003,label 3, -dt,Format: DATETIME20.0,,2 -,Measure: Scale,, -,Display Alignment: Right,, -,Display Width: 8,, -,12-APR-2011 06:09:56,label 4, +Variable,Description,Position +ad,"Format: ADATE10 + +Value,Label +07/10/1982,label 1 +01/02/1993,label 2 +05/04/2003,label 3",1 +dt,"Format: DATETIME20.0 + +Value,Label +12-APR-2011 06:09:56,label 4",2 ]) AT_CLEANUP @@ -39,14 +53,13 @@ DISPLAY DICTIONARY. FREQUENCIES x/STAT=NONE. ]) AT_CHECK([pspp -O format=csv value-labels.sps], [0], [dnl -Variable,Description,,Position -x,Format: F8.2,,1 -,Measure: Scale,, -,Display Alignment: Right,, -,Display Width: 8,, -,1.00,one, -,2.00,first line\nsecond line, -,3.00,three, +Variable,Description,Position +x,"Format: F8.2 + +Value,Label +1.00,one +2.00,first line\nsecond line +3.00,three",1 Table: x Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent @@ -76,14 +89,13 @@ DISPLAY DICTIONARY. FREQUENCIES x/STAT=NONE. ]) AT_CHECK([pspp -O format=csv get.sps], [0], [dnl -Variable,Description,,Position -x,Format: F8.2,,1 -,Measure: Scale,, -,Display Alignment: Right,, -,Display Width: 8,, -,1.00,one, -,2.00,first line\nsecond line, -,3.00,three, +Variable,Description,Position +x,"Format: F8.2 + +Value,Label +1.00,one +2.00,first line\nsecond line +3.00,three",1 Table: x Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent