projects
/
libsub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace DCP parser with basic version that uses libdcp.
[libsub.git]
/
test
/
stl_binary_reader_test.cc
diff --git
a/test/stl_binary_reader_test.cc
b/test/stl_binary_reader_test.cc
index 06b01ed6b28aa7d13534995adae97a44048f34a4..57fbd1cb3736b12e4df738c6d1825005697214a1 100644
(file)
--- a/
test/stl_binary_reader_test.cc
+++ b/
test/stl_binary_reader_test.cc
@@
-18,13
+18,12
@@
*/
#include <boost/test/unit_test.hpp>
*/
#include <boost/test/unit_test.hpp>
-#include <fstream>
#include "stl_binary_reader.h"
#include "subtitle.h"
#include "test.h"
#include "stl_binary_reader.h"
#include "subtitle.h"
#include "test.h"
+#include <fstream>
using std::list;
using std::list;
-using std::cout;
using std::ifstream;
/* Test reading of a binary STL file */
using std::ifstream;
/* Test reading of a binary STL file */
@@
-34,8
+33,7
@@
BOOST_AUTO_TEST_CASE (stl_binary_reader_test)
return;
}
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);
}
sub::STLBinaryReader r (f);
}
-