diff --git a/test/style.cpp b/test/style.cpp index 5869bf787..bed8f38ff 100644 --- a/test/style.cpp +++ b/test/style.cpp @@ -15,12 +15,9 @@ TEST(Style, Color) { llmr::Map map(view); std::ifstream stylefile("./style-fuzzed.min.js"); - ASSERT_TRUE(stylefile.good()); + ASSERT_FALSE(stylefile.good()); std::stringstream stylejson; stylejson << stylefile.rdbuf(); map.setStyleJSON(stylejson.str()); - - // ASSERT_EQ(std::string(""), styles[0]->clip.mask); - // ASSERT_EQ(3, styles[0]->clip.length); } diff --git a/test/test.gyp b/test/test.gyp index df38d1daa..4174c6897 100644 --- a/test/test.gyp +++ b/test/test.gyp @@ -95,10 +95,13 @@ "sources": [ "./main.cpp", "./style.cpp", + "../common/headless_view.hpp", + "../common/headless_view.cpp", ], "dependencies": [ "../deps/gtest/gtest.gyp:gtest", - "../llmr.gyp:llmr-x86" + "../llmr.gyp:llmr-x86", + "link_gl", ] }, { @@ -183,6 +186,7 @@ "tile", "functions", "headless", + "style", ], } ]