Skip to content

Commit 2f283f0

Browse files
committed
Rename MockGraph to MockDependencyGraph, replacing existing type of that name
1 parent 1a94f0e commit 2f283f0

File tree

3 files changed

+3
-156
lines changed

3 files changed

+3
-156
lines changed

Sources/SPMTestSupport/MockDependencyGraph.swift

Lines changed: 0 additions & 153 deletions
This file was deleted.

Sources/SPMTestSupport/MockDependencyResolver.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ public struct MockPackageContainerProvider: PackageContainerProvider {
212212
}
213213
}
214214

215-
public struct MockGraph {
215+
public struct MockDependencyGraph {
216216
public let name: String
217217
public let constraints: [MockPackageConstraint]
218218
public let containers: [MockPackageContainer]

Tests/PackageGraphPerformanceTests/DependencyResolverPerfTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ class DependencyResolverRealWorldPerfTests: XCTestCasePerf {
7373
}
7474
}
7575

76-
func mockGraph(for name: String) throws -> MockGraph {
76+
func mockGraph(for name: String) throws -> MockDependencyGraph {
7777
let input = AbsolutePath(#file).parentDirectory.appending(component: "Inputs").appending(component: name)
7878
let jsonString = try localFileSystem.readFileContents(input)
7979
let json = try JSON(bytes: jsonString)
80-
return MockGraph(json)
80+
return MockDependencyGraph(json)
8181
}
8282
}

0 commit comments

Comments
 (0)