Enable rotation tests marked as expected failures

Bug: webrtc:8382
Change-Id: I70ba0cdbdc9bd1e3014a379deb9ae39795e60d1f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/290899
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39247}
This commit is contained in:
Andreas Pehrson 2023-01-13 14:23:27 +01:00 committed by WebRTC LUCI CQ
parent 65ab5fd728
commit 97d1c34769

View file

@ -186,9 +186,6 @@ CMSampleBufferRef createTestSampleBufferRef() {
[self.delegateMock verify];
}
#if 0
// See crbug.com/1404878 - XCTExpectFailure and XCTSkip are considered failures
- (void)testDelegateCallbackWithValidBufferAndOrientationUpdate {
#if TARGET_OS_IPHONE
XCTExpectFailure(@"Setting orientation on UIDevice is not supported");
@ -295,8 +292,6 @@ CMSampleBufferRef createTestSampleBufferRef() {
withOrientation:UIDeviceOrientationLandscapeRight];
}
#endif
- (void)setExif:(CMSampleBufferRef)sampleBuffer {
rtc::ScopedCFTypeRef<CFMutableDictionaryRef> exif(CFDictionaryCreateMutable(
kCFAllocatorDefault, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks));
@ -304,9 +299,6 @@ CMSampleBufferRef createTestSampleBufferRef() {
CMSetAttachment(sampleBuffer, CFSTR("{Exif}"), exif.get(), kCMAttachmentMode_ShouldPropagate);
}
#if 0
// See crbug.com/1404878 - XCTExpectFailure and XCTSkip are considered failures
- (void)testRotationFrame {
#if TARGET_OS_IPHONE
// Mock the AVCaptureConnection as we will get the camera position from the connection's
@ -352,8 +344,6 @@ CMSampleBufferRef createTestSampleBufferRef() {
#endif
}
#endif
- (void)testImageExif {
#if TARGET_OS_IPHONE
CMSampleBufferRef sampleBuffer = createTestSampleBufferRef();