mirror of
https://github.com/gnosygnu/xowa.git
synced 2024-10-27 20:34:16 +00:00
Fix build failing due to mis-named _fxt class [#476]
This commit is contained in:
parent
17da6dc17f
commit
fbe158537e
@ -155,7 +155,7 @@ public class Scrib_lib_ustring__gsub__tst {
|
||||
throw Err_.new_wo_type("expected failure");
|
||||
}
|
||||
}
|
||||
class Mock_proc__recursive extends Mock_proc_fxt { private final Mock_scrib_fxt fxt; private final Scrib_lib lib; private final Mock_proc__recursive inner;
|
||||
class Mock_proc__recursive extends Mock_proc_stub { private final Mock_scrib_fxt fxt; private final Scrib_lib lib; private final Mock_proc__recursive inner;
|
||||
private final Bry_bfr bfr;
|
||||
public Mock_proc__recursive(Mock_scrib_fxt fxt, Scrib_lib lib, Bry_bfr bfr, int id, Mock_proc__recursive inner) {super(id, "recur");
|
||||
this.fxt = fxt; this.lib = lib; this.inner = inner;
|
||||
@ -168,14 +168,14 @@ class Mock_proc__recursive extends Mock_proc_fxt { private final Mock_scrib_f
|
||||
return args;
|
||||
}
|
||||
}
|
||||
class Mock_proc__number extends Mock_proc_fxt { private int counter = 0;
|
||||
class Mock_proc__number extends Mock_proc_stub { private int counter = 0;
|
||||
public Mock_proc__number(int id) {super(id, "number");}
|
||||
@Override public Keyval[] Exec_by_scrib(Keyval[] args) {
|
||||
args[0].Val_(++counter); // set replace-val to int
|
||||
return args;
|
||||
}
|
||||
}
|
||||
class Mock_proc__empty extends Mock_proc_fxt { private final String find, repl;
|
||||
class Mock_proc__empty extends Mock_proc_stub { private final String find, repl;
|
||||
public Mock_proc__empty(int id, String find, String repl) {super(id, "number");
|
||||
this.find = find;
|
||||
this.repl = repl;
|
||||
@ -185,7 +185,7 @@ class Mock_proc__empty extends Mock_proc_fxt { private final String find, rep
|
||||
return String_.Eq(text, find) ? Keyval_.Ary(Keyval_.new_("0", repl)) : Keyval_.Ary_empty;
|
||||
}
|
||||
}
|
||||
class Mock_proc__verify_args extends Mock_proc_fxt { private final Object[][] expd_ary;
|
||||
class Mock_proc__verify_args extends Mock_proc_stub { private final Object[][] expd_ary;
|
||||
private int expd_idx = -1;
|
||||
public Mock_proc__verify_args(int id, Object[]... expd_ary) {super(id, "number");
|
||||
this.expd_ary = expd_ary;
|
||||
|
Loading…
Reference in New Issue
Block a user