Commit Graph

33 Commits

Author SHA1 Message Date
Moritz Bunkus
5f0189dcfb Add unit tests for the ebml_converter_c based classes 2012-12-05 22:39:25 +01:00
Moritz Bunkus
ec4c1c19e9 Do not write EBML void elements to XML files
Fixes #801.
2012-12-02 17:45:30 +01:00
Moritz Bunkus
076a2296d5 Remove GetChildAs<>() in favor of GetValue()/SetValue() calls 2012-09-30 18:37:01 +02:00
Moritz Bunkus
b18b3b095d Fix cons_impl() template for all cases of (w)char*/(w)string 2012-09-07 15:38:00 +02:00
Moritz Bunkus
f0335a916b Use the proper way to set EbmlUnicodeString object values 2012-09-02 12:18:54 +02:00
Moritz Bunkus
01a9842cd8 Handle attachment targets from propedit main source 2012-08-28 20:00:01 +02:00
Moritz Bunkus
2c5404734e Implement attachment replacing by UID/name/MIME type 2012-08-28 09:33:43 +02:00
Moritz Bunkus
7ae9ca3f7a Implement attachment replacing by ID 2012-08-27 22:33:05 +02:00
Moritz Bunkus
d6bb51646b Implement deleting attachments 2012-08-27 08:53:42 +02:00
Moritz Bunkus
d8cf10bb7d Implement adding attachments 2012-08-26 22:21:21 +02:00
Moritz Bunkus
a1a2d409cf Fix wrong header include guard 2012-08-26 21:59:49 +02:00
Moritz Bunkus
dd59f9c624 Engage "no_variable_data" during tests for predictable unique IDs 2012-08-26 21:34:00 +02:00
Moritz Bunkus
bbe876c7bd Conditional construction 2012-08-26 16:23:50 +02:00
Moritz Bunkus
70f8c5d220 Implement attachment target validation 2012-08-26 15:53:57 +02:00
Moritz Bunkus
985211760f Add function for reading the whole file in one go 2012-08-26 15:32:17 +02:00
Moritz Bunkus
f225d01d4f Fixup from moving construct.h to common 2012-08-26 12:47:25 +02:00
Moritz Bunkus
bb267f180e A target_id_manager_c class for the attachment_target_c 2012-08-26 12:43:15 +02:00
Moritz Bunkus
938b8ada62 Implement: attachment_target_c, partial interface -- especially CLI parsing 2012-08-26 12:43:15 +02:00
Moritz Bunkus
bff0d7e6d4 Move construct.h to common 2012-08-26 12:41:04 +02:00
Moritz Bunkus
cb27a9f05a Make construct functions inline 2012-08-26 12:37:49 +02:00
Moritz Bunkus
fc62801628 Make cons_impl() work with EbmlUnicodeString & std::wstring 2012-08-26 12:37:44 +02:00
Moritz Bunkus
78fa9e04cf Always build unit tests if gtest is available 2012-08-26 12:36:14 +02:00
Moritz Bunkus
c1fa6f0381 Unit tests for constructing and comparing EBML hierarchies 2012-08-21 19:03:01 +02:00
Moritz Bunkus
e1634f4540 Construct and compare EbmlDate 2012-08-21 11:26:48 +02:00
Moritz Bunkus
b97aef14da Fix constructing for mixed cases of EbmlMaster and other types 2012-08-21 11:23:10 +02:00
Moritz Bunkus
284d2dc76b Move dump to util.cpp; implement EBML structure comparator class & assertions 2012-08-21 11:22:48 +02:00
Moritz Bunkus
83907e90c4 Remove accidentally checked-in unit test executable 2012-08-17 22:50:11 +02:00
Moritz Bunkus
898a6e6fc8 Dump helper method for tests 2012-08-17 22:46:54 +02:00
Moritz Bunkus
00b0b921d1 Helper functions for construction EBML hierarchies 2012-08-17 22:46:45 +02:00
Moritz Bunkus
1cd37eb212 Common init code for test cases; start of unit tests for propedit 2012-08-15 09:16:52 +02:00
Moritz Bunkus
6a2698f5ec Split single unit test directory into multiple ones
The goal is to enable testing of application specific files, e.g. for
mkvpropedit.
2012-08-13 20:41:35 +02:00
Moritz Bunkus
51767dcf70 Unit tests for basic_timecode_c<> 2012-08-07 23:55:29 +02:00
Moritz Bunkus
79421eaa6f Build framework for unit tests based on Google's test framework 2012-08-07 23:08:40 +02:00