1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00
This commit is contained in:
gnosygnu
2015-07-19 23:16:49 -04:00
parent 794b5a232f
commit 8e041d6e06
834 changed files with 4749 additions and 4461 deletions

View File

@@ -64,7 +64,7 @@ public class TfdsTstr_fxt {
sb.Add_fmt_line("{0}{1} {2}", errorKey, String_.PadEnd("", nameLenMax, " "), itm.Actl());
}
sb.Add(String_.Repeat("_", 80));
throw Exc_.new_(sb.XtoStr());
throw Err_.new_wo_type(sb.XtoStr());
}
List_adp list = List_adp_.new_();
public static TfdsTstr_fxt new_() {return new TfdsTstr_fxt();} TfdsTstr_fxt() {}

View File

@@ -83,7 +83,7 @@ public abstract class IoEngine_dir_deep_base {
// fx.tst_ExistsPaths(true, trgTree);
// }
// @Test public virtual void ProgressUi() {
// ConsoleDlg_dev dialog = ConsoleDlg_dev.new_();
// Console_adp__mem dialog = Console_adp__mem.new_();
// engine.SearchDir(src).Recur_().Prog_(dialog).ExecAsDir();
//
// Tfds.Eq(dialog.Written.Count, 3); // 3 levels
@@ -91,7 +91,7 @@ public abstract class IoEngine_dir_deep_base {
// tst_(dialog, 1, "scan", src_dir0a);
// tst_(dialog, 2, "scan", src_dir0a_dir0a);
// }
// void tst_(ConsoleDlg_dev dialog, int i, String s, Io_url root) {
// void tst_(Console_adp__mem dialog, int i, String s, Io_url root) {
// Object o = dialog.Written.Get_at(i);
// IoStatusArgs args = (IoStatusArgs)o;
// Tfds.Eq(s, args.Op);

View File

@@ -74,7 +74,7 @@ public abstract class IoEngine_fil_basic_base {
try {fx.run_SaveFilText(fil, "changed");}
catch (Exception exc) {
fx.tst_LoadFilStr(fil, "text");
Exc_.Noop(exc);
Err_.Noop(exc);
return;
}
Tfds.Fail_expdError();
@@ -111,7 +111,7 @@ public abstract class IoEngine_fil_basic_base {
engine.UpdateFilAttrib(fil, IoItmAttrib.readOnly_());
try {engine.DeleteFil_api(IoEngine_xrg_deleteFil.new_(fil));}
catch (Exception exc) {Exc_.Noop(exc);
catch (Exception exc) {Err_.Noop(exc);
fx.tst_ExistsPaths(true, fil);
return;
}

View File

@@ -43,7 +43,7 @@ public abstract class IoEngine_fil_xfer_base {
fx.run_SaveFilText(trg, "trg");
try {IoEngine_xrg_xferFil.copy_(src, trg).Exec();}
catch (Exception exc) {Exc_.Noop(exc);
catch (Exception exc) {Err_.Noop(exc);
fx.tst_ExistsPaths(true, src, trg);
fx.tst_LoadFilStr(trg, "trg");
return;
@@ -73,7 +73,7 @@ public abstract class IoEngine_fil_xfer_base {
fx.run_SaveFilText(trg, "trg");
try {IoEngine_xrg_xferFil.move_(src, trg).Exec();}
catch (Exception exc) {Exc_.Noop(exc);
catch (Exception exc) {Err_.Noop(exc);
fx.tst_ExistsPaths(true, src);
fx.tst_ExistsPaths(true, trg);
fx.tst_LoadFilStr(trg, "trg");