Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crashlytics swift test typos #13748

Merged
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class RemoteConfigConfigMock: RemoteConfigInterop {
for namespace: String) {}
}

class PersistanceManagerMock: CrashlyticsPersistenceLog {
class PersistenceManagerMock: CrashlyticsPersistenceLog {
func updateRolloutsStateToPersistence(rollouts: Data, reportID: String) {}
func debugLog(message: String) {}
}
Expand Down Expand Up @@ -67,7 +67,7 @@ final class CrashlyticsRemoteConfigManagerTests: XCTestCase {
func testRemoteConfigManagerProperlyProcessRolloutsState() throws {
let rcManager = CrashlyticsRemoteConfigManager(
remoteConfig: rcInterop,
persistenceDelegate: PersistanceManagerMock()
persistenceDelegate: PersistenceManagerMock()
)
rcManager.updateRolloutsState(rolloutsState: rollouts, reportID: "12R")
XCTAssertEqual(rcManager.rolloutAssignment.count, 2)
Expand All @@ -88,7 +88,7 @@ final class CrashlyticsRemoteConfigManagerTests: XCTestCase {

let rcManager = CrashlyticsRemoteConfigManager(
remoteConfig: rcInterop,
persistenceDelegate: PersistanceManagerMock()
persistenceDelegate: PersistenceManagerMock()
)
rcManager.updateRolloutsState(rolloutsState: singleRollout, reportID: "456")

Expand All @@ -99,7 +99,7 @@ final class CrashlyticsRemoteConfigManagerTests: XCTestCase {
func testMultiThreadsUpdateRolloutAssignments() throws {
let rcManager = CrashlyticsRemoteConfigManager(
remoteConfig: rcInterop,
persistenceDelegate: PersistanceManagerMock()
persistenceDelegate: PersistenceManagerMock()
)
DispatchQueue.main.async { [weak self] in
if let singleRollout = self?.singleRollout {
Expand All @@ -119,7 +119,7 @@ final class CrashlyticsRemoteConfigManagerTests: XCTestCase {
func testMultiThreadsReadAndWriteRolloutAssignments() throws {
let rcManager = CrashlyticsRemoteConfigManager(
remoteConfig: rcInterop,
persistenceDelegate: PersistanceManagerMock()
persistenceDelegate: PersistenceManagerMock()
)
rcManager.updateRolloutsState(rolloutsState: singleRollout, reportID: "456")

Expand Down
Loading