mirror of https://github.com/oxen-io/session-ios
Ensure fakes/mocks are debug-only.
parent
ef12612a9c
commit
2ba642c9e9
@ -1,37 +1,42 @@
|
|||||||
// Created by Michael Kirk on 12/18/16.
|
//
|
||||||
// Copyright © 2016 Open Whisper Systems. All rights reserved.
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
#import "OWSFakeCallMessageHandler.h"
|
#import "OWSFakeCallMessageHandler.h"
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
|
|
||||||
@implementation OWSFakeCallMessageHandler
|
@implementation OWSFakeCallMessageHandler
|
||||||
|
|
||||||
- (void)receivedOffer:(OWSSignalServiceProtosCallMessageOffer *)offer fromCallerId:(NSString *)callerId
|
- (void)receivedOffer:(SSKProtoCallMessageOffer *)offer fromCallerId:(NSString *)callerId
|
||||||
{
|
{
|
||||||
NSLog(@"%s", __PRETTY_FUNCTION__);
|
NSLog(@"%s", __PRETTY_FUNCTION__);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)receivedAnswer:(OWSSignalServiceProtosCallMessageAnswer *)answer fromCallerId:(NSString *)callerId
|
- (void)receivedAnswer:(SSKProtoCallMessageAnswer *)answer fromCallerId:(NSString *)callerId
|
||||||
{
|
{
|
||||||
NSLog(@"%s", __PRETTY_FUNCTION__);
|
NSLog(@"%s", __PRETTY_FUNCTION__);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)receivedIceUpdate:(OWSSignalServiceProtosCallMessageIceUpdate *)iceUpdate fromCallerId:(NSString *)callerId
|
- (void)receivedIceUpdate:(SSKProtoCallMessageIceUpdate *)iceUpdate fromCallerId:(NSString *)callerId
|
||||||
{
|
{
|
||||||
NSLog(@"%s", __PRETTY_FUNCTION__);
|
NSLog(@"%s", __PRETTY_FUNCTION__);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)receivedHangup:(OWSSignalServiceProtosCallMessageHangup *)hangup fromCallerId:(NSString *)callerId
|
- (void)receivedHangup:(SSKProtoCallMessageHangup *)hangup fromCallerId:(NSString *)callerId
|
||||||
{
|
{
|
||||||
NSLog(@"%s", __PRETTY_FUNCTION__);
|
NSLog(@"%s", __PRETTY_FUNCTION__);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)receivedBusy:(OWSSignalServiceProtosCallMessageBusy *)busy fromCallerId:(NSString *)callerId
|
- (void)receivedBusy:(SSKProtoCallMessageBusy *)busy fromCallerId:(NSString *)callerId
|
||||||
{
|
{
|
||||||
NSLog(@"%s", __PRETTY_FUNCTION__);
|
NSLog(@"%s", __PRETTY_FUNCTION__);
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
||||||
|
Loading…
Reference in New Issue