diff options
author | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2020-12-02 16:36:26 +0200 |
---|---|---|
committer | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2021-02-16 13:16:52 +0200 |
commit | 8997ec51b7603fafe5cd34dcff21ba1151c76f32 (patch) | |
tree | 0e07bb85141d742f2e3b327f410129685afade99 /tests/auto/installer/createoffline/data/repository-componentmeta-script/Updates.xml | |
parent | 5b55a71adb283d8e335cd724c2b7b66acf3551a5 (diff) |
Add unit tests for offline generation
This also changes some of the return values in our CLI-related
functions in PackageManagerCore class to better catch cases
where we exit without failing but also without doing anything.
Also adapt existing tests.
Task-number: QTIFW-2028
Change-Id: I73c4ca1b20d439773d0e290195f137d0d7369d17
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'tests/auto/installer/createoffline/data/repository-componentmeta-script/Updates.xml')
-rw-r--r-- | tests/auto/installer/createoffline/data/repository-componentmeta-script/Updates.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/installer/createoffline/data/repository-componentmeta-script/Updates.xml b/tests/auto/installer/createoffline/data/repository-componentmeta-script/Updates.xml new file mode 100644 index 000000000..42458e7ce --- /dev/null +++ b/tests/auto/installer/createoffline/data/repository-componentmeta-script/Updates.xml @@ -0,0 +1,17 @@ +<Updates> + <ApplicationName>{AnyApplication}</ApplicationName> + <ApplicationVersion>1.0.0</ApplicationVersion> + <Checksum>true</Checksum> + <PackageUpdate> + <Name>org.qtproject.ifw.example</Name> + <DisplayName>README.txt</DisplayName> + <Description>A README.txt, accessible through a start menu entry.</Description> + <Version>1.0.0-1</Version> + <ReleaseDate>2021-01-01</ReleaseDate> + <Default>true</Default> + <Script>installscript.qs</Script> + <UpdateFile UncompressedSize="131" CompressedSize="297" OS="Any"/> + <DownloadableArchives>content.7z</DownloadableArchives> + <SHA1>08c2a05d861543e88a8808f576d5c731e0301ab4</SHA1> + </PackageUpdate> +</Updates> |