示例#1
0
	public void tst_trg_fils() {
		for (int i = 0; i < trg_fils.length; i++) {
			Io_fil trg_fil = trg_fils[i];
			String data = Io_mgr.I.LoadFilStr(trg_fil.Url());
			Tfds.Eq_str_lines(trg_fil.Data(), data, trg_fil.Url().Raw());
		}		
	}
示例#2
0
文件: Io_fil.java 项目: qq98982/xowa
 public static Io_fil[] new_ary_(Io_url[] url_ary) {
   int url_ary_len = url_ary.length;
   Io_fil[] rv = new Io_fil[url_ary_len];
   for (int i = 0; i < url_ary_len; i++) {
     Io_url url = url_ary[i];
     String data = Io_mgr.I.LoadFilStr(url);
     Io_fil fil = new Io_fil(url, data);
     rv[i] = fil;
   }
   return rv;
 }
示例#3
0
 public void Test_file(String url, String expd) {
   String actl = Io_mgr.I.LoadFilStr(url);
   Tfds.Eq_str_lines(expd, actl);
 }