0d8b75f3bd
Use pure CMake solution as described here: https://stackoverflow.com/questions/410980/include-a-text-file-in-a-c-program-as-a-char/47801116#47801116
17 lines
290 B
C++
17 lines
290 B
C++
#include <gtest/gtest.h>
|
|
|
|
#include "litehtml.h"
|
|
#include "litehtml/utf8_strings.h"
|
|
|
|
using namespace litehtml;
|
|
|
|
const char* master_css =
|
|
#include "master.css.inc"
|
|
;
|
|
|
|
TEST(ContextTest, LoadMasterStylesheet)
|
|
{
|
|
context ctx;
|
|
ctx.load_master_stylesheet(litehtml_from_utf8(master_css));
|
|
}
|