Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 4 additions & 22 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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: "13.6.0"),
.package(url: "https://github.com/Quick/Quick.git", from: "7.6.2"),
.package(url: "https://github.com/Quick/Nimble.git", from: "10.0.0"),
.package(url: "https://github.com/Quick/Quick.git", from: "5.0.1"),
.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"),
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Commands/AccountSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Quick

// Deprecated test
public class AccountSpec: QuickSpec {
override public static func spec() {
override public func spec() {
beforeSuite {
Mas.initialize()
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Commands/HomeSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Quick
@testable import mas

public class HomeSpec: QuickSpec {
override public static func spec() {
override public func spec() {
let storeSearch = StoreSearchMock()
let openCommand = OpenSystemCommandMock()

Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Commands/InfoSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Quick
@testable import mas

public class InfoSpec: QuickSpec {
override public static func spec() {
override public func spec() {
let storeSearch = StoreSearchMock()

beforeSuite {
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Commands/InstallSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Quick
@testable import mas

public class InstallSpec: QuickSpec {
override public static func spec() {
override public func spec() {
beforeSuite {
Mas.initialize()
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Commands/ListSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Quick
@testable import mas

public class ListSpec: QuickSpec {
override public static func spec() {
override public func spec() {
beforeSuite {
Mas.initialize()
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Commands/LuckySpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Quick
@testable import mas

public class LuckySpec: QuickSpec {
override public static func spec() {
override public func spec() {
let networkSession = NetworkSessionMockFromFile(responseFile: "search/slack.json")
let storeSearch = MasStoreSearch(networkManager: NetworkManager(session: networkSession))

Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Commands/OpenSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Quick
@testable import mas

public class OpenSpec: QuickSpec {
override public static func spec() {
override public func spec() {
let storeSearch = StoreSearchMock()
let openCommand = OpenSystemCommandMock()

Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Commands/OutdatedSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Quick
@testable import mas

public class OutdatedSpec: QuickSpec {
override public static func spec() {
override public func spec() {
beforeSuite {
Mas.initialize()
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Commands/PurchaseSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Quick
@testable import mas

public class PurchaseSpec: QuickSpec {
override public static func spec() {
override public func spec() {
beforeSuite {
Mas.initialize()
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Commands/ResetSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Quick
@testable import mas

public class ResetSpec: QuickSpec {
override public static func spec() {
override public func spec() {
beforeSuite {
Mas.initialize()
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Commands/SearchSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Quick
@testable import mas

public class SearchSpec: QuickSpec {
override public static func spec() {
override public func spec() {
let storeSearch = StoreSearchMock()

beforeSuite {
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Commands/SignInSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Quick

// Deprecated test
public class SignInSpec: QuickSpec {
override public static func spec() {
override public func spec() {
beforeSuite {
Mas.initialize()
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Commands/SignOutSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Quick
@testable import mas

public class SignOutSpec: QuickSpec {
override public static func spec() {
override public func spec() {
beforeSuite {
Mas.initialize()
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Commands/UninstallSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Quick
@testable import mas

public class UninstallSpec: QuickSpec {
override public static func spec() {
override public func spec() {
beforeSuite {
Mas.initialize()
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Commands/UpgradeSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Quick
@testable import mas

public class UpgradeSpec: QuickSpec {
override public static func spec() {
override public func spec() {
beforeSuite {
Mas.initialize()
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Commands/VendorSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Quick
@testable import mas

public class VendorSpec: QuickSpec {
override public static func spec() {
override public func spec() {
let storeSearch = StoreSearchMock()
let openCommand = OpenSystemCommandMock()

Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Commands/VersionSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Quick
@testable import mas

public class VersionSpec: QuickSpec {
override public static func spec() {
override public func spec() {
beforeSuite {
Mas.initialize()
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Controllers/MasAppLibrarySpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Quick
@testable import mas

public class MasAppLibrarySpec: QuickSpec {
override public static func spec() {
override public func spec() {
let library = MasAppLibrary(softwareMap: SoftwareMapMock(products: apps))

beforeSuite {
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Controllers/MasStoreSearchSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Quick
@testable import mas

public class MasStoreSearchSpec: QuickSpec {
override public static func spec() {
override public func spec() {
beforeSuite {
Mas.initialize()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Quick
@testable import mas

public class OpenSystemCommandSpec: QuickSpec {
override public static func spec() {
override public func spec() {
beforeSuite {
Mas.initialize()
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Formatters/AppListFormatterSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Quick
@testable import mas

public class AppListsFormatterSpec: QuickSpec {
override public static func spec() {
override public func spec() {
// static func reference
let format = AppListFormatter.format(products:)
var products: [SoftwareProduct] = []
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Formatters/SearchResultFormatterSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Quick
@testable import mas

public class SearchResultsFormatterSpec: QuickSpec {
override public static func spec() {
override public func spec() {
// static func reference
let format = SearchResultFormatter.format(results:includePrice:)
var results: [SearchResult] = []
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Models/SearchResultListSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Quick
@testable import mas

public class SearchResultListSpec: QuickSpec {
override public static func spec() {
override public func spec() {
beforeSuite {
Mas.initialize()
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Models/SearchResultSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Quick
@testable import mas

public class SearchResultSpec: QuickSpec {
override public static func spec() {
override public func spec() {
beforeSuite {
Mas.initialize()
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/masTests/Models/SoftwareProductSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Quick
@testable import mas

public class SoftwareProductSpec: QuickSpec {
override public static func spec() {
override public func spec() {
beforeSuite {
Mas.initialize()
}
Expand Down