Esempio n. 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());
		}		
	}
Esempio n. 2
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);}
Esempio n. 3
0
 void tst_CalcBase16FromString(String raw, String expd) {
   IoStream stream = IoStream_.mem_txt_(Io_url_.Empty, raw);
   String actl = HashAlgo_.Sha1.CalcHash(ConsoleDlg_.Null, stream);
   Tfds.Eq(expd, actl);
 }