Some OS X build fixes.
[libdcp.git] / test / test.h
index 31b4bf0ab6122b270567ac756509820a5767142d..c5ae5268fb90b30a0d0113684abdc45f25f1d462 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2013 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 
 */
 
-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;
-};
+extern boost::filesystem::path private_test;