Merge of DownloadManager with upstream/develop #1176
Annotations
10 errors and 12 warnings
Run tests:
Course/CourseTests/Presentation/Container/CourseDownloadHelperTests.swift#L215
testPublisher_whenReceivedNotProgressEvent_ShouldSendValue, Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "wait for added event", "wait for started event", "wait for paused event", "wait for canceled event", "wait for courseCanceled event", "wait for allCanceled event", "wait for finished event", "wait for deletedFile event", "wait for clearedAll event".
|
Run tests:
Course/CourseTests/Presentation/Container/CourseDownloadHelperTests.swift#L216
testPublisher_whenReceivedNotProgressEvent_ShouldSendValue, XCTAssertTrue failed - Expected: exactly 9 invocations of `.getDownloadTasks()`, but was: 0.
|
Run tests:
Course/CourseTests/Presentation/Container/CourseDownloadHelperTests.swift#L217
testPublisher_whenReceivedNotProgressEvent_ShouldSendValue, XCTAssertTrue failed - Expected: exactly 9 invocations of `.getCurrentDownloadTask()`, but was: 0.
|
Run tests:
Course/CourseTests/Presentation/Container/CourseDownloadHelperTests.swift#L218
testPublisher_whenReceivedNotProgressEvent_ShouldSendValue, XCTAssertEqual failed: ("0") is not equal to ("9")
|
Run tests:
Course/CourseTests/Presentation/Container/CourseDownloadHelperTests.swift#L219
testPublisher_whenReceivedNotProgressEvent_ShouldSendValue, XCTAssertEqual failed: ("nil") is not equal to ("Optional(Course.CourseDownloadValue(currentDownloadTask: Optional(Core.DownloadDataTask(id: "0_1", courseId: "123", blockId: "1", userId: 0, url: "http://test/test.mp4", fileName: "1.mp4", displayName: "", progress: 0.0, resumeData: nil, state: Core.DownloadState.waiting, type: Core.DownloadType.video, fileSize: 1000, actualSize: 0, lastModified: nil)), courseDownloadTasks: [Core.DownloadDataTask(id: "0_1", courseId: "123", blockId: "1", userId: 0, url: "http://test/test.mp4", fileName: "1.mp4", displayName: "", progress: 0.0, resumeData: nil, state: Core.DownloadState.waiting, type: Core.DownloadType.video, fileSize: 1000, actualSize: 0, lastModified: nil)], allDownloadTasks: [Core.DownloadDataTask(id: "0_1", courseId: "123", blockId: "1", userId: 0, url: "http://test/test.mp4", fileName: "1.mp4", displayName: "", progress: 0.0, resumeData: nil, state: Core.DownloadState.waiting, type: Core.DownloadType.video, fileSize: 1000, actualSize: 0, lastModified: nil)], notFinishedTasks: [Core.DownloadDataTask(id: "0_1", courseId: "123", blockId: "1", userId: 0, url: "http://test/test.mp4", fileName: "1.mp4", displayName: "", progress: 0.0, resumeData: nil, state: Core.DownloadState.waiting, type: Core.DownloadType.video, fileSize: 1000, actualSize: 0, lastModified: nil)], downloadableVerticals: Set([Course.VerticalsDownloadState(vertical: Core.CourseVertical(blockId: "", id: "", courseId: "123", displayName: "", type: Core.BlockType.vertical, completion: 0.0, childs: [Core.CourseBlock(blockId: "", id: "1", courseId: "123", topicId: Optional(""), graded: false, due: Optional(2025-01-29 13:22:51 +0000), completion: 0.0, type: Core.BlockType.video, displayName: "", studentUrl: "", webUrl: "", subtitles: nil, encodedVideo: Optional(Core.CourseBlockEncodedVideo(fallback: nil, desktopMP4: Optional(Core.CourseBlockVideo(url: Optional("http://test/test.mp4"), fileSize: Optional(1000), streamPriority: Optional(1))), mobileHigh: nil, mobileLow: nil, hls: nil, youtube: nil)), multiDevice: Optional(true), offlineDownload: nil)], webUrl: ""), state: Core.DownloadViewState.downloading)]), sequentialsStates: ["": Core.DownloadViewState.downloading], totalFilesSize: 1000, downloadedFilesSize: 0, largestBlocks: [], state: Course.OfflineView.DownloadAllState.cancel))")
|
Run tests:
Course/CourseTests/Presentation/Container/CourseDownloadHelperTests.swift#L143
testPublisher_whenRefresh_ShouldSendValue, Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "wait for publisher".
|
Run tests:
Course/CourseTests/Presentation/Container/CourseDownloadHelperTests.swift#L144
testPublisher_whenRefresh_ShouldSendValue, XCTAssertTrue failed - Expected: once invocations of `.getDownloadTasks()`, but was: 0.
|
Run tests:
Course/CourseTests/Presentation/Container/CourseDownloadHelperTests.swift#L145
testPublisher_whenRefresh_ShouldSendValue, XCTAssertTrue failed - Expected: once invocations of `.getCurrentDownloadTask()`, but was: 0.
|
Run tests:
Course/CourseTests/Presentation/Container/CourseDownloadHelperTests.swift#L146
testPublisher_whenRefresh_ShouldSendValue, XCTAssertEqual failed: ("nil") is not equal to ("Optional(Course.CourseDownloadValue(currentDownloadTask: Optional(Core.DownloadDataTask(id: "0_1", courseId: "123", blockId: "1", userId: 0, url: "http://test/test.mp4", fileName: "1.mp4", displayName: "", progress: 0.0, resumeData: nil, state: Core.DownloadState.waiting, type: Core.DownloadType.video, fileSize: 1000, actualSize: 0, lastModified: nil)), courseDownloadTasks: [Core.DownloadDataTask(id: "0_1", courseId: "123", blockId: "1", userId: 0, url: "http://test/test.mp4", fileName: "1.mp4", displayName: "", progress: 0.0, resumeData: nil, state: Core.DownloadState.waiting, type: Core.DownloadType.video, fileSize: 1000, actualSize: 0, lastModified: nil)], allDownloadTasks: [Core.DownloadDataTask(id: "0_1", courseId: "123", blockId: "1", userId: 0, url: "http://test/test.mp4", fileName: "1.mp4", displayName: "", progress: 0.0, resumeData: nil, state: Core.DownloadState.waiting, type: Core.DownloadType.video, fileSize: 1000, actualSize: 0, lastModified: nil)], notFinishedTasks: [Core.DownloadDataTask(id: "0_1", courseId: "123", blockId: "1", userId: 0, url: "http://test/test.mp4", fileName: "1.mp4", displayName: "", progress: 0.0, resumeData: nil, state: Core.DownloadState.waiting, type: Core.DownloadType.video, fileSize: 1000, actualSize: 0, lastModified: nil)], downloadableVerticals: Set([Course.VerticalsDownloadState(vertical: Core.CourseVertical(blockId: "", id: "", courseId: "123", displayName: "", type: Core.BlockType.vertical, completion: 0.0, childs: [Core.CourseBlock(blockId: "", id: "1", courseId: "123", topicId: Optional(""), graded: false, due: Optional(2025-01-29 13:22:57 +0000), completion: 0.0, type: Core.BlockType.video, displayName: "", studentUrl: "", webUrl: "", subtitles: nil, encodedVideo: Optional(Core.CourseBlockEncodedVideo(fallback: nil, desktopMP4: Optional(Core.CourseBlockVideo(url: Optional("http://test/test.mp4"), fileSize: Optional(1000), streamPriority: Optional(1))), mobileHigh: nil, mobileLow: nil, hls: nil, youtube: nil)), multiDevice: Optional(true), offlineDownload: nil)], webUrl: ""), state: Core.DownloadViewState.downloading)]), sequentialsStates: ["": Core.DownloadViewState.downloading], totalFilesSize: 1000, downloadedFilesSize: 0, largestBlocks: [], state: Course.OfflineView.DownloadAllState.cancel))")
|
Run tests
Process completed with exit code 1.
|
Setup environment
xcodesorg/made/xcodes 1.6.0 is already installed and up-to-date.
To reinstall 1.6.0, run:
brew reinstall xcodes
|
Setup environment
git-lfs 3.6.1 is already installed and up-to-date.
To reinstall 3.6.1, run:
brew reinstall git-lfs
|
Run tests:
Core/Core/View/Base/Webview/WebView.swift#L118
instance method 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
|
Run tests:
Core/Core/View/Base/Webview/Models/ReadabilityInjection.swift#L10
@preconcurrency attribute on conformance to 'Equatable' has no effect
|
Run tests:
Core/Core/View/Base/Webview/Models/ReadabilityInjection.swift#L10
@preconcurrency attribute on conformance to 'Identifiable' has no effect
|
Run tests:
Core/Core/View/Base/Webview/Models/AccessibilityInjection.swift#L13
@preconcurrency attribute on conformance to 'Equatable' has no effect
|
Run tests:
Core/Core/View/Base/Webview/Models/AccessibilityInjection.swift#L13
@preconcurrency attribute on conformance to 'Identifiable' has no effect
|
Run tests:
Core/Core/View/Base/Webview/WebViewHTML.swift#L85
instance method 'webView(_:decidePolicyFor:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:decisionHandler:)' of protocol 'WKNavigationDelegate'
|
Run tests:
Core/Core/View/Base/Webview/WebView.swift#L118
instance method 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
|
Run tests:
Core/Core/View/Base/Webview/Models/ReadabilityInjection.swift#L10
@preconcurrency attribute on conformance to 'Equatable' has no effect
|
Run tests:
Core/Core/View/Base/Webview/Models/ReadabilityInjection.swift#L10
@preconcurrency attribute on conformance to 'Identifiable' has no effect
|
Run tests:
Core/Core/View/Base/Webview/Models/AccessibilityInjection.swift#L13
@preconcurrency attribute on conformance to 'Equatable' has no effect
|
Loading