mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00
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:
parent
65ab5fd728
commit
97d1c34769
1 changed files with 0 additions and 10 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue