diff options
Diffstat (limited to 'test/test.h')
| -rw-r--r-- | test/test.h | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/test/test.h b/test/test.h index d6691bc0..31b4bf0a 100644 --- a/test/test.h +++ b/test/test.h @@ -17,6 +17,23 @@ */ -extern boost::filesystem::path j2c (int); -extern boost::filesystem::path wav (libdcp::Channel); extern std::string test_corpus; + +class TestFile +{ +public: + TestFile (boost::filesystem::path file); + ~TestFile (); + + uint8_t* data () const { + return _data; + } + + int64_t size () const { + return _size; + } + +private: + uint8_t* _data; + int64_t _size; +}; |
