Various work.
[libdcp.git] / test / test.h
index dc704004b80ade213cd0b17f4688707848eafaeb..31b4bf0ab6122b270567ac756509820a5767142d 100644 (file)
 
 */
 
-extern boost::filesystem::path j2c (int);
-extern boost::filesystem::path wav (dcp::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;
+};