summaryrefslogtreecommitdiff
path: root/render-test/manifest_parser.hpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2020-01-03 16:01:40 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-01-08 13:07:12 +0200
commitf0d2a2f636bf45889cf8082ba42e0d22875c1e3a (patch)
tree342ff7d577d03c68cb5b56a5f19a0105a0ad5a4c /render-test/manifest_parser.hpp
parent26cfddaf47bfeacc2ef739c32c9de2eae94af787 (diff)
downloadqtlocation-mapboxgl-f0d2a2f636bf45889cf8082ba42e0d22875c1e3a.tar.gz
[render-test] Effectively use the offline cache for fixtures
Diffstat (limited to 'render-test/manifest_parser.hpp')
-rw-r--r--render-test/manifest_parser.hpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/render-test/manifest_parser.hpp b/render-test/manifest_parser.hpp
index 120fb9a2bd..28cae6f93e 100644
--- a/render-test/manifest_parser.hpp
+++ b/render-test/manifest_parser.hpp
@@ -18,7 +18,6 @@ public:
const std::vector<std::pair<std::string, std::string>>& getIgnores() const;
const std::vector<TestPaths>& getTestPaths() const;
const std::string& getTestRootPath() const;
- const std::string& getAssetPath() const;
const std::string& getManifestPath() const;
const std::string& getResultPath() const;
const std::string& getCachePath() const;
@@ -26,29 +25,10 @@ public:
const std::set<std::string>& getProbes() const;
void doShuffle(uint32_t seed);
- std::string localizeURL(const std::string& url) const;
- void localizeSourceURLs(mbgl::JSValue& root, mbgl::JSDocument& document) const;
- void localizeStyleURLs(mbgl::JSValue& root, mbgl::JSDocument& document) const;
-
private:
friend class ManifestParser;
- mbgl::optional<std::string> localizeLocalURL(const std::string& url, bool glyphsPath = false) const;
- mbgl::optional<std::string> localizeHttpURL(const std::string& url) const;
- mbgl::optional<std::string> localizeMapboxSpriteURL(const std::string& url) const;
- mbgl::optional<std::string> localizeMapboxFontsURL(const std::string& url) const;
- mbgl::optional<std::string> localizeMapboxTilesURL(const std::string& url) const;
- mbgl::optional<std::string> localizeMapboxTilesetURL(const std::string& url) const;
- mbgl::optional<std::string> getVendorPath(const std::string& url,
- const std::regex& regex,
- bool glyphsPath = false) const;
- mbgl::optional<std::string> getIntegrationPath(const std::string& url,
- const std::string& parent,
- const std::regex& regex,
- bool glyphsPath = false) const;
std::string manifestPath;
std::string testRootPath;
- std::string vendorPath;
- std::string assetPath;
std::string resultPath;
std::string cachePath;
std::string accessToken;