speed up package test
Change-Id: I9e0e2520a9851923d2910a2e487dab589b23eafd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115672 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
203288c830
commit
1070cd26d8
1 changed files with 3 additions and 1 deletions
|
@ -106,7 +106,8 @@ namespace
|
|||
const std::vector<char>& rBuf = *itBuf;
|
||||
CPPUNIT_ASSERT_EQUAL(size_t(1048576), rBuf.size()); // 1 MB each.
|
||||
for (char check : rBuf)
|
||||
CPPUNIT_ASSERT_EQUAL(c, check);
|
||||
if (c != check)
|
||||
CPPUNIT_ASSERT_MESSAGE("stream does not contain expected data", false);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -174,6 +175,7 @@ namespace
|
|||
|
||||
for (char c = 'a'; c <= 'z'; ++c, ++itBuf)
|
||||
{
|
||||
itBuf->reserve(1024*1024);
|
||||
OUString aName = OUStringChar(c) + ".txt";
|
||||
|
||||
uno::Reference<io::XInputStream> xStrm;
|
||||
|
|
Loading…
Reference in a new issue