2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-16 09:37:08 +00:00
qpdf/libtests/qtest/qutil/qutil.out

137 lines
27 KiB
Plaintext
Raw Normal View History

2018-06-21 16:54:13 +00:00
---- string conversion
16059
0016059
16059
3.141590
3.142
1000.123000
0.12340
0.00012
0.12346
0.00012
1.0102
1
1
1.00000
10.00
10
2013-02-28 21:20:45 +00:00
16059
37273
3ebb
5000093552
one
7
compare okay
compare okay
compare okay
2017-08-29 16:21:29 +00:00
-2147483648 to int: PASSED
2147483647 to int: PASSED
2147483648 to int threw (integer out of range converting 2147483648 from a 8-byte signed type to a 4-byte signed type): PASSED
-2147483649 to int threw (integer out of range converting -2147483649 from a 8-byte signed type to a 4-byte signed type): PASSED
9999999999999999999999999 to int threw (overflow/underflow converting 9999999999999999999999999 to 64-bit integer): PASSED
2017-08-29 16:21:29 +00:00
2147483648 to int: PASSED
-2147483649 to int: PASSED
99999999999999999999999999999999999999999999999999 to int threw (overflow/underflow converting 99999999999999999999999999999999999999999999999999 to 64-bit integer): PASSED
16059 to int: PASSED
-16059 to int threw (underflow converting -16059 to 64-bit unsigned integer): PASSED
9999999999 to int threw (integer out of range converting 9999999999 from a 8-byte unsigned type to a 4-byte unsigned type): PASSED
16059 to int: PASSED
-16059 to int threw (underflow converting -16059 to 64-bit unsigned integer): PASSED
2018-06-21 16:54:13 +00:00
---- os wrapper
before remove
exception: remove file: No such file or directory
2018-06-21 16:54:13 +00:00
---- fopen
before fopen
exception: open /this/file/does/not/exist: No such file or directory
2018-06-21 16:54:13 +00:00
---- getenv
IN_TESTSUITE: 1: 1
HAGOOGAMAGOOGLE: 0
2018-06-21 16:54:13 +00:00
---- utf8
0x41 -> A
0xf7 -> ÷
0x3c0 -> π
0x16059 -> f0 96 81 99
0x7fffffff -> fd bf bf bf bf bf
0x80000000: bounds error in QUtil::toUTF8
2018-06-21 17:05:48 +00:00
---- utf16
0x41 -> 00 41
0xf7 -> 00 f7
0x3c0 -> 03 c0
0x16059 -> d8 18 dc 59
0xdead -> ff fd
0x7fffffff -> ff fd
0x80000000 -> ff fd
π
π
LE: π
2019-01-04 01:03:30 +00:00
---- utf8_to_ascii
2019-01-05 18:04:05 +00:00
¿Does π have fingers?
?Does ? have fingers?
*Does * have fingers?
2019-01-05 18:13:16 +00:00
<bf>Does * have fingers?
<c0>Does * have fingers?
---- transcoding
bidirectional pdf doc done
bidirectional pdf doc low done
bidirectional win ansi done
bidirectional mac roman done
2019-01-13 14:41:13 +00:00
analysis done
2019-01-16 02:06:38 +00:00
alternatives
0: 86a9e99e
1: c692c2a9c3a9c5be
2: e280a0c2a9c3a9c5be
3: c39cc2a9c388c3bb
4: 83a9e99e
5: 81a9e99e
6: dca9c8fb
0: c692c2a9c3a9c5be
1: 86a9e99e
2: 83a9e99e
0: 717561636b
done alternatives
w˘wˇwˆw˙w˝w˛w˚w˜w<EFBFBD>w<EFBFBD>w<EFBFBD>w
w?w?w?w?w?w?w?w?w?w?w?w
done other characters
2018-06-21 16:54:13 +00:00
---- whoami
quack1
quack2
quack3
quack4
2018-06-21 16:54:13 +00:00
---- file
file1: -qutil.out-, file2: -./qutil.out-; same: 1: PASS
file1: -qutil.out-, file2: -qutil.out-; same: 1: PASS
file1: -qutil.out-, file2: -other-file-; same: 0: PASS
file1: -qutil.out-, file2: --; same: 0: PASS
file1: -qutil.out-, file2: -(null)-; same: 0: PASS
file1: --, file2: -qutil.out-; same: 0: PASS
2021-02-18 12:55:39 +00:00
---- path
//// -> /
a/b/cdef -> cdef
a/b/cdef/ -> cdef
/ -> /
->
quack -> quack
---- read from file
This file is used for qutil testing.
It has mixed newlines.
Some lines are very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very
read 24652 bytes
2018-06-21 16:54:13 +00:00
---- hex encode/decode
2018-01-14 14:04:13 +00:00
begin hex encode/decode
end hex encode/decode
---- rename/delete
create file
rename file
create file
rename over existing
delete file
---- timestamp
D:20210209144925-05'00'
2021-02-09T14:49:25-05:00
D:20210210011925+05'30'
2021-02-10T01:19:25+05:30
D:20210209191925Z
2021-02-09T19:19:25Z
2022-05-15 18:56:04 +00:00
---- is_long_long
done