Skip to content

Commit e23d92e

Browse files
committed
test(coverage): point hover evidence at the typed-denial tests in the declaration table
1 parent d04527e commit e23d92e

2 files changed

Lines changed: 18 additions & 8 deletions

File tree

‎test/integration/command-coverage/declarations.ts‎

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import {
1818
ANDROID_HOVER_RUNTIME_CONTRACT_EVIDENCE,
1919
ANDROID_TV_REMOTE_RUNTIME_CONTRACT_EVIDENCE,
2020
ANDROID_VIEWPORT_RUNTIME_CONTRACT_EVIDENCE,
21+
APPLE_HOVER_DENIAL_EVIDENCE,
22+
LINUX_HOVER_DENIAL_EVIDENCE,
2123
LINUX_PROVIDER_EVIDENCE,
2224
LINUX_RUNTIME_EVIDENCE,
2325
TVOS_AUDIO_EVIDENCE,
@@ -894,18 +896,18 @@ const COMMAND_COVERAGE_DECLARATIONS = {
894896
'Android runtime facts reject hover with the pointer-only web contract hint',
895897
),
896898
iosSimulator: iosSimulator.contract(
897-
'packages/platform-apple/src/runtime.ts',
898-
'hover: unavailable',
899+
APPLE_HOVER_DENIAL_EVIDENCE.path,
900+
APPLE_HOVER_DENIAL_EVIDENCE.test,
899901
'the Apple runtime fact rejects hover, a pointer-only web contract',
900902
),
901903
macos: macos.contract(
902-
'packages/platform-apple/src/runtime.ts',
903-
'hover: unavailable',
904+
APPLE_HOVER_DENIAL_EVIDENCE.path,
905+
APPLE_HOVER_DENIAL_EVIDENCE.test,
904906
'the Apple runtime fact rejects pointer-only hover input on macOS',
905907
),
906908
tvos: tvos.contract(
907-
'packages/platform-apple/src/runtime.ts',
908-
'hover: unavailable',
909+
APPLE_HOVER_DENIAL_EVIDENCE.path,
910+
APPLE_HOVER_DENIAL_EVIDENCE.test,
909911
'the Apple runtime fact rejects pointer-only hover input on tvOS',
910912
),
911913
web: web.contract(
@@ -914,8 +916,8 @@ const COMMAND_COVERAGE_DECLARATIONS = {
914916
'web hover moves the pointer through the provider element handle',
915917
),
916918
linux: linux.contract(
917-
'packages/platform-linux/src/runtime.ts',
918-
'hover: unsupportedPlatformLeaf',
919+
LINUX_HOVER_DENIAL_EVIDENCE.path,
920+
LINUX_HOVER_DENIAL_EVIDENCE.test,
919921
'the Linux runtime fact rejects pointer-only hover input',
920922
),
921923
},

‎test/integration/command-coverage/evidence.ts‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ export const TVOS_AUDIO_EVIDENCE: RepositoryEvidence = {
5555
path: 'packages/platform-apple/src/runtime.test.ts',
5656
test: 'tvOS audio capture availability follows the exact host-owned runtime fact',
5757
};
58+
export const APPLE_HOVER_DENIAL_EVIDENCE: RepositoryEvidence = {
59+
path: 'packages/platform-apple/src/runtime.test.ts',
60+
test: 'hover has no Apple interactor route on macOS, iOS, or tvOS; the touch family reports its typed denial',
61+
};
5862

5963
export const WEB_SMOKE_TEST_NAME = 'live web platform e2e smoke';
6064
export const WEB_SMOKE_EVIDENCE: RepositoryEvidence = {
@@ -78,3 +82,7 @@ export const LINUX_RUNTIME_EVIDENCE: RepositoryEvidence = {
7882
path: 'packages/platform-linux/src/runtime.test.ts',
7983
test: 'classifies the Linux $name lifecycle denominator against the legacy dispatch cell',
8084
};
85+
export const LINUX_HOVER_DENIAL_EVIDENCE: RepositoryEvidence = {
86+
path: 'packages/platform-linux/src/runtime.test.ts',
87+
test: 'hover has no Linux interactor route; the touch family reports its typed denial',
88+
};

0 commit comments

Comments
 (0)