fix(ci): bundle Studio protocol fixtures for standalone tests
Test / Tests and coverage
Intrepid/Prometeu/Studio/pipeline/head This commit looks good

Load the fixed protocol vectors from test resources instead of a sibling runtime checkout, preserving all wire assertions.

Validation: the Jenkins Gradle command passed under JDK 25 in an isolated Studio checkout without ../runtime; 1064 tests, zero failures, consolidated JaCoCo report generated.
This commit is contained in:
2026-11-19 20:37:44 +00:00
parent da0b1008cc
commit 71b62a8e0a
5 changed files with 31 additions and 12 deletions
@@ -0,0 +1,10 @@
# Studio protocol test vectors
These protocol 1.0 vectors mirror `devtools/studio-protocol/fixtures` in
`prometeu-runtime`. Keep both copies identical when changing the protocol.
`pause.hex` checks the control header; `rgba.hex` checks frame metadata and pixels.
They are fixed reference bytes, independent of the Java encoder under test.
Studio unit tests load these resources from the classpath so a standalone checkout
does not need a sibling runtime repository. Cross-repository qualification belongs
to `prometeu-tooling`.
@@ -0,0 +1,2 @@
50 53 54 31 01 00 00 00 04 00 00 00 00 00 00 00
01 00 00 00 00 00 00 00 2a 00 00 00 00 00 00 00
@@ -0,0 +1,6 @@
50 53 54 31 01 00 00 00 09 00 00 00 38 00 00 00
01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
01 00 00 00 00 00 00 00 07 00 00 00 00 00 00 00
02 00 00 00 01 00 00 00 02 00 00 00 01 00 00 00
ff 00 00 ff 00 00 ff 80