generate fuzzed color stylesheet, copy to product_dir

This commit is contained in:
Mike Morris
2014-07-09 14:22:10 -07:00
parent ba4375dc51
commit e8dcb8af00
3 changed files with 32 additions and 8 deletions

View File

@@ -16,3 +16,13 @@ TEST(Style, Style) {
Style style;
style.loadJSON((const uint8_t *)stylejson.str().c_str());
}
TEST(Style, Colors) {
std::ifstream stylefile("./fuzz-colors.min.js");
ASSERT_TRUE(stylefile.good());
std::stringstream stylejson;
stylejson << stylefile.rdbuf();
Style style;
style.loadJSON((const uint8_t *)stylejson.str().c_str());
}