From 5cc54036bd918fa423d353637bcc0d3fa367d3f6 Mon Sep 17 00:00:00 2001 From: Michael Mainguy Date: Sat, 19 Sep 2026 18:18:48 -0500 Subject: [PATCH] Keep camera fixtures byte-for-byte as the device sent them Co-Authored-By: Claude Opus 5 (1M context) --- .gitattributes | 2 + test/fixtures/isapi-image-capabilities.xml | 206 ++++++++++---------- test/fixtures/isapi-image.xml | 216 ++++++++++----------- 3 files changed, 213 insertions(+), 211 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d8a904a --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Camera documents are fixtures: keep them exactly as the device sent them (CRLF included). +test/fixtures/*.xml -text diff --git a/test/fixtures/isapi-image-capabilities.xml b/test/fixtures/isapi-image-capabilities.xml index 9c69c1b..552611e 100644 --- a/test/fixtures/isapi-image-capabilities.xml +++ b/test/fixtures/isapi-image-capabilities.xml @@ -1,103 +1,103 @@ - - -1 -true -1 - -close -50 - - -false -CLOSE - - -auto -4 -5 - -day - -06:00:00 -18:00:00 - - - - -auto1 -50 -50 -50 -50 - - -auto - -false - - - -50 - - -1/30 -1/30 -1/100000 - - -60hz - - -100 - - -50 -50 -50 - - -general - -50 - - -50 -50 - - - -false -50 - - -false - - -true -6 - - -eventIntelligence -auto -100 -100 - -100 - - -100 - - -auto -100 -100 -true -100 -100 - - -true - -close - - + + +1 +true +1 + +close +50 + + +false +CLOSE + + +auto +4 +5 + +day + +06:00:00 +18:00:00 + + + + +auto1 +50 +50 +50 +50 + + +auto + +false + + + +50 + + +1/30 +1/30 +1/100000 + + +60hz + + +100 + + +50 +50 +50 + + +general + +50 + + +50 +50 + + + +false +50 + + +false + + +true +6 + + +eventIntelligence +auto +100 +100 + +100 + + +100 + + +auto +100 +100 +true +100 +100 + + +true + +close + + diff --git a/test/fixtures/isapi-image.xml b/test/fixtures/isapi-image.xml index be56e17..1e37c18 100644 --- a/test/fixtures/isapi-image.xml +++ b/test/fixtures/isapi-image.xml @@ -1,108 +1,108 @@ - - -1 -true -1 - -false - - -auto -4 -5 - - -auto - -false - - - -60hz - - -false - - -false - - -close - - -manual -0 -0 - - -true -6 - - -close -50 - - -false - - -general - -50 - - - -auto1 -50 -50 -50 -50 - - -50 - - -0 -100 - - -1/30 -1/30 -1/100000 - - -50 -50 -50 - - -false -50 - - -1x - - -WhiteHot - - -eventIntelligence -auto -100 -100 - -100 - - -100 - - -auto -100 -100 -true -100 -100 - - - + + +1 +true +1 + +false + + +auto +4 +5 + + +auto + +false + + + +60hz + + +false + + +false + + +close + + +manual +0 +0 + + +true +6 + + +close +50 + + +false + + +general + +50 + + + +auto1 +50 +50 +50 +50 + + +50 + + +0 +100 + + +1/30 +1/30 +1/100000 + + +50 +50 +50 + + +false +50 + + +1x + + +WhiteHot + + +eventIntelligence +auto +100 +100 + +100 + + +100 + + +auto +100 +100 +true +100 +100 + + +