Пример #1
0
 @Test
 public void Load_multiple_files() {
   fxt =
       new Io_line_rdr_fxt(
           Io_url_.new_fil_("mem/test0.txt"),
           Io_url_.new_fil_("mem/test1.txt"),
           Io_url_.new_fil_("mem/test2.txt"));
   fxt.File_lines_(0, 0, 3)
       .File_lines_(1, 3, 5)
       .File_lines_(2, 5, 9)
       .Load_len_(4)
       .tst_Read_til_lines(9, "00", "01", "02", "03", "04", "05", "06", "07", "08");
 }
Пример #2
0
 public void load_script(String file) {
   engine.Load_script(Io_url_.new_fil_(Xoscript_env.Resolve_file(Bool_.N, root_dir, file)));
 }
Пример #3
0
	Io_fil file_(String url_str, String data)			{return new Io_fil(Io_url_.mem_fil_(url_str), data);}
Пример #4
0
	public void fil_absent(String url)					{Tfds.Eq_false(Io_mgr.I.ExistsFil(Io_url_.mem_fil_(url)), "fil should not exist: {0}", url);}
Пример #5
0
	public Io_fil reg_(String url, String... v)	{return new Io_fil(Io_url_.mem_fil_(url), String_.Concat_lines_nl(v));}
Пример #6
0
 public Db_mgr_fxt Init_fil(String url, String raw) {
   return Init_fil(Io_url_.new_fil_(url), raw);
 }
Пример #7
0
 @Before
 public void init() {
   fxt = new Io_line_rdr_fxt(Io_url_.new_fil_("mem/test.txt"));
   fxt.Clear();
 }