PageRenderTime 222ms CodeModel.GetById 100ms app.highlight 2ms RepoModel.GetById 119ms app.codeStats 0ms

/src/test/xul_test.c

http://ftk.googlecode.com/
C | 17 lines | 12 code | 5 blank | 0 comment | 0 complexity | 85016f329b851b96aa92a2251b8c1516 MD5 | raw file
 1#include "ftk.h"
 2#include "ftk_xul.h"
 3#include "test_util.c"
 4
 5const char* t1 = "<window> </window>";
 6
 7int main(int argc, char* argv[])
 8{
 9	FtkWidget* win = NULL;
10	ftk_init(argc, argv);
11
12	win = ftk_xul_load(t1, strlen(t1));
13
14	ftk_widget_unref(win);
15
16	return 0;
17}