summaryrefslogtreecommitdiff
path: root/include/kunit/test.h
diff options
context:
space:
mode:
authorBrendan Higgins <brendanhiggins@google.com>2019-09-23 12:02:33 +0300
committerShuah Khan <skhan@linuxfoundation.org>2019-10-01 02:35:00 +0300
commitd1fadef194008b22d7d9608426cad29d4bb69ab9 (patch)
tree6b95896245d9b87ec2a4128aeac14b99fd43b9e4 /include/kunit/test.h
parent0a756853586ce185ee1bb9ccbe5ec03e103e594f (diff)
downloadlinux-d1fadef194008b22d7d9608426cad29d4bb69ab9.tar.xz
kunit: test: add string_stream a std::stream like string builder
A number of test features need to do pretty complicated string printing where it may not be possible to rely on a single preallocated string with parameters. So provide a library for constructing the string as you go similar to C++'s std::string. string_stream is really just a string builder, nothing more. Signed-off-by: Brendan Higgins <brendanhiggins@google.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Logan Gunthorpe <logang@deltatee.com> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'include/kunit/test.h')
0 files changed, 0 insertions, 0 deletions