summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_styles.cpp
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-11-17 16:11:59 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-18 04:51:09 +0100
commit93d2519d99d0ab29440a31f88dd978c3f031c08c (patch)
treedfc0e4086d39d66b1995ac75169d76ec19e444a8 /doc/src/snippets/code/doc_src_styles.cpp
parentae4c28d8dc2a9e6c3c2dc83f75cf2b0e815459f3 (diff)
Improve QBuffer autotest.
This commit fixes several issues found in the readLineBoundaries() test function. First, the test performed some test actions but did not perform any verification steps to check that the outcome of those actions was acceptable. Second, the test didn't need to write the buffered data to a file to verify line-by-line reading. Third, the get/unget action was unrelated to the readLineBoundaries() test and has been moved to a separate test function. That test function now tests that get/unget works at every position in a buffer, not just at position 0. Change-Id: Icad52ed598e94b6e05a194b9ab301d099bfc094c Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'doc/src/snippets/code/doc_src_styles.cpp')
0 files changed, 0 insertions, 0 deletions