/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. const char* t1 = "<window> </window>";
  5. int main(int argc, char* argv[])
  6. {
  7. FtkWidget* win = NULL;
  8. ftk_init(argc, argv);
  9. win = ftk_xul_load(t1, strlen(t1));
  10. ftk_widget_unref(win);
  11. return 0;
  12. }