Commit Graph

44 Commits

Author SHA1 Message Date
Frédéric Mangano-Tarumi
2e88bdc207 t: cli.t -> opustags.t
It reflects the module it tests.
2018-11-14 19:56:51 -05:00
Frédéric Mangano-Tarumi
e41cf918d1 RAII interface for dynamic ogg packets 2018-11-13 20:46:30 -05:00
Frédéric Mangano-Tarumi
82ff7f7751 validate_identification_header: take the ogg_packet 2018-11-13 18:51:28 -05:00
Frédéric Mangano-Tarumi
351d6149c9 identification header check in opus.cc 2018-11-13 18:45:44 -05:00
Frédéric Mangano-Tarumi
1866dbd1f0 call stderror for ot::status:standard_error 2018-11-13 18:15:43 -05:00
Frédéric Mangano-Tarumi
5ff99b620c ot::error_message 2018-11-13 18:04:26 -05:00
Frédéric Mangano-Tarumi
b0e8813be6 t: introduce tap.h 2018-11-13 18:04:08 -05:00
Frédéric Mangano-Tarumi
326ae74afa t: factor opustags_binary and opustags together 2018-11-11 11:19:56 -05:00
Frédéric Mangano-Tarumi
497caaa8f3 t: simply the prototype of Perl's opustags 2018-11-11 11:12:26 -05:00
Frédéric Mangano-Tarumi
6565cb56b3 t: faithful copy without --overwrite 2018-11-11 11:01:13 -05:00
Frédéric Mangano-Tarumi
f664ed94d4 t: generate out.opus in the binary dir 2018-11-11 10:58:33 -05:00
Frédéric Mangano-Tarumi
bf386899ae fix a few signedness warnings 2018-11-11 10:30:48 -05:00
Frédéric Mangano-Tarumi
fae547c4eb t: rename unit.t to opus.t 2018-11-10 14:07:14 -05:00
Frédéric Mangano-Tarumi
3aeb2097de cmake: factor the libogg dependency 2018-11-10 14:00:13 -05:00
Frédéric Mangano-Tarumi
2a31c5491b use std::string instead of ot::string_view
String views are cool, but let's play it safe and standard for now. The
impact on performance is insignificant, since most of the job is reading
the ogg file, not actually manipulating tags.
2018-11-10 11:30:30 -05:00
Frédéric Mangano-Tarumi
0426c369be t: test --overwrite 2018-11-10 10:26:12 -05:00
Frédéric Mangano-Tarumi
74cc6038b2 t: pass opus data in stdin/stdout 2018-11-10 10:24:14 -05:00
Frédéric Mangano-Tarumi
0c4c11032f general status code enum 2018-11-09 18:28:21 -05:00
Frédéric Mangano-Tarumi
2905b193b1 t: trigger all the possible parse errors 2018-11-07 20:46:07 -05:00
Frédéric Mangano-Tarumi
9d3e9c20a3 make parse_tags return a precise error code 2018-11-07 20:31:08 -05:00
Frédéric Mangano-Tarumi
1744cab9ed string_view: expose data and size as functions
Be consistent with C++17.
2018-11-06 21:01:03 -05:00
Frédéric Mangano-Tarumi
d9b96d471d store the vendor as a string_view 2018-11-06 20:51:55 -05:00
Frédéric Mangano-Tarumi
590a6814dd delete free_tags, now useless thanks to RAII 2018-11-06 20:48:13 -05:00
Frédéric Mangano-Tarumi
7ae7a50151 store comments in a std::list 2018-11-06 20:46:34 -05:00
Frédéric Mangano-Tarumi
0df7514a83 preserve the extra data after the comments 2018-11-06 18:46:40 -05:00
Frédéric Mangano-Tarumi
bd50fb34d9 t: recode a packet with padding (fails) 2018-11-05 19:03:21 -05:00
Frédéric Mangano-Tarumi
3e77092f85 t: check that render_tags is faithful 2018-11-05 18:53:01 -05:00
Frédéric Mangano-Tarumi
a3a6cb4e36 t: check parse_tags on a simple sample 2018-11-05 18:41:14 -05:00
Frédéric Mangano-Tarumi
af988efd8a configure cmake for unit tests 2018-11-04 18:24:29 -05:00
Frédéric Mangano-Tarumi
002b253c06 t: safer calls to opustags 2018-11-04 14:15:49 -05:00
Frédéric Mangano-Tarumi
62ea90e5d5 t: merge tags.t and meta.t in cli.t 2018-11-04 13:15:27 -05:00
Frédéric Mangano-Tarumi
dd364c6262 t: check the exit code when called without options 2018-10-31 18:22:48 -04:00
Frédéric Mangano-Tarumi
a3e7624866 get the version number from the cmake project 2018-10-31 18:21:47 -04:00
Frédéric Mangano-Tarumi
241c9b3071 t: allow running the suite from an arbitrary directory 2018-10-30 19:12:58 -04:00
Frédéric Mangano-Tarumi
1e6698af3e t: check malformed tags 2018-10-29 18:46:37 -04:00
Frédéric Mangano-Tarumi
82d0400207 t: complex --set-all 2018-10-29 18:26:21 -04:00
Frédéric Mangano-Tarumi
e91ad48c10 t: delete the temporary opus file at the end 2018-10-28 20:01:57 -04:00
Frédéric Mangano-Tarumi
9c50d7d047 t: set all, delete all, and final touches 2018-10-28 20:00:48 -04:00
Frédéric Mangano-Tarumi
3624761c7b t: complex tag editing 2018-10-28 19:56:00 -04:00
Frédéric Mangano-Tarumi
15335da1f8 t: check -h too 2018-10-28 19:56:00 -04:00
Frédéric Mangano-Tarumi
2006431fa8 t: trivial manipulations 2018-10-28 18:41:26 -04:00
Frédéric Mangano-Tarumi
63fce2f555 t: read tags from a file 2018-10-28 18:17:52 -04:00
Frédéric Mangano-Tarumi
2181f9f0eb t: use git to detect the version number 2018-10-28 14:12:55 -04:00
Frédéric Mangano-Tarumi
7cf478c9cc meta tests 2018-10-27 20:33:43 -04:00