- UnitTests: Moved DS unit tests into their own target

This commit is contained in:
Magesh K
2025-02-21 19:24:40 +05:30
parent 71212130c5
commit 87fe360927
5 changed files with 247 additions and 17 deletions

View 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
}

View File

@@ -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.

View File

@@ -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.
}
}