diff --git a/tests/end-to-end/embedded-nul/input.png b/tests/end-to-end/embedded-nul/input.png new file mode 100644 index 00000000..9b19cb92 Binary files /dev/null and b/tests/end-to-end/embedded-nul/input.png differ diff --git a/tests/end-to-end/embedded-nul/output.json b/tests/end-to-end/embedded-nul/output.json new file mode 100644 index 00000000..9acac625 --- /dev/null +++ b/tests/end-to-end/embedded-nul/output.json @@ -0,0 +1,647 @@ +{ + "binaryData": [ + 255, + 243, + 128, + 196, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 88, + 105, + 110, + 103, + 0, + 0, + 0, + 15, + 0, + 0, + 0, + 60, + 0, + 0, + 32, + 235, + 0, + 4, + 13, + 13, + 17, + 17, + 21, + 25, + 25, + 29, + 29, + 34, + 37, + 37, + 42, + 42, + 45, + 49, + 49, + 53, + 53, + 56, + 60, + 60, + 64, + 64, + 70, + 75, + 75, + 79, + 79, + 83, + 86, + 86, + 90, + 90, + 94, + 104, + 104, + 114, + 114, + 117, + 121, + 121, + 125, + 125, + 129, + 132, + 132, + 136, + 136, + 140, + 144, + 144, + 148, + 148, + 152, + 155, + 155, + 159, + 159, + 163, + 167, + 167, + 172, + 172, + 176, + 181, + 181, + 185, + 185, + 189, + 193, + 193, + 198, + 198, + 202, + 205, + 205, + 209, + 209, + 213, + 217, + 217, + 221, + 221, + 226, + 229, + 229, + 233, + 233, + 237, + 241, + 241, + 245, + 245, + 249, + 255, + 255, + 255, + 0, + 0, + 0, + 57, + 76, + 65, + 77, + 69, + 51, + 46, + 57, + 57, + 114, + 2, + 105, + 0, + 0, + 0, + 0, + 46, + 46, + 0, + 0, + 20, + 40, + 36, + 4, + 31, + 66, + 0, + 0, + 40, + 0, + 0, + 32, + 235, + 56, + 85, + 255, + 236, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 255, + 243, + 80, + 196, + 0, + 24, + 155, + 30, + 164, + 1, + 67, + 40, + 0, + 46, + 187, + 185, + 253, + 119, + 115, + 230, + 224, + 2, + 19, + 244, + 220, + 56, + 28, + 35, + 116, + 33, + 206, + 115, + 191, + 232, + 66, + 103, + 57, + 9, + 83, + 156, + 249, + 222, + 132, + 33, + 50, + 16, + 132, + 20, + 33, + 27, + 144, + 132, + 33, + 27, + 161, + 8, + 79, + 212, + 231, + 58, + 16, + 62, + 1, + 128, + 97, + 240, + 248, + 187, + 161, + 3, + 225, + 243, + 191, + 252, + 231, + 59, + 255, + 242, + 16, + 132, + 243, + 188, + 132, + 33, + 42, + 66, + 16, + 132, + 33, + 9, + 245, + 57 + ], + "data": "", + "chunks": [ + { + "type": "byte", + "bytes": [ + 255, + 243, + 128, + 196, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 88, + 105, + 110, + 103, + 0, + 0, + 0, + 15, + 0, + 0, + 0, + 60, + 0, + 0, + 32, + 235, + 0, + 4, + 13, + 13, + 17, + 17, + 21, + 25, + 25, + 29, + 29, + 34, + 37, + 37, + 42, + 42, + 45, + 49, + 49, + 53, + 53, + 56, + 60, + 60, + 64, + 64, + 70, + 75, + 75, + 79, + 79, + 83, + 86, + 86, + 90, + 90, + 94, + 104, + 104, + 114, + 114, + 117, + 121, + 121, + 125, + 125, + 129, + 132, + 132, + 136, + 136, + 140, + 144, + 144, + 148, + 148, + 152, + 155, + 155, + 159, + 159, + 163, + 167, + 167, + 172, + 172, + 176, + 181, + 181, + 185, + 185, + 189, + 193, + 193, + 198, + 198, + 202, + 205, + 205, + 209, + 209, + 213, + 217, + 217, + 221, + 221, + 226, + 229, + 229, + 233, + 233, + 237, + 241, + 241, + 245, + 245, + 249, + 255, + 255, + 255, + 0, + 0, + 0, + 57, + 76, + 65, + 77, + 69, + 51, + 46, + 57, + 57, + 114, + 2, + 105, + 0, + 0, + 0, + 0, + 46, + 46, + 0, + 0, + 20, + 40, + 36, + 4, + 31, + 66, + 0, + 0, + 40, + 0, + 0, + 32, + 235, + 56, + 85, + 255, + 236, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 255, + 243, + 80, + 196, + 0, + 24, + 155, + 30, + 164, + 1, + 67, + 40, + 0, + 46, + 187, + 185, + 253, + 119, + 115, + 230, + 224, + 2, + 19, + 244, + 220, + 56, + 28, + 35, + 116, + 33, + 206, + 115, + 191, + 232, + 66, + 103, + 57, + 9, + 83, + 156, + 249, + 222, + 132, + 33, + 50, + 16, + 132, + 20, + 33, + 27, + 144, + 132, + 33, + 27, + 161, + 8, + 79, + 212, + 231, + 58, + 16, + 62, + 1, + 128, + 97, + 240, + 248, + 187, + 161, + 3, + 225, + 243, + 191, + 252, + 231, + 59, + 255, + 242, + 16, + 132, + 243, + 188, + 132, + 33, + 42, + 66, + 16, + 132, + 33, + 9, + 245, + 57 + ], + "text": "" + } + ], + "location": { + "topRightCorner": { + "x": 195, + "y": 12 + }, + "topLeftCorner": { + "x": 12, + "y": 12 + }, + "bottomRightCorner": { + "x": 195, + "y": 195 + }, + "bottomLeftCorner": { + "x": 12, + "y": 195 + }, + "topRightFinderPattern": { + "x": 184.5, + "y": 22.5 + }, + "topLeftFinderPattern": { + "x": 22.5, + "y": 22.5 + }, + "bottomLeftFinderPattern": { + "x": 22.5, + "y": 184.5 + }, + "bottomRightAlignmentPattern": { + "x": 175.5, + "y": 175.5 + } + } +} \ No newline at end of file diff --git a/tests/end-to-end/report.json b/tests/end-to-end/report.json index 24fb4f5b..d7203f32 100644 --- a/tests/end-to-end/report.json +++ b/tests/end-to-end/report.json @@ -1,7 +1,7 @@ { "counts": { - "failed": 47, - "successful": 207 + "failed": 48, + "successful": 208 }, "tests": { "0": true, @@ -211,6 +211,7 @@ "cupcake-3": true, "cupcake-4": true, "damaged": false, + "embedded-nul": true, "emblem-patch": false, "hk-ikea": true, "hudson-highlands-state-park": true,