webrtc/sdk/objc/unittests
Nico Weber b3c9d3da8f [ios] Fix two rtc_unittests that fail when using lld as linker
setExif: would create a CFDictionary using NULL for keyCallBacks and
valueCallBacks. This has the effect of comparing the keys of the
dictionary by pointer instead of by value. With ld64, this works
because it always dedupes identical constant CFSTR("foo") literal,
but lld currently doesn't do this.

Using kCFTypeDictionaryKeyCallBacks and kCFTypeDictionaryValueCallBacks
fixes the problem with lld and is "more correct" in general: Now the
dictionary would work with computed CFStrings too, it shows up better
in CFShow() output, etc.

While here, also fix a memory leak in setExif:.

Bug: chromium:1251763
Change-Id: I43c96d2189a4a77fe3bd0dfb3e33623925b0f900
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/232760
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#35067}
2021-09-22 19:45:44 +00:00
..
audio_short16.pcm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
audio_short44.pcm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
audio_short48.pcm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
avformatmappertests.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
foreman.mp4 Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
frame_buffer_helpers.h Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
frame_buffer_helpers.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
main.mm Prepare for deletion of the NO_MAIN_THREAD_WRAPPING preprocessor define 2019-06-13 13:51:17 +00:00
nalu_rewriter_xctest.mm Remove usage of webrtc::RTPFragmentationHeader from objc wrappers 2020-09-01 11:17:36 +00:00
objc_video_decoder_factory_tests.mm Migrate objc video decoder wrapper from InitDecode to Configure 2021-08-23 14:50:55 +00:00
objc_video_encoder_factory_tests.mm Delete unneeded dependencies on the Module abstraction 2020-12-21 09:09:57 +00:00
ObjCVideoTrackSource_xctest.mm Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCAudioDevice_xctest.mm Add support for toggling builtin voice processing on iOS 2020-12-02 16:07:01 +00:00
RTCAudioDeviceModule_xctest.mm Use backticks not vertical bars to denote variables in comments for /sdk 2021-07-27 14:39:06 +00:00
RTCAudioSessionTest.mm Verify that locks are handled correctly on RTCAudioSession 2021-09-17 01:41:42 +00:00
RTCCallbackLogger_xctest.m Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCCameraVideoCapturerTests.mm [ios] Fix two rtc_unittests that fail when using lld as linker 2021-09-22 19:45:44 +00:00
RTCCertificateTest.mm Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCConfigurationTest.mm Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCCVPixelBuffer_xctest.mm Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCDataChannelConfigurationTest.mm Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCDoNotPutCPlusPlusInFrameworkHeaders_xctest.m Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
RTCEncodedImage_xctest.mm Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCFileVideoCapturer_xctest.mm Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCH264ProfileLevelId_xctest.m Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCIceCandidateTest.mm Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCIceServerTest.mm Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCMediaConstraintsTest.mm Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCMTLVideoView_xctest.m Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCNV12TextureCache_xctest.m Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCPeerConnectionFactory_xctest.m objc: fix rollback 2020-09-15 09:27:08 +00:00
RTCPeerConnectionFactoryBuilderTest.mm Delete MediaTransportFactory from android and objc apis 2020-06-12 08:16:32 +00:00
RTCPeerConnectionTest.mm Fix crash of Objc SDK addIceCandidate with incorrect candidate. 2021-08-04 21:42:07 +00:00
RTCSessionDescriptionTest.mm Fix crash of ObjC SDK sLD / sRD with incorrect SDP. 2021-08-04 20:39:00 +00:00
RTCTracingTest.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
scoped_cftyperef_tests.mm Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00