session-ios/SignalServiceKit/src/TestUtils/OWSMockSyncManager.swift
2018-10-18 16:47:18 -04:00

36 lines
672 B
Swift

//
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
//
import Foundation
import PromiseKit
#if DEBUG
@objc
public class OWSMockSyncManager: NSObject, OWSSyncManagerProtocol {
@objc public func sendConfigurationSyncMessage() {
Logger.info("")
}
@objc public func syncLocalContact() -> AnyPromise {
Logger.info("")
return AnyPromise()
}
@objc public func syncAllContacts() -> AnyPromise {
Logger.info("")
return AnyPromise()
}
@objc public func syncContacts(for signalAccounts: [SignalAccount]) -> AnyPromise {
Logger.info("")
return AnyPromise()
}
}
#endif