drop old cpp_tests folder [skip ci]

This commit is contained in:
Dane Springmeyer 2015-04-25 22:13:26 +02:00
parent edf7616b19
commit c4f497be0a
7 changed files with 5 additions and 5 deletions

View file

@ -21,7 +21,7 @@ SECTION("readers") {
try
{
#if defined(HAVE_JPEG)
should_throw = "./tests/cpp_tests/data/blank.jpg";
should_throw = "./test/unit/data/blank.jpg";
REQUIRE( mapnik::util::exists( should_throw ) );
type = mapnik::type_from_filename(should_throw);
REQUIRE( type );
@ -59,7 +59,7 @@ SECTION("readers") {
#endif
#if defined(HAVE_PNG)
should_throw = "./tests/cpp_tests/data/blank.png";
should_throw = "./test/unit/data/blank.png";
REQUIRE( mapnik::util::exists( should_throw ) );
type = mapnik::type_from_filename(should_throw);
REQUIRE( type );
@ -89,7 +89,7 @@ SECTION("readers") {
#endif
#if defined(HAVE_TIFF)
should_throw = "./tests/cpp_tests/data/blank.tiff";
should_throw = "./test/unit/data/blank.tiff";
REQUIRE( mapnik::util::exists( should_throw ) );
type = mapnik::type_from_filename(should_throw);
REQUIRE( type );
@ -105,7 +105,7 @@ SECTION("readers") {
#endif
#if defined(HAVE_WEBP)
should_throw = "./tests/cpp_tests/data/blank.webp";
should_throw = "./test/unit/data/blank.webp";
REQUIRE( mapnik::util::exists( should_throw ) );
type = mapnik::type_from_filename(should_throw);
REQUIRE( type );

View file

@ -85,7 +85,7 @@ SECTION("lines") {
try {
std::string filename("tests/cpp_tests/data/cases.txt");
std::string filename("test/unit/data/cases.txt");
std::ifstream stream(filename.c_str(),std::ios_base::in | std::ios_base::binary);
if (!stream.is_open())
throw std::runtime_error("could not open: '" + filename + "'");