mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Respond to CR.
This commit is contained in:
parent
90002459c4
commit
a4d24c78a4
3 changed files with 11 additions and 13 deletions
|
@ -432,7 +432,7 @@
|
||||||
4C20B2B720CA0034001BAC90 /* ThreadViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4542DF51208B82E9007B4E76 /* ThreadViewModel.swift */; };
|
4C20B2B720CA0034001BAC90 /* ThreadViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4542DF51208B82E9007B4E76 /* ThreadViewModel.swift */; };
|
||||||
4C20B2B920CA10DE001BAC90 /* ConversationSearchViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C20B2B820CA10DE001BAC90 /* ConversationSearchViewController.swift */; };
|
4C20B2B920CA10DE001BAC90 /* ConversationSearchViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C20B2B820CA10DE001BAC90 /* ConversationSearchViewController.swift */; };
|
||||||
4C3EF7FD2107DDEE0007EBF7 /* ParamParserTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C3EF7FC2107DDEE0007EBF7 /* ParamParserTest.swift */; };
|
4C3EF7FD2107DDEE0007EBF7 /* ParamParserTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C3EF7FC2107DDEE0007EBF7 /* ParamParserTest.swift */; };
|
||||||
4C3EF802210918740007EBF7 /* SSKEnvelopeTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C3EF801210918740007EBF7 /* SSKEnvelopeTest.swift */; };
|
4C3EF802210918740007EBF7 /* SSKProtoEnvelopeTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C3EF801210918740007EBF7 /* SSKProtoEnvelopeTest.swift */; };
|
||||||
4C4AEC4520EC343B0020E72B /* DismissableTextField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C4AEC4420EC343B0020E72B /* DismissableTextField.swift */; };
|
4C4AEC4520EC343B0020E72B /* DismissableTextField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C4AEC4420EC343B0020E72B /* DismissableTextField.swift */; };
|
||||||
4C4BC6C32102D697004040C9 /* ContactDiscoveryOperationTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C4BC6C22102D697004040C9 /* ContactDiscoveryOperationTest.swift */; };
|
4C4BC6C32102D697004040C9 /* ContactDiscoveryOperationTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C4BC6C22102D697004040C9 /* ContactDiscoveryOperationTest.swift */; };
|
||||||
4C63CC00210A620B003AE45C /* SignalTSan.supp in Resources */ = {isa = PBXBuildFile; fileRef = 4C63CBFF210A620B003AE45C /* SignalTSan.supp */; };
|
4C63CC00210A620B003AE45C /* SignalTSan.supp in Resources */ = {isa = PBXBuildFile; fileRef = 4C63CBFF210A620B003AE45C /* SignalTSan.supp */; };
|
||||||
|
@ -1114,7 +1114,7 @@
|
||||||
4C13C9F520E57BA30089A98B /* ColorPickerViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ColorPickerViewController.swift; sourceTree = "<group>"; };
|
4C13C9F520E57BA30089A98B /* ColorPickerViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ColorPickerViewController.swift; sourceTree = "<group>"; };
|
||||||
4C20B2B820CA10DE001BAC90 /* ConversationSearchViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConversationSearchViewController.swift; sourceTree = "<group>"; };
|
4C20B2B820CA10DE001BAC90 /* ConversationSearchViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConversationSearchViewController.swift; sourceTree = "<group>"; };
|
||||||
4C3EF7FC2107DDEE0007EBF7 /* ParamParserTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ParamParserTest.swift; sourceTree = "<group>"; };
|
4C3EF7FC2107DDEE0007EBF7 /* ParamParserTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ParamParserTest.swift; sourceTree = "<group>"; };
|
||||||
4C3EF801210918740007EBF7 /* SSKEnvelopeTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSKEnvelopeTest.swift; sourceTree = "<group>"; };
|
4C3EF801210918740007EBF7 /* SSKProtoEnvelopeTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSKProtoEnvelopeTest.swift; sourceTree = "<group>"; };
|
||||||
4C4AEC4420EC343B0020E72B /* DismissableTextField.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DismissableTextField.swift; sourceTree = "<group>"; };
|
4C4AEC4420EC343B0020E72B /* DismissableTextField.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DismissableTextField.swift; sourceTree = "<group>"; };
|
||||||
4C4BC6C22102D697004040C9 /* ContactDiscoveryOperationTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ContactDiscoveryOperationTest.swift; path = contact/ContactDiscoveryOperationTest.swift; sourceTree = "<group>"; };
|
4C4BC6C22102D697004040C9 /* ContactDiscoveryOperationTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ContactDiscoveryOperationTest.swift; path = contact/ContactDiscoveryOperationTest.swift; sourceTree = "<group>"; };
|
||||||
4C63CBFF210A620B003AE45C /* SignalTSan.supp */ = {isa = PBXFileReference; lastKnownFileType = text; path = SignalTSan.supp; sourceTree = "<group>"; };
|
4C63CBFF210A620B003AE45C /* SignalTSan.supp */ = {isa = PBXFileReference; lastKnownFileType = text; path = SignalTSan.supp; sourceTree = "<group>"; };
|
||||||
|
@ -2124,7 +2124,7 @@
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
4C3EF7FC2107DDEE0007EBF7 /* ParamParserTest.swift */,
|
4C3EF7FC2107DDEE0007EBF7 /* ParamParserTest.swift */,
|
||||||
4C3EF801210918740007EBF7 /* SSKEnvelopeTest.swift */,
|
4C3EF801210918740007EBF7 /* SSKProtoEnvelopeTest.swift */,
|
||||||
);
|
);
|
||||||
path = SSKTests;
|
path = SSKTests;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
@ -3481,7 +3481,7 @@
|
||||||
4C3EF7FD2107DDEE0007EBF7 /* ParamParserTest.swift in Sources */,
|
4C3EF7FD2107DDEE0007EBF7 /* ParamParserTest.swift in Sources */,
|
||||||
B660F6DB1C29868000687D6E /* FunctionalUtilTest.m in Sources */,
|
B660F6DB1C29868000687D6E /* FunctionalUtilTest.m in Sources */,
|
||||||
45E7A6A81E71CA7E00D44FB5 /* DisplayableTextFilterTest.swift in Sources */,
|
45E7A6A81E71CA7E00D44FB5 /* DisplayableTextFilterTest.swift in Sources */,
|
||||||
4C3EF802210918740007EBF7 /* SSKEnvelopeTest.swift in Sources */,
|
4C3EF802210918740007EBF7 /* SSKProtoEnvelopeTest.swift in Sources */,
|
||||||
452D1AF12081059C00A67F7F /* StringAdditionsTest.swift in Sources */,
|
452D1AF12081059C00A67F7F /* StringAdditionsTest.swift in Sources */,
|
||||||
4C4BC6C32102D697004040C9 /* ContactDiscoveryOperationTest.swift in Sources */,
|
4C4BC6C32102D697004040C9 /* ContactDiscoveryOperationTest.swift in Sources */,
|
||||||
B660F6BB1C29868000687D6E /* OWSContactsManagerTest.m in Sources */,
|
B660F6BB1C29868000687D6E /* OWSContactsManagerTest.m in Sources */,
|
||||||
|
|
|
@ -115,15 +115,13 @@ class PeerConnectionClientTest: XCTestCase {
|
||||||
func testDataChannelMessage() {
|
func testDataChannelMessage() {
|
||||||
XCTAssertEqual(0, clientDelegate.dataChannelMessages.count)
|
XCTAssertEqual(0, clientDelegate.dataChannelMessages.count)
|
||||||
|
|
||||||
var hangupData: Data
|
let hangupBuilder = WebRTCProtoHangup.WebRTCProtoHangupBuilder()
|
||||||
do {
|
hangupBuilder.setId(123)
|
||||||
let hangupBuilder = WebRTCProtoHangup.WebRTCProtoHangupBuilder()
|
let hangup = try! hangupBuilder.build()
|
||||||
hangupBuilder.setId(123)
|
|
||||||
hangupData = try hangupBuilder.buildSerializedData()
|
let dataBuilder = WebRTCProtoData.WebRTCProtoDataBuilder()
|
||||||
} catch {
|
dataBuilder.setHangup(hangup)
|
||||||
XCTFail("Couldn't build proto.")
|
let hangupData = try! dataBuilder.buildSerializedData()
|
||||||
return
|
|
||||||
}
|
|
||||||
let hangupBuffer = RTCDataBuffer(data: hangupData, isBinary: false)
|
let hangupBuffer = RTCDataBuffer(data: hangupData, isBinary: false)
|
||||||
client.dataChannel(dataChannel, didReceiveMessageWith: hangupBuffer)
|
client.dataChannel(dataChannel, didReceiveMessageWith: hangupBuffer)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue