diff options
Diffstat (limited to 'shell/qa/zip/testzipimpl.cxx')
-rw-r--r-- | shell/qa/zip/testzipimpl.cxx | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/shell/qa/zip/testzipimpl.cxx b/shell/qa/zip/testzipimpl.cxx index e39408f98496..572782f722c4 100644 --- a/shell/qa/zip/testzipimpl.cxx +++ b/shell/qa/zip/testzipimpl.cxx @@ -20,26 +20,25 @@ #include "testzipimpl.hxx" TestZipImpl::TestZipImpl(StreamInterface* stream) - : zipFile(ZipFile(stream)) - , expectedContents() + : zipFile{ stream } + , expectedContents{ "mimetype", + "Configurations2/statusbar/", + "Configurations2/accelerator/current.xml", + "Configurations2/floater/", + "Configurations2/popupmenu/", + "Configurations2/progressbar/", + "Configurations2/toolpanel/", + "Configurations2/menubar/", + "Configurations2/toolbar/", + "Configurations2/images/Bitmaps/", + "content.xml", + "manifest.rdf", + "styles.xml", + "meta.xml", + "Thumbnails/thumbnail.png", + "settings.xml", + "META-INF/manifest.xml" } { - expectedContents.push_back("mimetype"); - expectedContents.push_back("Configurations2/statusbar/"); - expectedContents.push_back("Configurations2/accelerator/current.xml"); - expectedContents.push_back("Configurations2/floater/"); - expectedContents.push_back("Configurations2/popupmenu/"); - expectedContents.push_back("Configurations2/progressbar/"); - expectedContents.push_back("Configurations2/toolpanel/"); - expectedContents.push_back("Configurations2/menubar/"); - expectedContents.push_back("Configurations2/toolbar/"); - expectedContents.push_back("Configurations2/images/Bitmaps/"); - expectedContents.push_back("content.xml"); - expectedContents.push_back("manifest.rdf"); - expectedContents.push_back("styles.xml"); - expectedContents.push_back("meta.xml"); - expectedContents.push_back("Thumbnails/thumbnail.png"); - expectedContents.push_back("settings.xml"); - expectedContents.push_back("META-INF/manifest.xml"); sort(expectedContents.begin(), expectedContents.end()); } |