diff options
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/eval.pro | 13 | ||||
-rw-r--r-- | src/proto/testing.pro | 34 |
2 files changed, 36 insertions, 11 deletions
diff --git a/src/proto/eval.pro b/src/proto/eval.pro index 7831eb5960..8a1954244c 100644 --- a/src/proto/eval.pro +++ b/src/proto/eval.pro @@ -41,6 +41,7 @@ void ex_lockvar(exarg_T *eap); int do_unlet(char_u *name, int forceit); void del_menutrans_vars(void); char_u *get_user_var_name(expand_T *xp, int idx); +int pattern_match(char_u *pat, char_u *text, int ic); int eval0(char_u *arg, typval_T *rettv, char_u **nextcmd, int evaluate); int eval1(char_u **arg, typval_T *rettv, int evaluate); int get_option_tv(char_u **arg, typval_T *rettv, int evaluate); @@ -67,6 +68,7 @@ char_u *find_name_end(char_u *arg, char_u **expr_start, char_u **expr_end, int f int eval_isnamec(int c); int eval_isnamec1(int c); void set_vim_var_nr(int idx, varnumber_T val); +typval_T *get_vim_var_tv(int idx); varnumber_T get_vim_var_nr(int idx); char_u *get_vim_var_str(int idx); list_T *get_vim_var_list(int idx); @@ -129,18 +131,7 @@ void write_viminfo_varlist(FILE *fp); int store_session_globals(FILE *fd); void last_set_msg(sctx_T script_ctx); void reset_v_option_vars(void); -void prepare_assert_error(garray_T *gap); void assert_error(garray_T *gap); -int assert_equal_common(typval_T *argvars, assert_type_T atype); -int assert_equalfile(typval_T *argvars); -int assert_match_common(typval_T *argvars, assert_type_T atype); -int assert_inrange(typval_T *argvars); -int assert_bool(typval_T *argvars, int isTrue); -int assert_report(typval_T *argvars); -int assert_exception(typval_T *argvars); -int assert_beeps(typval_T *argvars); -int assert_fails(typval_T *argvars); -void fill_assert_error(garray_T *gap, typval_T *opt_msg_tv, char_u *exp_str, typval_T *exp_tv, typval_T *got_tv, assert_type_T atype); int typval_compare(typval_T *typ1, typval_T *typ2, exptype_T type, int type_is, int ic); char_u *typval_tostring(typval_T *arg); int var_exists(char_u *var); diff --git a/src/proto/testing.pro b/src/proto/testing.pro new file mode 100644 index 0000000000..2b001a543a --- /dev/null +++ b/src/proto/testing.pro @@ -0,0 +1,34 @@ +/* testing.c */ +void f_assert_beeps(typval_T *argvars, typval_T *rettv); +void f_assert_equal(typval_T *argvars, typval_T *rettv); +void f_assert_equalfile(typval_T *argvars, typval_T *rettv); +void f_assert_notequal(typval_T *argvars, typval_T *rettv); +void f_assert_exception(typval_T *argvars, typval_T *rettv); +void f_assert_fails(typval_T *argvars, typval_T *rettv); +void f_assert_false(typval_T *argvars, typval_T *rettv); +void f_assert_inrange(typval_T *argvars, typval_T *rettv); +void f_assert_match(typval_T *argvars, typval_T *rettv); +void f_assert_notmatch(typval_T *argvars, typval_T *rettv); +void f_assert_report(typval_T *argvars, typval_T *rettv); +void f_assert_true(typval_T *argvars, typval_T *rettv); +void f_test_alloc_fail(typval_T *argvars, typval_T *rettv); +void f_test_autochdir(typval_T *argvars, typval_T *rettv); +void f_test_feedinput(typval_T *argvars, typval_T *rettv); +void f_test_getvalue(typval_T *argvars, typval_T *rettv); +void f_test_option_not_set(typval_T *argvars, typval_T *rettv); +void f_test_override(typval_T *argvars, typval_T *rettv); +void f_test_refcount(typval_T *argvars, typval_T *rettv); +void f_test_garbagecollect_now(typval_T *argvars, typval_T *rettv); +void f_test_garbagecollect_soon(typval_T *argvars, typval_T *rettv); +void f_test_ignore_error(typval_T *argvars, typval_T *rettv); +void f_test_null_blob(typval_T *argvars, typval_T *rettv); +void f_test_null_channel(typval_T *argvars, typval_T *rettv); +void f_test_null_dict(typval_T *argvars, typval_T *rettv); +void f_test_null_job(typval_T *argvars, typval_T *rettv); +void f_test_null_list(typval_T *argvars, typval_T *rettv); +void f_test_null_partial(typval_T *argvars, typval_T *rettv); +void f_test_null_string(typval_T *argvars, typval_T *rettv); +void f_test_scrollbar(typval_T *argvars, typval_T *rettv); +void f_test_setmouse(typval_T *argvars, typval_T *rettv); +void f_test_settime(typval_T *argvars, typval_T *rettv); +/* vim: set ft=c : */ |