예제 #1
0
 public void Init_db_sqlite() {
   Xowe_wiki wiki = this.Wiki();
   Db_conn_pool.I.Clear();
   Db_conn_bldr.I.Reg_default_sqlite();
   Io_mgr.I.DeleteDir_cmd(wiki.Fsys_mgr().Root_dir()).MissingIgnored_().Exec();
   wiki.Db_mgr_create_as_sql()
       .Core_data_mgr()
       .Init_by_make(Xowd_core_db_props.Test, Xob_info_session.Test);
   Io_mgr.I.SaveFilStr(wiki.Import_cfg().Src_dir().GenSubFil("a.xml"), "<test/>");
 }
예제 #2
0
 public Db_mgr_fxt Init_fil(Io_url url, String raw) {
   Io_mgr.I.SaveFilStr(url, raw);
   return this;
 }
예제 #3
0
 public void Test_file(String url, String expd) {
   String actl = Io_mgr.I.LoadFilStr(url);
   Tfds.Eq_str_lines(expd, actl);
 }