mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
* Adds a test case for the "criticalUpdate" appcast tag (not as a XCTest but simply as an assert inside the test app, because I was lazy and am working on an older Xcode version that does not support the currently needed swift version for the XCTest in SUAppcastTest.swift).
* Tests the "criticalUpdate" appcast tag, using the proper XCTest swift class. I haven't tested this, though, due to the lack of the needed Xcode version.
* Test case for Appcast now checks all 4 items for the correct "criticalUpdate" state.
* Adds a test case for the "criticalUpdate" appcast tag (not as a XCTest but simply as an assert inside the test app, because I was lazy and am working on an older Xcode version that does not support the currently needed swift version for the XCTest in SUAppcastTest.swift). (reverted from commit 3ce1c9790b)
47 lines
1.8 KiB
XML
47 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle">
|
|
<channel>
|
|
<title>For unit test only</title>
|
|
<item>
|
|
<title>Version 2.0</title>
|
|
<description>desc</description>
|
|
<pubDate>Sat, 26 Jul 2014 15:20:11 +0000</pubDate>
|
|
<enclosure url="http://localhost:1337/Sparkle_Test_App.zip" sparkle:version="2.0" />
|
|
<sparkle:tags> <sparkle:criticalUpdate /> </sparkle:tags>
|
|
</item>
|
|
<!-- The best chosen release -->
|
|
<item>
|
|
<title>Version 3.0</title>
|
|
<enclosure url="http://localhost:1337/Sparkle_Test_App.zip" sparkle:version="3.0" />
|
|
<sparkle:deltas>
|
|
<enclosure url="http://localhost:1337/3.0_from_2.0.patch"
|
|
sparkle:version="3.0"
|
|
sparkle:deltaFrom="2.0"
|
|
length="1235"
|
|
type="application/octet-stream"
|
|
sparkle:dsaSignature="..." />
|
|
|
|
<enclosure url="http://localhost:1337/3.0_from_1.0.patch"
|
|
sparkle:version="3.0"
|
|
sparkle:deltaFrom="1.0"
|
|
length="1485"
|
|
type="application/octet-stream"
|
|
sparkle:dsaSignature="..." />
|
|
</sparkle:deltas>
|
|
</item>
|
|
<!-- A release testing minimumSystemVersion -->
|
|
<item>
|
|
<title>Version 4.0</title>
|
|
<pubDate>Sat, 26 Jul 2014 15:20:13 +0000</pubDate>
|
|
<enclosure url="http://localhost:1337/Sparkle_Test_App.zip" sparkle:version="4.0" />
|
|
<sparkle:minimumSystemVersion>17.0.0</sparkle:minimumSystemVersion>
|
|
</item>
|
|
<!-- A joke release testing maximumSystemVersion -->
|
|
<item>
|
|
<title>Version 5.0</title>
|
|
<enclosure url="http://localhost:1337/Sparkle_Test_App.zip" sparkle:version="5.0" />
|
|
<sparkle:maximumSystemVersion>2.0.0</sparkle:maximumSystemVersion>
|
|
</item>
|
|
</channel>
|
|
</rss>
|