diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2014-11-04 12:27:14 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2014-11-04 14:59:07 -0800 |
commit | 51c32247fb18d5824f405dcaac65436128dc83e8 (patch) | |
tree | abbd90bc12ac8da4942a1457b010c9e262e86314 /test | |
parent | 051e1c32ae4f553085adfc7b66e005ef70f62349 (diff) | |
download | qtlocation-mapboxgl-51c32247fb18d5824f405dcaac65436128dc83e8.tar.gz |
Update test/suite
Diffstat (limited to 'test')
-rw-r--r-- | test/headless.cpp | 5 | ||||
m--------- | test/suite | 0 |
2 files changed, 5 insertions, 0 deletions
diff --git a/test/headless.cpp b/test/headless.cpp index 657bab4c35..38c3decd64 100644 --- a/test/headless.cpp +++ b/test/headless.cpp @@ -76,6 +76,11 @@ TEST_P(HeadlessTest, render) { std::string style = util::read_file(base_directory + "tests/" + base + "/style.json"); std::string info = util::read_file(base_directory + "tests/" + base + "/info.json"); + std::size_t pos = 0; + while ((pos = style.find("local://", pos)) != std::string::npos) { + style.replace(pos, 8, "http://localhost:2900/"); + } + // Parse style. rapidjson::Document styleDoc; styleDoc.Parse<0>((const char *const)style.c_str()); diff --git a/test/suite b/test/suite -Subproject 0f5f8f302202261c19810ea856fdcfb62498973 +Subproject b94ae79bb1e802b3c2d41792401192631d2be54 |