Upgrade test dependencies.

Quick upgrade necessary if we ever switch from PromiseKit to Swift concurrency.

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
This commit is contained in:
Ross Goldberg 2024-10-02 06:24:02 -04:00
parent 751e47bd26
commit f8d7a36a4c
No known key found for this signature in database
28 changed files with 50 additions and 32 deletions

View file

@ -23,8 +23,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/Quick/Nimble.git",
"state" : {
"revision" : "1f3bde57bde12f5e7b07909848c071e9b73d6edc",
"version" : "10.0.0"
"revision" : "6416749c3c0488664fff6b42f8bf3ea8dc282ca1",
"version" : "13.6.0"
}
},
{
@ -41,8 +41,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/Quick/Quick.git",
"state" : {
"revision" : "f9d519828bb03dfc8125467d8f7b93131951124c",
"version" : "5.0.1"
"revision" : "1163a1b1b114a657c7432b63dd1f92ce99fe11a6",
"version" : "7.6.2"
}
},
{
@ -54,6 +54,15 @@
"version" : "2.1.1"
}
},
{
"identity" : "swift-algorithms",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-algorithms.git",
"state" : {
"revision" : "f6919dfc309e7f1b56224378b11e28bab5bccc42",
"version" : "1.2.0"
}
},
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
@ -63,6 +72,15 @@
"version" : "1.5.0"
}
},
{
"identity" : "swift-numerics",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-numerics.git",
"state" : {
"revision" : "0a5bc04095a675662cf24757cc0640aa2204253b",
"version" : "1.0.2"
}
},
{
"identity" : "version",
"kind" : "remoteSourceControl",

View file

@ -17,8 +17,8 @@ let package = Package(
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(url: "https://github.com/Quick/Nimble.git", from: "10.0.0"),
.package(url: "https://github.com/Quick/Quick.git", from: "5.0.0"),
.package(url: "https://github.com/Quick/Nimble.git", from: "13.6.0"),
.package(url: "https://github.com/Quick/Quick.git", from: "7.6.2"),
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"),
.package(url: "https://github.com/mxcl/PromiseKit.git", from: "6.22.1"),
.package(url: "https://github.com/mxcl/Version.git", from: "2.1.0"),

View file

@ -13,7 +13,7 @@ import Quick
// Deprecated test
public class AccountSpec: QuickSpec {
override public func spec() {
override public static func spec() {
beforeSuite {
Mas.initialize()
}

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class HomeSpec: QuickSpec {
override public func spec() {
override public static func spec() {
let result = SearchResult(
trackId: 1111,
trackViewUrl: "mas preview url",

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class InfoSpec: QuickSpec {
override public func spec() {
override public static func spec() {
let result = SearchResult(
currentVersionReleaseDate: "2019-01-07T18:53:13Z",
fileSizeBytes: "1024",

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class InstallSpec: QuickSpec {
override public func spec() {
override public static func spec() {
beforeSuite {
Mas.initialize()
}

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class ListSpec: QuickSpec {
override public func spec() {
override public static func spec() {
beforeSuite {
Mas.initialize()
}

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class LuckySpec: QuickSpec {
override public func spec() {
override public static func spec() {
let networkSession = NetworkSessionMockFromFile(responseFile: "search/slack.json")
let storeSearch = MasStoreSearch(networkManager: NetworkManager(session: networkSession))

View file

@ -13,7 +13,7 @@ import Quick
@testable import mas
public class OpenSpec: QuickSpec {
override public func spec() {
override public static func spec() {
let result = SearchResult(
trackId: 1111,
trackViewUrl: "fakescheme://some/url",

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class OutdatedSpec: QuickSpec {
override public func spec() {
override public static func spec() {
beforeSuite {
Mas.initialize()
}

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class PurchaseSpec: QuickSpec {
override public func spec() {
override public static func spec() {
beforeSuite {
Mas.initialize()
}

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class ResetSpec: QuickSpec {
override public func spec() {
override public static func spec() {
beforeSuite {
Mas.initialize()
}

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class SearchSpec: QuickSpec {
override public func spec() {
override public static func spec() {
let result = SearchResult(
trackId: 1111,
trackName: "slack",

View file

@ -13,7 +13,7 @@ import Quick
// Deprecated test
public class SignInSpec: QuickSpec {
override public func spec() {
override public static func spec() {
beforeSuite {
Mas.initialize()
}

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class SignOutSpec: QuickSpec {
override public func spec() {
override public static func spec() {
beforeSuite {
Mas.initialize()
}

View file

@ -13,7 +13,7 @@ import Quick
@testable import mas
public class UninstallSpec: QuickSpec {
override public func spec() {
override public static func spec() {
beforeSuite {
Mas.initialize()
}

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class UpgradeSpec: QuickSpec {
override public func spec() {
override public static func spec() {
beforeSuite {
Mas.initialize()
}

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class VendorSpec: QuickSpec {
override public func spec() {
override public static func spec() {
let result = SearchResult(
trackId: 1111,
trackViewUrl: "https://awesome.app",

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class VersionSpec: QuickSpec {
override public func spec() {
override public static func spec() {
beforeSuite {
Mas.initialize()
}

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class MasAppLibrarySpec: QuickSpec {
override public func spec() {
override public static func spec() {
let library = MasAppLibrary(softwareMap: SoftwareMapMock(products: apps))
beforeSuite {

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class MasStoreSearchSpec: QuickSpec {
override public func spec() {
override public static func spec() {
beforeSuite {
Mas.initialize()
}

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class OpenSystemCommandSpec: QuickSpec {
override public func spec() {
override public static func spec() {
beforeSuite {
Mas.initialize()
}

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class AppListsFormatterSpec: QuickSpec {
override public func spec() {
override public static func spec() {
// static func reference
let format = AppListFormatter.format(products:)
var products: [SoftwareProduct] = []

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class SearchResultsFormatterSpec: QuickSpec {
override public func spec() {
override public static func spec() {
// static func reference
let format = SearchResultFormatter.format(results:includePrice:)
var results: [SearchResult] = []

View file

@ -13,7 +13,7 @@ import Quick
@testable import mas
public class SearchResultListSpec: QuickSpec {
override public func spec() {
override public static func spec() {
beforeSuite {
Mas.initialize()
}

View file

@ -13,7 +13,7 @@ import Quick
@testable import mas
public class SearchResultSpec: QuickSpec {
override public func spec() {
override public static func spec() {
beforeSuite {
Mas.initialize()
}

View file

@ -13,7 +13,7 @@ import Quick
@testable import mas
public class SoftwareProductSpec: QuickSpec {
override public func spec() {
override public static func spec() {
beforeSuite {
Mas.initialize()
}

View file

@ -12,7 +12,7 @@ import Quick
@testable import mas
public class OutputListenerSpec: QuickSpec {
override public func spec() {
override public static func spec() {
beforeSuite {
Mas.initialize()
}