Module stats_import stdlib

stats_import
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
3
Imported by:
1
Repository:
OS-specific
Show selected OS-specific symbols.
Backend-specific
Show selected Backend-specific symbols.

Dependencies defined in v.mod

This section is empty.

Imports

Imported by

Aliases

This section is empty.

Constants

This section is empty.

Sum types

This section is empty.

Functions

#fn get_stats_fail

JavaScript
fn get_stats_fail() int

#fn get_stats_ok

JavaScript
fn get_stats_ok() int

#fn start_testing

fn start_testing(total_number_of_tests int, vfilename string) main.BenchedTests

/////////////////////////////////////////////////////////////////// Called at the start of the test program produced by v -stats file_test.v

Structs

#struct VAssertMetaInfo

pub struct VAssertMetaInfo {
pub:
	fpath   string // the source file path of the assertion
	line_nr int    // the line number of the assertion
	main.fn_name string // the function name in which the assertion is
	src     string // the actual source line of the assertion
	op      string // the operation of the assertion, i.e. '==', '<', 'call', etc ...
	llabel  string // the left side of the infix expressions as source
	rlabel  string // the right side of the infix expressions as source
	lvalue  string // the stringified *actual value* of the left side of a failed assertion
	rvalue  string // the stringified *actual value* of the right side of a failed assertion
}

VAssertMetaInfo is used during assertions. An instance of it is filled in by compile time generated code, when an assertion fails.

Interfaces

This section is empty.

Enums

This section is empty.