v/vlib/v/tests
Lukas Neubert 7f7f9dca6b
parser,fmt: fix regression with non-void arrays in if conditions (#9161)
2021-03-06 20:39:38 +02:00
..
bench
field_publicity
generics_from_modules
inout v: support dump(expr) (#9160) 2021-03-06 18:09:28 +01:00
interface_edge_cases checker: fix generic type ignores implemented interface (#9124) 2021-03-05 06:59:18 +02:00
local
modules parser: imporve generics detection (#8992) 2021-02-27 10:07:18 +02:00
multiple_paths_in_vmodules all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
prod
profile tests: make profile_test.v more robust 2021-02-23 18:30:53 +02:00
project_with_c_code
project_with_c_code_2
project_with_modules_having_submodules
project_with_tests_for_main
repl vrepl: fix array_filter (#9104) 2021-03-04 12:24:14 +02:00
skip_unused
tmpl tmpl: fix doubling templates folder path and enhancements (#9029) 2021-03-01 11:15:59 +02:00
valgrind all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
anon_fn_call_test.v
anon_fn_in_containers_test.v cgen: fix anon_fn in containers (#9077) 2021-03-03 10:12:08 +02:00
anon_fn_redefinition_test.v cgen: fix anon_fn redefinition (#8961) 2021-02-25 12:16:35 +01:00
anon_fn_returning_question_test.v all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
anon_fn_test.v
appending_to_mut_array_in_fn_param_test.v
array_append_short_struct_test.v
array_cast_test.v
array_equality_test.v
array_init_test.v
array_map_or_test.v
array_map_ref_test.v
array_methods_test.v
array_slice_test.v
array_test.v
array_to_string_test.v
array_type_alias_test.v
as_cast_is_expr_sumtype_fn_result_test.v
asm_test.v
assert_sumtype_test.v
assert_with_newlines_test.v
assign_bitops_with_type_aliases_test.v
attribute_test.v
autolock_array1_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
autolock_array2_test.v
backtrace_test.v
blank_ident_test.v
cast_to_byte_test.v
cast_to_interface_test.v
clash_var_name_of_array_and_map_test.v cgen: fix var name clash of array/map (fix #1994) (#8765) 2021-02-15 15:51:57 +02:00
complex_assign_test.v
comptime_at_test.v
comptime_bittness_and_endianess_test.v
comptime_call_test.v
comptime_field_selector_test.v
comptime_for_test.v cgen: scope `$for` fields/methods independently (#9017) 2021-03-01 01:01:56 +01:00
comptime_if_expr_test.v
comptime_if_is_test.v
comptime_if_test_support_test.v
const_can_use_optionals_test.v
const_embed_test.v
const_init_order_test.v
const_test.v
conversions_test.v
cross_assign_test.v
cstrings_test.v
defer_test.v
differently_named_structs_test.v
double_ref_deref_test.v
enum_array_field_test.v
enum_bitfield_test.v checker, cgen: allow | between bitfield enum values, autogenerate a more specific .str method for them too (#8856) 2021-02-20 21:51:54 +02:00
enum_default_value_in_struct_test.v
enum_hex_test.v
enum_test.v io: remove unused Zzz_CoerceInterfaceTableGeneration struct; add test for `x := Enum{}` 2021-02-17 01:37:05 +02:00
filter_in_map_test.v
fixed_array_const_size_test.v
fixed_array_init_test.v
fixed_array_of_fn_test.v
fixed_array_test.v arrays: use for/in instead of unsafe `[direct_array_access]` (#8857) 2021-02-20 15:27:36 +02:00
fixed_array_to_string_test.v
fn_assignment_test.v
fn_cross_assign_test.v
fn_expecting_ref_but_returning_struct_test.v
fn_expecting_ref_but_returning_struct_time_module_test.v
fn_high_test.v
fn_index_direct_call_test.v
fn_multiple_returns_test.v all: migrate to the new Option (p. 1) (#8924) 2021-02-28 22:24:29 +03:00
fn_mut_args_test.v
fn_shared_return_test.v
fn_test.v parser: fix parsing attribute after fn prototype with no return type (#8727) 2021-02-14 08:05:20 +01:00
fn_type_aliases_test.v
fn_variadic_test.v
fn_with_fixed_array_function_args_test.v
for_c_multi_vars.v cgen: implement for_stmt of multi_init_vars or multi_assign_vars (#8917) 2021-02-24 14:58:45 +02:00
for_in_containers_of_fixed_array_test.v cgen: fix for_in fixed_array (#9129) 2021-03-05 15:35:09 +03:00
for_in_iterator_test.v cgen: move the condition of an iterator to a temp var (#8989) 2021-02-26 21:51:01 +01:00
for_in_mut_val_test.v
for_loops_2_test.v
for_loops_test.v
for_smartcast_test.v
generic_chan_test.v
generic_fn_infer_modifier_test.v
generic_fn_infer_test.v
generic_fn_returning_type_with_T_test.v
generic_functions_with_normal_function_test.v
generics_method_test.v
generics_return_multi_array_test.v
generics_test.v parser: imporve generics detection (#8992) 2021-02-27 10:07:18 +02:00
go_array_wait_test.v table,cgen: fix bug preventing `t := []thread{}` to compile (#8913) 2021-02-23 09:37:29 +02:00
go_call_generic_fn_test.v
go_handle_for_functions_returning_array_test.v
go_wait_1_test.v
go_wait_2_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
go_wait_3_test.v
go_wait_option_test.v all: support `thread` handles and `wait()` for functions returning optionals (#8990) 2021-02-27 10:16:55 +02:00
goto_test.v
if_expr_of_optional_test.v cgen: fix if_expr of multi-stmts optional (#9039) 2021-03-01 21:39:04 +01:00
if_expression_test.v parser,fmt: fix regression with non-void arrays in if conditions (#9161) 2021-03-06 20:39:38 +02:00
if_guard_test.v checker/cgen: enable `IfGuardExpr` for `a[k]` and `<-ch` (#9065) 2021-03-03 10:10:38 +02:00
if_smartcast_test.v
imported_symbols_test.v parser: set is_public when registering enum type symbols (#8875) 2021-02-21 12:13:52 +02:00
in_expression_test.v
infix_expr_test.v
int_cmp_test.v
interface_auto_str_gen_test.v cgen: add auto str method generation for interfaces (#9095) 2021-03-04 12:41:42 +02:00
interface_fields_test.v
interface_struct_test.v
interface_test.v checker, cgen: allow implementing an interface with an embedded struct (#9042) 2021-03-01 21:47:00 +01:00
interface_variadic_test.v
interfaces_map_test.v
interop_test.v
local_test.v
map_alias_key_test.v
map_and_array_with_fns_test.v
map_complex_fixed_array_test.v
map_enum_keys_test.v gen,parser: allow enums as map keys 2021-02-20 19:39:25 +02:00
map_equality_test.v
map_high_order_assign_test.v
map_key_expr_test.v
map_mut_fn_test.v
map_to_string_test.v
map_type_alias_test.v
maps_equal_test.v
match_expression_for_types_test.v
match_expression_with_fn_names_in_branches_test.v
match_in_fn_call_test.v cgen: fix error of match in fn_call (#8900) 2021-02-23 09:53:07 +02:00
match_in_if_expression_test.v
match_in_map_init_test.v checker: fix error of match in map_init (fix #8579) (#8879) 2021-02-21 17:09:42 +02:00
match_interface_test.v cgen: fix `match`ing interface types (#8889) 2021-02-22 14:55:43 +02:00
match_smartcast_test.v
match_sumtype_var_shadow_and_as_test.v
match_test.v
match_with_complex_exprs_in_branches_test.v cgen: fix match_return with complex expr stmts (#8876) 2021-02-21 11:47:46 +02:00
method_call_chain_test.v
methods_on_interfaces_test.v
module_test.v
module_type_cast_test.v
multiple_assign_test.v
multiret_with_ptrtype_test.v
mut_test.v checker: fix for _, mut j in array (#8785) 2021-02-17 20:44:28 +01:00
named_break_continue_test.v
nested_map_test.v parser,gen: fix `arr << map[key] using map_get_and_set_1, leading to double free 2021-02-16 16:39:31 +02:00
nested_option_call_test.v
num_lit_call_method_test.v
offsetof_test.v
operator_overloading_cmp_test.v
operator_overloading_with_string_interpolation_test.v
option_2_test.v cgen: fix various issues concerning optionals (#9021) 2021-02-28 23:21:03 +01:00
option_default_values_test.v
option_if_assign_and_fallthrough_test.v
option_in_loop_test.v
option_print_errors_test.v
option_test.v all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
option_void_test.v all: migrate to the new Option (p. 1) (#8924) 2021-02-28 22:24:29 +03:00
orm_sub_struct_test.v all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
parser_line_test.v
pointers_str_test.v
pointers_test.v
print_test.v
prod_test.v all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
ptr_arithmetic_test.v
ref_return_test.v
ref_struct_test.v
repeated_multiret_values_test.v
reserved_keywords_can_be_escaped_with_at_test.v v.gen.c: ensure that @continue is escaped in the generated C code 2021-02-26 10:22:35 +02:00
return_voidptr_test.v
reusable_mut_multiret_values_test.v
run_v_code_from_stdin_test.v all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
semaphore_test.v
semaphore_timed_test.v
shared_arg_test.v
shared_array_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
shared_autolock_test.v
shared_elem_test.v
shared_fn_return_test.v
shared_lock_2_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
shared_lock_3_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
shared_lock_4_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
shared_lock_5_test.v
shared_lock_6_test.v
shared_lock_expr_test.v
shared_lock_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
shared_map_test.v
shared_unordered_mixed_test.v
shift_test.v
short_struct_param_syntax_test.v
sizeof_2_test.v
sizeof_test.v
sorting_by_different_criteria_test.v
sorting_by_references_test.v
static_arrays_using_const_for_size_test.v
static_vars_test.v fmt: fix support for `mut static x := 42` 2021-02-28 19:40:21 +02:00
str_gen_test.v all: migrate to the new Option (p. 1) (#8924) 2021-02-28 22:24:29 +03:00
string_alias_test.v
string_interpolation_alias_test.v
string_interpolation_array_test.v
string_interpolation_custom_str_test.v gen/c: fix gen_str_for_struct with custom ref str (fix #7179) (#8820) 2021-02-18 18:19:42 +02:00
string_interpolation_floats_test.v
string_interpolation_function_test.v
string_interpolation_multi_return_test.v
string_interpolation_of_array_of_structs_test.v
string_interpolation_shared_test.v checker/cgen: support `print*()`, `.str()` and '$x' for `shared` (#8771) 2021-02-16 12:40:13 +01:00
string_interpolation_string_args_test.v
string_interpolation_struct_test.v gen: fix infinite loop when struct's ref field is pointing to self (#8632) (#8641) 2021-02-15 15:43:10 +02:00
string_interpolation_test.v
string_interpolation_variadic_test.v
string_struct_interpolation_test.v
struct_allow_both_field_defaults_and_skip_flag_test.v
struct_chained_fields_correct_test.v
struct_child_field_default_test.v
struct_embed_test.v
struct_eq_op_only_test.v
struct_equality_test.v
struct_field_default_value_interface_cast_test.v
struct_field_default_value_sumtype_cast_test.v
struct_fields_storing_functions_test.v
struct_map_method_test.v
struct_test.v all: migrate to the new Option (p. 1) (#8924) 2021-02-28 22:24:29 +03:00
struct_transmute_test.v
sum_type_test.v
sumtype_assign_test.v
sumtype_calls_test.v
sumtype_literal_test.v
sumtype_str_for_subtypes_with_str_test.v
sumtype_str_test.v
supports__likely__test.v
tmpl_test.v tmpl: fix doubling templates folder path and enhancements (#9029) 2021-03-01 11:15:59 +02:00
type_alias_str_method_override_test.v
type_alias_test.v
type_name_test.v
type_promotion_test.v
type_voidptr_test.v time: consolidate the different sleep functions into time.wait(Duration) (#8853) 2021-02-21 17:05:03 +02:00
typeof_simple_types_test.v
typeof_test.v
unsafe_test.v
vargs_auto_str_method_and_println_test.v
vargs_empty_param_test.v all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
vmod_parser_test.v all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
voidptr_to_u64_cast_a_test.v
voidptr_to_u64_cast_b_test.v
working_with_an_empty_struct_test.v