Use v7 styles / tests
This commit is contained in:
@@ -83,7 +83,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
// Load style
|
||||
if (style.empty())
|
||||
style = std::string("asset://") + std::string("styles/bright-v6.json");
|
||||
style = std::string("asset://") + std::string("styles/bright-v7.json");
|
||||
|
||||
map.setStyleURL(style);
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@ int main() {
|
||||
if (accessToken) fileSource.setAccessToken([accessToken cStringUsingEncoding:[NSString defaultCStringEncoding]]);
|
||||
|
||||
// Load style
|
||||
map.setStyleURL("asset://styles/bright-v6.json");
|
||||
map.setStyleURL("asset://styles/bright-v7.json");
|
||||
|
||||
int ret = view.run();
|
||||
|
||||
|
||||
2
styles
2
styles
Submodule styles updated: 225f78f428...e8f361870c
@@ -161,6 +161,10 @@ TEST_P(HeadlessTest, render) {
|
||||
};
|
||||
const rapidjson::Value& value = it->value;
|
||||
ASSERT_TRUE(value.IsObject());
|
||||
|
||||
if (value.HasMember("native") && !value["native"].GetBool())
|
||||
continue;
|
||||
|
||||
if (value.HasMember("center")) ASSERT_TRUE(value["center"].IsArray());
|
||||
|
||||
const std::string actual_image = base_directory + "tests/" + base + "/" + name + "/actual.png";
|
||||
|
||||
Submodule test/suite updated: 2892e261eb...dba0f2b1fa
Reference in New Issue
Block a user