Skip to content

Commit c3ba505

Browse files
committed
test: trimming some comments and removing a wip test
1 parent a1d23ee commit c3ba505

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

test/ex_image_info_test/mocks/isobmff_test.exs

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,9 @@ defmodule ExImageInfoTest.Mocks.ISOBMFFTest do
150150
0x0C9A2036::32, 0x2FA20851::32, 0xD36E::32
151151
>>,
152152
"heic-hdlr-1" => <<
153-
# tried using extended size for the first box, and it does not work
154-
# because the size(64) overlaps with the "brand" in the first 4 bytes
155153
0x00000018::32,
156154
"ftyp", #0x66747970::32
157155
"heic", # 0x68656963::32,
158-
# it seems it cannot be here the extended size
159-
# 0x0000000000000018::size(64),
160156
0x00000000::32,
161157
0x68656963::32, 0x6D696631::32,
162158
# first box done (ftyp)
@@ -177,13 +173,9 @@ defmodule ExImageInfoTest.Mocks.ISOBMFFTest do
177173
# 0x00::8, 0x00003869::32, 0x696E6600::32, ...
178174
>>,
179175
"heic-hdlr-2" => <<
180-
# tried using extended size for the first box, and it does not work
181-
# because the size(64) overlaps with the "brand" in the first 4 bytes
182176
0x00000018::32,
183177
"ftyp", #0x66747970::32
184178
"heic", # 0x68656963::32,
185-
# it seems it cannot be here the extended size
186-
# 0x0000000000000018::size(64),
187179
0x00000000::32,
188180
0x68656963::32, 0x6D696631::32,
189181
# first box done (ftyp)
@@ -203,27 +195,19 @@ defmodule ExImageInfoTest.Mocks.ISOBMFFTest do
203195
# 0x00::8, 0x00003869::32, 0x696E6600::32, ...
204196
>>,
205197
"heic-jxlc" => <<
206-
# tried using extended size for the first box, and it does not work
207-
# because the size(64) overlaps with the "brand" in the first 4 bytes
208198
0x00000018::32,
209199
"ftyp", #0x66747970::32
210200
"heic", # 0x68656963::32,
211-
# it seems it cannot be here the extended size
212-
# 0x0000000000000018::size(64),
213201
0x00000000::32,
214202
0x68656963::32, 0x6D696631::32,
215203
# first box done (ftyp)
216204
0x000001EC::32, 0x6D657461::32,
217205
0x00000000::32, 0x00000009::32, "jxlc", 0x00000000::32
218206
>>,
219207
"heic-meta" => <<
220-
# tried using extended size for the first box, and it does not work
221-
# because the size(64) overlaps with the "brand" in the first 4 bytes
222208
0x00000018::32,
223209
"ftyp", #0x66747970::32
224210
"heic", # 0x68656963::32,
225-
# it seems it cannot be here the extended size
226-
# 0x0000000000000018::size(64),
227211
0x00000000::32,
228212
0x68656963::32, 0x6D696631::32,
229213
# first box done (ftyp)
@@ -310,15 +294,6 @@ defmodule ExImageInfoTest.Mocks.ISOBMFFTest do
310294
{:ok, images}
311295
end
312296

313-
test "force - xx heif/heic binary mock - #seems? #type #info (unimplemented regions)",
314-
images do
315-
# hdlr box w/o pict
316-
image = images["truncated-not-readable"]
317-
# assert seems?(image, :heic) == true
318-
# assert type(image, :heic) == {"image/heic", "HEIC"}
319-
assert info(image, :avif) == nil
320-
end
321-
322297
test "force - heif/heic binary mock - #seems? #type #info (unimplemented regions)",
323298
images do
324299
# hdlr box w/o pict

0 commit comments

Comments
 (0)