Move VideoBoxesTest.java
The existing implementation depends on an internal library (Mp4Slicer) to assert the output. We have removed the dependency on internal library and used golden data to compare the output. PiperOrigin-RevId: 508401527
This commit is contained in:
parent
1249dcdc47
commit
ae17da6e97
7
libraries/test_data/src/test/assets/muxerdumps/README.md
Normal file
7
libraries/test_data/src/test/assets/muxerdumps/README.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# Muxer dump files
|
||||||
|
|
||||||
|
To generate a new dump file or to update an existing one:
|
||||||
|
|
||||||
|
1. Change `DumpFileAsserts#DUMP_FILE_ACTION` to `WRITE_TO_LOCAL` (for Robolectric tests) or `WRITE_TO_DEVICE` (for Instrumentation tests).
|
||||||
|
2. Re-run the test.
|
||||||
|
3. Change `DumpFileAsserts#DUMP_FILE_ACTION` back to `COMPARE_WITH_EXISTING`.
|
@ -0,0 +1 @@
|
|||||||
|
VideoSampleEntryBox = 0000007d61763031000000000000000100000000000000000000000000000000000a000c004800000048000000000000000100202020202020202020202020202020202020202020202020202020202020200018ffff0000001761763143812000000a09200000019cdbfff30400000010706173700001000000010000
|
@ -0,0 +1 @@
|
|||||||
|
VideoSampleEntryBox = 0000009661766331000000000000000100000000000000000000000000000000000a000c004800000048000000000000000100202020202020202020202020202020202020202020202020202020202020200018ffff000000306176634301f4000affe1001867f4000a919b2bf3cb3640000003004000000c83c489658001000568ebe3c44800000010706173700001000000010000
|
@ -0,0 +1 @@
|
|||||||
|
VideoSampleEntryBox = 000000d66876633100000000000000010000000000000000000000000000000000300020004800000048000000000000000100202020202020202020202020202020202020202020202020202020202020200018ffff00000070687663430104080000009fc8000000001ef000fcfcf8f800000f03200001001740010c01ffff0408000003009fc800000300001e95980921000100254201010408000003009fc800000300001ec1882165959ae4cae68080000003008000000c8422000100064401c173d08900000010706173700001000000010000
|
@ -0,0 +1 @@
|
|||||||
|
VideoSampleEntryBox = 000000dd6876633100000000000000010000000000000000000000000000000001000100004800000048000000000000000100202020202020202020202020202020202020202020202020202020202020200018ffff00000077687663430102200000009000000000003cf000fcfdfafa00000f03200001001840010c01ffff02200000030090000003000003003c959809210001002a42010102200000030090000003000003003ca008080404d96566924cae69c2000003000200000300321022000100074401c172b4624000000010706173700001000000010000
|
Loading…
x
Reference in New Issue
Block a user