summaryrefslogtreecommitdiff
path: root/shell/qa/zip/testzipimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'shell/qa/zip/testzipimpl.cxx')
-rw-r--r--shell/qa/zip/testzipimpl.cxx16
1 files changed, 6 insertions, 10 deletions
diff --git a/shell/qa/zip/testzipimpl.cxx b/shell/qa/zip/testzipimpl.cxx
index 8fe27d9caffb..e669b6a8b40d 100644
--- a/shell/qa/zip/testzipimpl.cxx
+++ b/shell/qa/zip/testzipimpl.cxx
@@ -19,8 +19,9 @@
#include "testzipimpl.hxx"
-TestZipImpl::TestZipImpl(StreamInterface *stream) :
- zipFile(ZipFile(stream)), expectedContents()
+TestZipImpl::TestZipImpl(StreamInterface* stream)
+ : zipFile(ZipFile(stream))
+ , expectedContents()
{
expectedContents.push_back("mimetype");
expectedContents.push_back("Configurations2/statusbar/");
@@ -42,22 +43,17 @@ TestZipImpl::TestZipImpl(StreamInterface *stream) :
sort(expectedContents.begin(), expectedContents.end());
}
-TestZipImpl::~TestZipImpl()
-{
-}
+TestZipImpl::~TestZipImpl() {}
bool TestZipImpl::test_directory()
{
ZipFile::DirectoryPtr_t contents = zipFile.GetDirectory();
- vector<string> &stringVector = *contents;
+ vector<string>& stringVector = *contents;
sort(stringVector.begin(), stringVector.end());
return expectedContents == stringVector;
}
-bool TestZipImpl::test_hasContentCaseInSensitive()
-{
- return zipFile.HasContent("mimetype");
-}
+bool TestZipImpl::test_hasContentCaseInSensitive() { return zipFile.HasContent("mimetype"); }
bool TestZipImpl::test_getContent()
{