WIP- implemented row sizing based on text content height #1257
Xcode test results
Testing workspace Proton with scheme Proton
Summary
Total | Passed | Failed | Skipped | Expected Failure | ⏱️ Time |
---|---|---|---|---|---|
398 | 396 | 2 | 0 | 0 | 14.13s |
Test Summary
ProtonTests
- Device: iPhone 15 Pro, 17.2 (21C62)
- SDK: Simulator - iOS 17.2, 17.2
Failures
ProtonTests/TableViewAttachmentSnapshotTests/testRendersViewportChangesWithVaryingContentHeight()
File | /Users/runner/work/proton/proton/Proton/Tests/Table/TableViewAttachmentSnapshotTests.swift:186 |
Issue Type | Assertion Failure |
Message | failed - Snapshot does not match reference.
ksdiff "/Users/runner/work/proton/proton/Proton/Tests/Table/Snapshots/TableViewAttachmentSnapshotTests/testRendersViewportChangesWithVaryingContentHeight.2.png" "/Users/runner/Library/Developer/CoreSimulator/Devices/2DD76D09-5814-4CF4-A0E3-FF3E21AF71DE/data/tmp/TableViewAttachmentSnapshotTests/testRendersViewportChangesWithVaryingContentHeight.2.png" Newly-taken snapshot does not match reference. |
ProtonTests/TableViewTests/testReusesTextFromPreRenderedCells()
File | /Users/runner/work/proton/proton/Proton/Tests/Table/TableViewTests.swift:64 |
Issue Type | Assertion Failure |
Message | XCTAssertEqual failed: ("") is not equal to ("{[0],[0]} {[0],[1]} {[0],[2]} {[0],[3]}") |
File | /Users/runner/work/proton/proton/Proton/Tests/Table/TableViewTests.swift:72 |
Issue Type | Assertion Failure |
Message | XCTAssertEqual failed: ("{[0],[0]} {[0],[1]} {[0],[2]} {[0],[3]} {[1],[0]} {[1],[1]} {[1],[2]} {[1],[3]}") is not equal to ("{[0],[0]} {[0],[1]} {[0],[2]} {[0],[3]} {[1],[0]} {[1],[1]} {[1],[2]} {[1],[3]} {[2],[0]} {[2],[1]} {[2],[2]} {[2],[3]}") |
File | /Users/runner/work/proton/proton/Proton/Tests/Table/TableViewTests.swift:85 |
Issue Type | Assertion Failure |
Message | XCTAssertEqual failed: ("{[0],[0]} {[0],[1]} {[0],[2]} {[0],[3]} {[1],[0]} {[1],[1]} {[1],[2]} {[1],[3]} {[3],[0]} {[3],[1]} {[3],[2]} {[3],[3]} {[4],[0]} {[4],[1]} {[4],[2]} {[4],[3]}") is not equal to ("{[0],[0]} {[0],[1]} {[0],[2]} {[0],[3]} {[1],[0]} {[1],[1]} {[1],[2]} {[1],[3]} {[2],[0]} {[2],[1]} {[2],[2]} {[2],[3]} {[4],[0]} {[4],[1]} {[4],[2]} {[4],[3]} {[5],[0]} {[5],[1]} {[5],[2]} {[5],[3]}") |
Code Coverage
Details
Test Details
ProtonTests
AsyncTextResolverSnapshotTests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.81s |
testDiscardsAsyncAttributeInOrder()
| |
testIgnoresTextAsyncAttributeUntilInvoked()
| |
testResolvesAsyncAttributeInOrder()
|
AttachmentUpdateSnapshotTests
⏱️ | ||||
---|---|---|---|---|
6 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.13s |
AttributesCommandTests
⏱️ | ||||
---|---|---|---|---|
2 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
testSetsToggledTypingAttributesInEmptySelectionInNonEmptyEditor()
| |
testSetsTypingAttributesInEmptyEditor()
|
AutogrowingTextViewSnapshotTests
⏱️ | ||||
---|---|---|---|---|
2 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.06s |
testRendersMultilineTextViewBasedOnContent()
| |
testRendersTextViewBasedOnContent()
|
AutogrowingTextViewTests
⏱️ | ||||
---|---|---|---|---|
1 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.04s |
testNotifiesDelegateOfBoundsChange()
|
EditorCommandExecutorTests
⏱️ | ||||
---|---|---|---|---|
6 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 1.01s |
EditorCommandSnapshotTests
⏱️ | ||||
---|---|---|---|---|
1 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.12s |
testExecutesCommandOnNestedEditors()
|
EditorContentTransformerTests
⏱️ | ||||
---|---|---|---|---|
1 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testTransformsText()
|
EditorContextDelegateTests
⏱️ | ||||
---|---|---|---|---|
4 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
testDidChangeSelectionInAllEditors()
| |
testDidLoseFocusInAllEditors()
| |
testDidReceiveFocusInAllEditors()
| |
testDidReceiveKeyInAllEditors()
|
EditorKeyTests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
test_ReturnsEnter()
| |
test_ReturnsTab()
| |
testReturnsNil()
|
EditorListsSnapshotTests
⏱️ | ||||
---|---|---|---|---|
32 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.12s |
EditorSnapshotTests
⏱️ | ||||
---|---|---|---|---|
52 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.35s |
EditorViewContextSnapshotTests
⏱️ | ||||
---|---|---|---|---|
1 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.05s |
testSelectsBeforeDeletingImageBasedAttachment()
|
EditorViewContextTests
⏱️ | ||||
---|---|---|---|---|
5 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testAppliesSameContextAsParentToNestedEditor()
| |
testCarriesOverCustomTypingAttributes()
| |
testGetsActiveEditorViewAcrossMultipleContexts()
| |
testGetsActiveEditorViewFromContext()
| |
testLockedAttributes()
|
EditorViewDelegateTests
⏱️ | ||||
---|---|---|---|---|
8 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
testDidChangeSelection()
| |
testDidLoseFocus()
| |
testDidReceiveFocus()
| |
testDidReceiveKey()
| |
testNotifiesBackspace()
| |
testNotifiesEnter()
| |
testNotifiesTab()
| |
testShouldHandleKey()
|
EditorViewMenuTests
⏱️ | ||||
---|---|---|---|---|
8 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testDefaultSelectAll()
| |
testOverridesCopy()
| |
testOverridesCut()
| |
testOverridesPaste()
| |
testOverridesSelect()
| |
testOverridesToggleBold()
| |
Annotations
Check failure on line 186 in Proton/Tests/Table/TableViewAttachmentSnapshotTests.swift
github-actions / Xcode test results
Assertion Failure
failed - Snapshot does not match reference.
ksdiff "/Users/runner/work/proton/proton/Proton/Tests/Table/__Snapshots__/TableViewAttachmentSnapshotTests/testRendersViewportChangesWithVaryingContentHeight.2.png" "/Users/runner/Library/Developer/CoreSimulator/Devices/2DD76D09-5814-4CF4-A0E3-FF3E21AF71DE/data/tmp/TableViewAttachmentSnapshotTests/testRendersViewportChangesWithVaryingContentHeight.2.png"
Newly-taken snapshot does not match reference.
Check failure on line 64 in Proton/Tests/Table/TableViewTests.swift
github-actions / Xcode test results
Assertion Failure
XCTAssertEqual failed: ("") is not equal to ("{[0],[0]} {[0],[1]} {[0],[2]} {[0],[3]}")
Check failure on line 72 in Proton/Tests/Table/TableViewTests.swift
github-actions / Xcode test results
Assertion Failure
XCTAssertEqual failed: ("{[0],[0]} {[0],[1]} {[0],[2]} {[0],[3]} {[1],[0]} {[1],[1]} {[1],[2]} {[1],[3]}") is not equal to ("{[0],[0]} {[0],[1]} {[0],[2]} {[0],[3]} {[1],[0]} {[1],[1]} {[1],[2]} {[1],[3]} {[2],[0]} {[2],[1]} {[2],[2]} {[2],[3]}")
Check failure on line 85 in Proton/Tests/Table/TableViewTests.swift
github-actions / Xcode test results
Assertion Failure
XCTAssertEqual failed: ("{[0],[0]} {[0],[1]} {[0],[2]} {[0],[3]} {[1],[0]} {[1],[1]} {[1],[2]} {[1],[3]} {[3],[0]} {[3],[1]} {[3],[2]} {[3],[3]} {[4],[0]} {[4],[1]} {[4],[2]} {[4],[3]}") is not equal to ("{[0],[0]} {[0],[1]} {[0],[2]} {[0],[3]} {[1],[0]} {[1],[1]} {[1],[2]} {[1],[3]} {[2],[0]} {[2],[1]} {[2],[2]} {[2],[3]} {[4],[0]} {[4],[1]} {[4],[2]} {[4],[3]} {[5],[0]} {[5],[1]} {[5],[2]} {[5],[3]}")