Mac: finish Moltbot rename (paths)

This commit is contained in:
Shadow
2026-01-27 14:12:47 -06:00
parent cc72498b46
commit c1a7917de7
374 changed files with 0 additions and 18903 deletions

View File

@@ -0,0 +1,26 @@
import AppKit
import Testing
@testable import Moltbot
@Suite(.serialized)
@MainActor
struct HoverHUDControllerTests {
@Test func hoverHUDControllerPresentsAndDismisses() async {
let controller = HoverHUDController()
controller.setSuppressed(false)
controller.statusItemHoverChanged(
inside: true,
anchorProvider: { NSRect(x: 10, y: 10, width: 24, height: 24) })
try? await Task.sleep(nanoseconds: 260_000_000)
controller.panelHoverChanged(inside: true)
controller.panelHoverChanged(inside: false)
controller.statusItemHoverChanged(
inside: false,
anchorProvider: { NSRect(x: 10, y: 10, width: 24, height: 24) })
controller.dismiss(reason: "test")
controller.setSuppressed(true)
}
}