v/vlib/v/tests
Delyan Angelov 06a02c41c3 tests: reduce probability of locks during macos runs of live_test.v 2020-10-05 21:20:42 +03:00
..
bench sync: use `mfence` on windows-tcc (#6079) 2020-08-06 17:31:05 +02:00
inout gen: removes space on struct printing (#6535) 2020-10-02 13:06:02 +02:00
local ci: vet all files from the compiler (#5994) 2020-07-27 12:15:29 +02:00
modules gen: named imported structs operator overloading and str methods (#6433) 2020-09-20 19:51:14 +02:00
prod gen: removes space on struct printing (#6535) 2020-10-02 13:06:02 +02:00
project_with_c_code ci: vet all files from the compiler (#5994) 2020-07-27 12:15:29 +02:00
project_with_modules_having_submodules ci: vet all files from the compiler (#5994) 2020-07-27 12:15:29 +02:00
project_with_tests_for_main ci: vet all files from the compiler (#5994) 2020-07-27 12:15:29 +02:00
repl tests: fix repl_test.v 2020-08-25 15:59:07 +03:00
valgrind autofree: simplify, clean up, and fix complex arg exprs 2020-09-30 07:27:24 +02:00
anon_fn_test.v tests: fix sporadic waitgroup failure on slow windows VMs in anon_fn_test.v 2020-09-11 16:00:24 +03:00
array_equality_test.v tests: add nested array not equal tests 2020-06-20 02:34:49 +02:00
array_init_test.v cgen: fix map and array with fns (#5894) 2020-07-20 19:53:02 +03:00
array_mut_slicing_test.v cgen: fix dereferencing a mutable array (#6191) 2020-08-22 12:48:09 +02:00
array_slice_clone_test.v
array_to_string_test.v gen: bytes array print not ending prematurely when null byte (#6401) 2020-09-18 01:12:32 +02:00
as_cast_is_expr_sumtype_fn_result_test.v cgen: fix `as` cast when sumtype is the result of a function call (#6537) 2020-10-03 05:04:15 +02:00
asm_test.v
assert_sumtype_test.v cgen: fix assert `sumtype is` (#5739) 2020-07-08 09:05:01 +03:00
assign_bitops_with_type_aliases_test.v checker: allow &=,|=,^=,%= on an integer number type aliases 2020-10-04 15:29:09 +03:00
attribute_test.v parser/cgen: multiple attributes & better errors (closes #5334) 2020-06-15 22:59:09 +10:00
autolock_array1_test.v parser: enable module auto import (of `sync`) (#6271) 2020-08-31 10:44:39 +02:00
autolock_array2_test.v unsafe: tag with unsafe{} some more pointer manipulations 2020-07-22 21:42:51 +03:00
backtrace_test.v
blank_ident_test.v jsgen: improve handling of `blank_ident` 2020-06-09 09:45:50 +02:00
cast_to_byte_test.v checker: allow &=,|=,^=,%= on an integer number type aliases 2020-10-04 15:29:09 +03:00
complex_assign_test.v
comptime_bittness_and_endianess_test.v
comptime_for_test.v all: change .ReturnType and .Type to .return_type and .typ (#6494) 2020-09-28 06:13:38 +02:00
comptime_if_test_support_test.v cgen: support `$if test { ... }` 2020-06-03 10:20:10 +03:00
const_embed_test.v
const_init_order_test.v ci: vet all files from the compiler (#5994) 2020-07-27 12:15:29 +02:00
const_test.v
conversions_test.v checker: disallow casting to bool, use `some_int != 0` instead (#6138) 2020-08-19 14:37:55 +02:00
cross_assign_test.v tests: add mixed and complex types tests for cross assign (#5622) 2020-07-02 18:20:03 +02:00
cstrings_test.v builtin: x.vstring() instead of string(x) (#6102) 2020-08-10 18:05:26 +02:00
defer_test.v all: change `f mut Foo` to `mut f Foo` 2020-06-04 10:35:40 +02:00
differently_named_structs_test.v
double_ref_deref_test.v scanner: fix parsing multiple .amp 2020-06-13 00:01:44 +02:00
enum_array_field_test.v ci: vet all files from the compiler (#5994) 2020-07-27 12:15:29 +02:00
enum_bitfield_test.v
enum_default_value_in_struct_test.v gen: removes space on struct printing (#6535) 2020-10-02 13:06:02 +02:00
enum_hex_test.v
enum_test.v
fixed_array_init_test.v parser: support custom fixed size ArrayInit: `[3]int{init: -1}` (#6114) 2020-08-15 11:01:54 +02:00
fixed_array_test.v cgen: implement fixed array `.len` property (#6212) 2020-08-25 08:48:28 +02:00
fixed_array_to_string_test.v
fn_assignment_test.v checker: fix multi assignment for multiple fns (#5716) 2020-07-07 14:18:51 +02:00
fn_cross_assign_test.v cgen: fix cross assign for functions (#5734) 2020-07-08 09:17:26 +03:00
fn_expecting_ref_but_returning_struct_test.v
fn_expecting_ref_but_returning_struct_time_module_test.v
fn_high_test.v parser/checker/gen: anon fn direct call with args 2020-07-08 01:10:39 +10:00
fn_multiple_returns_test.v
fn_test.v parser: fix function return anon_fn without parentheses 2020-06-22 16:03:31 +02:00
fn_variadic_test.v
for_loops_2_test.v parser: disallow match expr at certain places (#6490) 2020-10-03 16:30:58 +03:00
for_loops_test.v
generics_test.v json: fix encode/decode support for generic structs (#6489) 2020-09-29 03:15:00 +02:00
goto_test.v
if_expression_test.v checker: require () in a && b || c 2020-06-02 22:21:44 +02:00
if_smartcast_test.v tests: cleanup if_smartcast_test.v 2020-09-11 22:00:13 +03:00
in_expression_test.v builtin: fix `in` for various numeric types (#6311) 2020-09-06 12:45:02 +02:00
int_cmp_test.v cgen: fix unsigned/signed integer comparisons 2020-06-17 02:54:27 +02:00
interface_test.v builder: handle bad extensions and support .vv 2020-08-25 13:32:27 +02:00
interfaces_map_test.v
interop_test.v parser: fix type_only fns starting with varargs 2020-06-08 19:02:36 +02:00
live_test.v tests: reduce probability of locks during macos runs of live_test.v 2020-10-05 21:20:42 +03:00
local_test.v
map_and_array_with_fns_test.v cgen: fix array and map with fns (#5938) 2020-07-26 14:22:02 +02:00
map_equality_test.v cgen: add `gen_map_equality_fn` to compare maps (#5770) 2020-07-10 18:08:17 +02:00
map_to_string_test.v gen: removes space on struct printing (#6535) 2020-10-02 13:06:02 +02:00
match_expression_for_types_test.v
match_sumtype_var_shadow_and_as_test.v test: fix sumtype shadow & as test 2020-06-19 01:14:53 +10:00
match_test.v gen: separate sumtype from classic match (#6547) 2020-10-04 19:50:23 +02:00
module_test.v v: fix for `import cli { Command }` 2020-07-22 20:33:43 +03:00
module_type_cast_test.v parser: fix module type cast 2020-06-29 17:15:40 +02:00
multiple_assign_test.v
multiret_with_ptrtype_test.v
mut_test.v all: change `f mut Foo` to `mut f Foo` 2020-06-04 10:35:40 +02:00
nameof_test.v
nested_map_test.v
num_lit_call_method_test.v float: make default string representations for floats become alike 2020-06-18 22:33:41 +02:00
operator_overloading_with_string_interpolation_test.v
option_default_values_test.v
option_if_assign_and_fallthrough_test.v cgen: else if guard (#5822) 2020-07-14 17:19:55 +02:00
option_print_errors_test.v
option_test.v all: `if` guard optional: define `err` in `else` branch (#5853) 2020-07-17 19:10:01 +02:00
option_void_test.v cgen: fix optional void return error 2020-06-24 12:45:15 +02:00
parser_line_test.v parser: require `(` on same line as name token for fn call or cast (#6160) 2020-08-19 02:37:17 +02:00
pointers_str_test.v
pointers_test.v gg: GG => Context 2020-06-04 20:26:18 +02:00
print_test.v
prod_test.v
ptr_arithmetic_test.v ci: fix remaining failing tests. Do mut ptr check only outside unsafe{} blocks. 2020-07-26 10:59:07 +03:00
repeated_multiret_values_test.v
return_voidptr_test.v ci: vet all files from the compiler (#5994) 2020-07-27 12:15:29 +02:00
reusable_mut_multiret_values_test.v
semaphore_test.v tests: reduce iterations for the atomic and semaphore tests, to speed up test-fixed 2020-07-20 11:14:55 +03:00
semaphore_timed_test.v checker/channels: check `mut`/`&` state of transmitted objects (#6315) 2020-09-06 21:24:41 +02:00
shared_array_test.v parser: enable module auto import (of `sync`) (#6271) 2020-08-31 10:44:39 +02:00
shared_lock_2_test.v parser: enable module auto import (of `sync`) (#6271) 2020-08-31 10:44:39 +02:00
shared_lock_3_test.v parser: enable module auto import (of `sync`) (#6271) 2020-08-31 10:44:39 +02:00
shared_lock_4_test.v parser: enable module auto import (of `sync`) (#6271) 2020-08-31 10:44:39 +02:00
shared_lock_test.v parser: enable module auto import (of `sync`) (#6271) 2020-08-31 10:44:39 +02:00
shift_test.v parser: require assign on type alias (#6477) 2020-09-25 12:02:32 +02:00
short_struct_param_syntax_test.v
sizeof_2_test.v checker, cgen: fix call of generic function returning normal type (#5865) 2020-07-17 18:28:45 +02:00
sizeof_test.v parser: fix `sizeof(int)` when used as call arg for external function (#5855) 2020-07-17 11:31:35 +03:00
static_arrays_using_const_for_size_test.v
str_gen_test.v gen: removes space on struct printing (#6535) 2020-10-02 13:06:02 +02:00
string_interpolation_array_test.v gen: removes space on struct printing (#6535) 2020-10-02 13:06:02 +02:00
string_interpolation_multi_return_test.v cgen: add gen_str_for_multi_return 2020-06-21 17:53:13 +02:00
string_interpolation_of_array_of_structs_test.v checker: default field fixes 2020-09-09 14:05:56 +02:00
string_interpolation_struct_test.v gen: removes space on struct printing (#6535) 2020-10-02 13:06:02 +02:00
string_interpolation_test.v cc: add support for tcc backend on windows-i386 (#6297) 2020-09-08 15:15:35 +02:00
string_interpolation_variadic_test.v gen: removes space on struct printing (#6535) 2020-10-02 13:06:02 +02:00
string_struct_interpolation_test.v
struct_allow_both_field_defaults_and_skip_flag_test.v
struct_chained_fields_correct_test.v
struct_test.v doc: struct literals (#5726) 2020-07-08 16:02:35 +02:00
sum_type_test.v cgen: fix sum type match (#5978) 2020-07-28 22:17:25 +02:00
sumtype_calls_test.v
sumtype_str_test.v gen: removes space on struct printing (#6535) 2020-10-02 13:06:02 +02:00
supports__likely__test.v v: add compiler support for _unlikely_(x) too 2020-06-09 18:11:03 +03:00
type_alias_str_method_override_test.v parser: require assign on type alias (#6477) 2020-09-25 12:02:32 +02:00
type_alias_test.v parser: require assign on type alias (#6477) 2020-09-25 12:02:32 +02:00
type_promotion_test.v checker: implement implicit conversions/promotions to `rune` (#6249) 2020-08-29 01:59:07 +02:00
typeof_simple_types_test.v
typeof_test.v cgen: support `typeof(expr).name` (#6253) 2020-08-30 08:56:18 +02:00
unsafe_test.v test: add tests for disallowing map/array get element/key address (#6568) 2020-10-05 18:40:51 +03:00
vargs_auto_str_method_and_println_test.v
vmod_parser_test.v tests: enable running `v test .` inside vlib/v/ too 2020-09-18 19:20:01 +03:00
voidptr_to_u64_cast_a_test.v
voidptr_to_u64_cast_b_test.v
working_with_an_empty_struct_test.v