Skip to content

Detect diff for cells to be generated/reclaimed #1244

Detect diff for cells to be generated/reclaimed

Detect diff for cells to be generated/reclaimed #1244

GitHub Actions / Xcode test results failed Apr 8, 2024 in 0s

Xcode test results

Build Summary

Emitting module for ProtonTests
warning: Swift Compiler Warning: Conformance of 'GridView' to protocol 'BackgroundColorObserving' was already stated in the type's module 'Proton'
error: Swift Compiler Error: Type 'MockGridViewDelegate' does not conform to protocol 'GridViewDelegate'

Proton/Tests/Attachments/GridViewAttachment.swift:52:21: warning: conformance of 'GridView' to protocol 'BackgroundColorObserving' was already stated in the type's module 'Proton'
extension GridView: BackgroundColorObserving {
                    ^
Proton/Tests/Attachments/GridViewAttachment.swift:53:17: note: instance method 'containerEditor(_:backgroundColorUpdated:oldColor:)' will not be used to satisfy the conformance to 'BackgroundColorObserving'
    public func containerEditor(_ editor: EditorView, backgroundColorUpdated color: UIColor?, oldColor: UIColor?) {
                ^
Proton/Sources/Swift/Grid/View/GridView.swift:779:1: note: 'GridView' declares conformance to protocol 'BackgroundColorObserving' here
extension GridView: BackgroundColorObserving {
^
Proton/Tests/Grid/Mocks/MockGridViewDelegate.swift:25:7: error: type 'MockGridViewDelegate' does not conform to protocol 'GridViewDelegate'
class MockGridViewDelegate: GridViewDelegate {
      ^
Proton/Tests/Grid/Mocks/MockGridViewDelegate.swift:25:7: note: do you want to add protocol stubs?
class MockGridViewDelegate: GridViewDelegate {
      ^

Compile MockGridCellDelegate.swift (x86_64)
Compile SnapshotTestCase.swift (x86_64)
Compile ListParserTests.swift (x86_64)
Compile MockAsyncAttachmentRenderingDelegate.swift (x86_64)
Compile EditorCommandExecutorTests.swift (x86_64)
Compile MockRichTextViewDelegate.swift (x86_64)
Compile ListCommandTests.swift (x86_64)
Compile NSAttributedStringExtensionTests.swift (x86_64)
Compile MockDefaultTextFormattingProvider.swift (x86_64)
Compile GridViewAttachmentSnapshotTests.swift (x86_64)
Compile AutogrowingTextViewTests.swift (x86_64)
Compile EditorKeyTests.swift (x86_64)
Compile GridTests.swift (x86_64)
Compile EditorListsSnapshotTests.swift (x86_64)
Compile EditorContentEncoderTests.swift (x86_64)
Compile EditorViewContextSnapshotTests.swift (x86_64)
Compile RichTextViewTestViewController.swift (x86_64)
Compile MockAutogrowingTextViewDelegate.swift (x86_64)
Compile UIView+Render.swift (x86_64)
Compile MockEditorCommand.swift (x86_64)
Compile SnapshotTestViewController.swift (x86_64)
Compile AutogrowingTextField.swift (x86_64)
Compile MockTextProcessor.swift (x86_64)
Compile GridCellTests.swift (x86_64)
Compile TestTextProcessor.swift (x86_64)
Compile GridViewAttachment.swift (x86_64)
Compile MockEditorCommandExecutorDelegate.swift (x86_64)
Compile TextProcessorTests.swift (x86_64)
Compile MockRichTextViewListDelegate.swift (x86_64)
Compile TextBlockAttributeTests.swift (x86_64)
Compile FontTraitToggleCommandTests.swift (x86_64)
Compile EditorSnapshotTests.swift (x86_64)
Compile MockGridViewDelegate.swift (x86_64)
error: Swift Compiler Error: Type 'MockGridViewDelegate' does not conform to protocol 'GridViewDelegate'

Proton/Tests/Grid/Mocks/MockGridViewDelegate.swift:25:7: error: type 'MockGridViewDelegate' does not conform to protocol 'GridViewDelegate'
class MockGridViewDelegate: GridViewDelegate {
      ^
Proton/Sources/Swift/Grid/View/GridView.swift:26:9: note: protocol requires property 'containerScrollView' with type 'UIScrollView?'
    var containerScrollView: UIScrollView? { get }
        ^
Proton/Sources/Swift/Grid/View/GridView.swift:28:9: note: protocol requires property 'viewport' with type 'CGRect?'
    var viewport: CGRect? { get }
        ^

Compile ListsSnapshotTests.swift (x86_64)
Compile EditorViewportSnapshotTests.swift (x86_64)
Compile TextTransformer.swift (x86_64)
Compile EditorViewDelegateTests.swift (x86_64)
Compile GenericViewTestViewController.swift (x86_64)
Compile PanelView.swift (x86_64)
Compile MockEditorViewDelegate.swift (x86_64)
Compile TextStorageTests.swift (x86_64)
Compile EditorViewContextTests.swift (x86_64)
Compile EditorTestViewController.swift (x86_64)
Compile XCTestHelpers.swift (x86_64)
Compile RichTextViewSnapshotTests.swift (x86_64)
Compile MockKeyboardPress.swift (x86_64)
Compile EditorContentTransformerTests.swift (x86_64)
Compile RichTextViewTests.swift (x86_64)
Compile EditorContextDelegateTests.swift (x86_64)
Compile GridViewTests.swift (x86_64)
Unblock downstream dependents of ProtonTests (x86_64)

Annotations

Check failure on line 52 in Proton/Tests/Attachments/GridViewAttachment.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

warning

Conformance of 'GridView' to protocol 'BackgroundColorObserving' was already stated in the type's module 'Proton'

Check failure on line 25 in Proton/Tests/Grid/Mocks/MockGridViewDelegate.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Type 'MockGridViewDelegate' does not conform to protocol 'GridViewDelegate'

Check failure on line 25 in Proton/Tests/Grid/Mocks/MockGridViewDelegate.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Type 'MockGridViewDelegate' does not conform to protocol 'GridViewDelegate'