aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/test-cutils.c
AgeCommit message (Expand)AuthorFilesLines
2023-06-02cutils: Improve qemu_strtosz handling of fractionsEric Blake1-31/+19
2023-06-02cutils: Improve qemu_strtod* error pathsEric Blake1-27/+36
2023-06-02cutils: Use parse_uint in qemu_strtosz for negative rejectionEric Blake1-4/+3
2023-06-02cutils: Set value in all integral qemu_strto* error pathsEric Blake1-12/+12
2023-06-02cutils: Set value in all qemu_strtosz* error pathsEric Blake1-55/+51
2023-06-02test-cutils: Add more coverage to qemu_strtoszEric Blake1-11/+129
2023-06-02cutils: Allow NULL str in qemu_strtoszEric Blake1-1/+9
2023-06-02test-cutils: Refactor qemu_strtosz tests for less boilerplateEric Blake1-404/+101
2023-06-02test-cutils: Prepare for upcoming semantic change in qemu_strtoszEric Blake1-15/+27
2023-06-02test-cutils: Add coverage of qemu_strtodEric Blake1-0/+512
2023-06-02cutils: Allow NULL endptr in parse_uint()Eric Blake1-2/+16
2023-06-02cutils: Adjust signature of parse_uint[_full]Eric Blake1-66/+53
2023-06-02cutils: Fix wraparound parsing in qemu_strtouiEric Blake1-11/+9
2023-06-02test-cutils: Test more integer corner casesEric Blake1-63/+862
2023-06-02test-cutils: Test integral qemu_strto* value on failuresEric Blake1-7/+51
2023-06-02test-cutils: Use g_assert_cmpuint where appropriateEric Blake1-74/+74
2023-06-02test-cutils: Avoid g_assert in unit testsEric Blake1-162/+162
2023-02-08Drop duplicate #includeMarkus Armbruster1-1/+0
2023-01-06util: remove support for hex numbers with a scaling suffixPaolo Bonzini1-0/+8
2022-07-04tests: fix test-cutils leaksMarc-André Lureau1-8/+34
2022-06-14cutils: add functions for IEC and SI prefixesPaolo Bonzini1-0/+52
2021-03-24utils: Work around mingw strto*l bug with 0xEric Blake1-0/+54
2021-03-24utils: Tighter tests for qemu_strtoszEric Blake1-6/+111
2021-03-15utils: Use fixed-point arithmetic in qemu_strtoszRichard Henderson1-1/+1
2021-03-14Merge remote-tracking branch 'remotes/thuth-gitlab/tags/pull-request-2021-03-...Peter Maydell1-0/+2574
2021-03-12tests: Move unit tests into a separate directoryThomas Huth1-0/+2460