Replace DCP parser with basic version that uses libdcp.
[libsub.git] / test / stl_binary_reader_test.cc
index 06b01ed6b28aa7d13534995adae97a44048f34a4..57fbd1cb3736b12e4df738c6d1825005697214a1 100644 (file)
 */
 
 #include <boost/test/unit_test.hpp>
-#include <fstream>
 #include "stl_binary_reader.h"
 #include "subtitle.h"
 #include "test.h"
+#include <fstream>
 
 using std::list;
-using std::cout;
 using std::ifstream;
 
 /* Test reading of a binary STL file */
@@ -34,8 +33,7 @@ BOOST_AUTO_TEST_CASE (stl_binary_reader_test)
                return;
        }
 
-       string p = private_test + "/Vampire_Academy_24fps_Reel_6_DE_FR.stl";
-       ifstream f (p.c_str ());
+       boost::filesystem::path p = private_test / "Vampire_Academy_24fps_Reel_6_DE_FR.stl";
+       ifstream f (p.string().c_str ());
        sub::STLBinaryReader r (f);
 }
-