Commit Graph

71 Commits

Author SHA1 Message Date
Tom Finegan
1b895e97d0 Rename libwebm_utils to libwebm_util.
Use a single naming convention.

Change-Id: Ia48089b05e5a453a402d4b4e7f258a56bee8a001
2016-03-07 14:27:07 -08:00
Tom Finegan
e6a0033a8c Add file_util.
Move file utility classes and functions from testing/test_util to
common/file_util, and make them part of libwebm.

Change-Id: If5b25a63b20efacc16b0fecaa8876ade4ecc4b26
2016-03-07 14:27:03 -08:00
Tom Finegan
6dc81c1648 muxer_tests: Die immediately when unable to prep for file writing.
Change-Id: I42c4294b3089cf1a785eac3ce5ec7e47d534ea36
2016-02-29 13:44:27 -08:00
Tom Finegan
741ba686b9 muxer_tests: Replace std::tmpnam() with GetTempFileName().
Change-Id: I58d66666ba0a1ef27608265b53613dd046e7c1a3
2016-02-29 15:24:21 -05:00
Tom Finegan
6159e837e9 Merge "test_util: add missing include for close()" 2016-02-29 19:51:24 +00:00
Tom Finegan
ff81c74c97 parser_tests: Fix sign compare warnings.
Change-Id: I656f05407b88a3878920c779d49ebf89231f09f1
2016-02-29 11:33:43 -08:00
James Zern
163f57d232 test_util: add missing include for close()
Change-Id: I3825d3613e35dfdb0a5a2460a207f2d0662328f6
2016-02-27 11:11:39 -08:00
Tom Finegan
7c89eb576e Merge "test_util: Remove tmpnam() usage on non-MSVC targets." 2016-02-27 01:11:29 +00:00
Tom Finegan
c4b8686542 Merge "webm2pes_tests: Fix sign compare warnings." 2016-02-27 00:34:42 +00:00
Tom Finegan
82f376f356 test_util: Remove tmpnam() usage on non-MSVC targets.
Change-Id: Icd3a68fa4e52401a41f4afe52a6206d6092bc8fb
2016-02-26 11:45:35 -08:00
Tom Finegan
4d31d6bc16 webm2pes_tests: Fix sign compare warnings.
Change-Id: I92f4c18c51f26beea45246a9fa2f56a6369b9ecf
2016-02-26 11:44:06 -08:00
Tom Finegan
07ed7e01d1 muxer_tests: Fix sign compare warnings.
Change-Id: Icb549aeeb146b6dca4a89bf2b70f6fa50a893d38
2016-02-26 12:14:48 -05:00
Tom Finegan
ae2fbfe0cf parser_tests: Silence sign compare warning.
Change-Id: I5286cf99129cc8fd5336e792990886f43332b720
2016-02-26 08:57:43 -08:00
Tom Finegan
8c8cba6af6 webm2pes: Fix tests.
Abuse of vector::capacity and vector::reserve in combination with
abuse of vector::operator[] was a bad idea.

Change-Id: Id7bdb71888b9d0d174f5243f8cf2771d181888be
2016-02-09 20:05:32 -08:00
Tom Finegan
b873000acf parser_tests: Add validation of cues.
Make sure clusters are where the Cues element actually says they
are.

Change-Id: Ib2a4642d3bf6079d5f3985c30eeefc3b20503eaa
2016-02-05 09:48:37 -08:00
Vignesh Venkatasubramanian
b81d5f011c Update muxer test gold files
Some of the muxer tests have been failing because of incorrect
gold files. Updating the gold files and tweaking the tests so that
they pass in a sensible way.

Change-Id: I7d3dda6cacecda526880d6e7623f9a7678b71265
2016-02-04 16:54:00 -08:00
Tom Finegan
93c4690449 webm2pes: Add PES packet parsing tests.
Add test that parses the first packet output by Webm2Pes.

Change-Id: I6d2282e0e87eed759abf2483994fc767f022f0ff
2016-02-02 09:54:22 -08:00
Tom Finegan
37a38cab9a test_util: Fix gcc build.
Change-Id: I287b8c31f354bbf871d76a4b39109dd711af7b00
2016-01-26 13:37:51 -08:00
Tom Finegan
ee0ebbaa69 parser_tests: Fix gcc build.
Change-Id: I7f29d584aad377e2a04687e778b3d07806b28882
2016-01-26 13:37:25 -08:00
Tom Finegan
453bf44d32 webm2pes: Begin addition of tests.
Just the basics:
- Some new test utilities.
- Basic setup for webm2pes testing.

Change-Id: I16bf0f5ef36e7c01f2788b2c92600d6a936bbd40
2016-01-22 11:02:34 -08:00
Tom Finegan
9299bbb6ed libwebm: Googletest integration.
Add basic mux/parse tests and test data.

Change-Id: I3bef014f32ad4898d23bca792fb3fe275fe4e7c9
2016-01-11 18:46:55 -08:00