mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-14 01:03:27 +01:00
- UnitTests: Moved DS unit tests into their own target
This commit is contained in:
35
SideStore/Tests/DataStructureTests.xctestplan
Normal file
35
SideStore/Tests/DataStructureTests.xctestplan
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"configurations" : [
|
||||
{
|
||||
"id" : "93E5E265-DC67-47F3-A214-8082A3421288",
|
||||
"name" : "Test Scheme Action",
|
||||
"options" : {
|
||||
|
||||
}
|
||||
}
|
||||
],
|
||||
"defaultOptions" : {
|
||||
"targetForVariableExpansion" : {
|
||||
"containerPath" : "container:AltStore.xcodeproj",
|
||||
"identifier" : "BFD247692284B9A500981D42",
|
||||
"name" : "SideStore"
|
||||
}
|
||||
},
|
||||
"testTargets" : [
|
||||
{
|
||||
"skippedTests" : {
|
||||
"suites" : [
|
||||
{
|
||||
"name" : "DataStructuresTests"
|
||||
}
|
||||
]
|
||||
},
|
||||
"target" : {
|
||||
"containerPath" : "container:AltStore.xcodeproj",
|
||||
"identifier" : "A81A8CC42D68BA610086C96F",
|
||||
"name" : "DataStructureTests"
|
||||
}
|
||||
}
|
||||
],
|
||||
"version" : 2
|
||||
}
|
||||
@@ -116,15 +116,15 @@ private extension UITests {
|
||||
let recommendedSources: [(identifier: String, alertTitle: String, requiresSwipe: Bool)] = [
|
||||
("SideStore Team Picks\ncommunity-apps.sidestore.io/sidecommunity.json", "SideStore Team Picks", false),
|
||||
("Provenance EMU\nprovenance-emu.com/apps.json", "Provenance EMU", false),
|
||||
// ("Countdown Respository\nneoarz.github.io/Countdown-App/Countdown.json", "Countdown Respository", false),
|
||||
// ("OatmealDome's AltStore Source\naltstore.oatmealdome.me", "OatmealDome's AltStore Source", false),
|
||||
// ("UTM Repository\nVirtual machines for iOS", "UTM Repository", true),
|
||||
// ("Flyinghead\nflyinghead.github.io/flycast-builds/altstore.json", "Flyinghead", false),
|
||||
// ("PojavLauncher Repository\nalt.crystall1ne.dev", "PojavLauncher Repository", true),
|
||||
// ("PokeMMO\npokemmo.eu/altstore/", "PokeMMO", false),
|
||||
// ("Odyssey\ntheodyssey.dev/altstore/odysseysource.json", "Odyssey", false),
|
||||
// ("Yattee\nrepos.yattee.stream/alt/apps.json", "Yattee", false),
|
||||
// ("ThatStella7922 Source\nThe home for all apps ThatStella7922", "ThatStella7922 Source", false)
|
||||
("Countdown Respository\nneoarz.github.io/Countdown-App/Countdown.json", "Countdown Respository", false),
|
||||
("OatmealDome's AltStore Source\naltstore.oatmealdome.me", "OatmealDome's AltStore Source", false),
|
||||
("UTM Repository\nVirtual machines for iOS", "UTM Repository", true),
|
||||
("Flyinghead\nflyinghead.github.io/flycast-builds/altstore.json", "Flyinghead", false),
|
||||
("PojavLauncher Repository\nalt.crystall1ne.dev", "PojavLauncher Repository", true),
|
||||
("PokeMMO\npokemmo.eu/altstore/", "PokeMMO", false),
|
||||
("Odyssey\ntheodyssey.dev/altstore/odysseysource.json", "Odyssey", false),
|
||||
("Yattee\nrepos.yattee.stream/alt/apps.json", "Yattee", false),
|
||||
("ThatStella7922 Source\nThe home for all apps ThatStella7922", "ThatStella7922 Source", false)
|
||||
]
|
||||
|
||||
// Tap on each recommended source's "add" button.
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// DataStructuresTests.swift
|
||||
// DataStructuresTests
|
||||
//
|
||||
// Created by Magesh K on 21/02/25.
|
||||
// Copyright © 2025 SideStore. All rights reserved.
|
||||
//
|
||||
|
||||
import Testing
|
||||
|
||||
struct DataStructuresTests {
|
||||
|
||||
@Test func example() async throws {
|
||||
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user