Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WebAssembly/wasi-testsuite
/ functions
Functions
611 in github.com/WebAssembly/wasi-testsuite
⨍
Functions
611
◇
Types & classes
92
↳
Endpoints
11
↓ 41 callers
Function
root_directory
Opens a fresh file descriptor for `path` where `path` should be a preopened directory.
tests/rust/wasm32-wasip1/src/lib.rs:62
↓ 31 callers
Method
from_config
(cls: Type[R], test_config_path: Path, config: Dict[str, Any])
test-runner/wasi_test_runner/test_case.py:95
↓ 29 callers
Function
create_tmp_dir
(dir_fd: wasi::Fd, name: &str)
tests/rust/wasm32-wasip1/src/bin/interesting_paths.rs:100
↓ 17 callers
Method
fail_unexpected
(self, msg: str)
test-runner/wasi_test_runner/test_suite_runner.py:75
↓ 16 callers
Function
create_file
(dir_fd: wasi::Fd, filename: &str)
tests/rust/wasm32-wasip1/src/lib.rs:90
↓ 13 callers
Function
validate_config
(config: Config)
test-runner/tests/test_test_case.py:263
↓ 11 callers
Method
run
(self)
test-runner/wasi_test_runner/test_case.py:461
↓ 10 callers
Method
from_file
(cls: Type[T], config_file: str)
test-runner/wasi_test_runner/test_case.py:295
↓ 10 callers
Function
test_invalid_field_name
(field: &str)
tests/rust/wasm32-wasip3/src/bin/http-fields.rs:73
↓ 8 callers
Method
assert_proc
(self, op: Any)
test-runner/wasi_test_runner/test_case.py:527
↓ 8 callers
Function
create_test_case
(name: str, is_executed: bool, is_failed: bool, expected_to_fail: bool = False)
test-runner/tests/test_test_suite.py:8
↓ 7 callers
Function
requireOption
(options, name)
tools/jco_runner.mjs:25
↓ 7 callers
Function
test_valid_field_value
(val: &[u8])
tests/rust/wasm32-wasip3/src/bin/http-fields.rs:139
↓ 6 callers
Function
check_metadata_hash
(a: &Descriptor, b: &Descriptor)
tests/rust/wasm32-wasip3/src/bin/filesystem-metadata-hash.rs:22
↓ 6 callers
Method
next
(&mut self)
tests/rust/wasm32-wasip1/src/bin/fd_readdir.rs:27
↓ 6 callers
Function
pread
(fd: &Descriptor, size: usize, offset: u64)
tests/rust/wasm32-wasip3/src/bin/filesystem-io.rs:24
↓ 5 callers
Function
_meta
()
test-runner/tests/test_filters.py:9
↓ 5 callers
Method
support_dangling_filesystem
(&self)
tests/rust/wasm32-wasip1/src/config.rs:52
↓ 5 callers
Function
test_valid_field_name
(field: &str)
tests/rust/wasm32-wasip3/src/bin/http-fields.rs:100
↓ 4 callers
Method
_count
(self, *outcomes: Outcome)
test-runner/wasi_test_runner/test_suite.py:19
↓ 4 callers
Method
_fail_colored
(self, text: str)
test-runner/wasi_test_runner/reporters/console.py:123
↓ 4 callers
Method
_skip_colored
(self, text: str)
test-runner/wasi_test_runner/reporters/console.py:129
↓ 4 callers
Method
add_stream
(self, op: Any, name: str, typ: StreamType)
test-runner/wasi_test_runner/test_case.py:542
↓ 4 callers
Method
assert_stream
(self, op: Any, name: str, typ: StreamType)
test-runner/wasi_test_runner/test_case.py:535
↓ 4 callers
Function
assert_timestamp_close
(actual: Option<Instant>, expected: Instant)
tests/rust/wasm32-wasip3/src/bin/filesystem-stat.rs:29
↓ 4 callers
Function
check_one
(fd: &Descriptor, same: &[&Descriptor], different: &[&Descriptor])
tests/rust/wasm32-wasip3/src/bin/filesystem-is-same-object.rs:22
↓ 4 callers
Function
exec_fd_readdir
Return the entries plus a bool indicating EOF.
tests/rust/wasm32-wasip1/src/bin/fd_readdir.rs:57
↓ 4 callers
Method
get_pipe
(self, name: str)
test-runner/wasi_test_runner/test_suite_runner.py:94
↓ 4 callers
Method
should_skip
( self, meta: TestSuiteMeta, test_name: str, config: Config )
test-runner/wasi_test_runner/filters.py:26
↓ 4 callers
Function
test_invalid_field_value
(val: &[u8])
tests/rust/wasm32-wasip3/src/bin/http-fields.rs:126
↓ 3 callers
Method
_colored_str
(self, color: str, text: str)
test-runner/wasi_test_runner/reporters/console.py:118
↓ 3 callers
Method
_pass_colored
(self, text: str)
test-runner/wasi_test_runner/reporters/console.py:126
↓ 3 callers
Method
_print_fail
(self, text: str)
test-runner/wasi_test_runner/reporters/console.py:132
↓ 3 callers
Function
_reset_metadata
(info: tarfile.TarInfo)
tools/package_dist.py:13
↓ 3 callers
Method
add_pipe
(self, name: str, pipe: IO[str])
test-runner/wasi_test_runner/test_suite_runner.py:87
↓ 3 callers
Function
check_stat
(stat: &DescriptorStat, type_: DescriptorType)
tests/rust/wasm32-wasip3/src/bin/filesystem-stat.rs:45
↓ 3 callers
Function
check_timestamp
(t: Instant)
tests/rust/wasm32-wasip3/src/bin/filesystem-stat.rs:25
↓ 3 callers
Function
create_or_open
(dir_fd: wasi::Fd, name: &str, flags: wasi::Oflags)
tests/rust/wasm32-wasip1/src/bin/path_link.rs:14
↓ 3 callers
Method
expected_to_fail
(self, meta: TestSuiteMeta, test_name: str)
test-runner/wasi_test_runner/filters.py:31
↓ 3 callers
Method
fail_expectation
(self, msg: str)
test-runner/wasi_test_runner/test_suite_runner.py:78
↓ 3 callers
Function
fd_get_rights
Returns: (rights_base, rights_inheriting)
tests/rust/wasm32-wasip1/src/lib.rs:101
↓ 3 callers
Function
test_empty_fields_inner
(fields: Fields)
tests/rust/wasm32-wasip3/src/bin/http-fields.rs:4
↓ 2 callers
Function
_append_stdout_and_stderr
(msg: str, out: str | None, err: str | None)
test-runner/wasi_test_runner/test_suite_runner.py:353
↓ 2 callers
Function
_cleanup_test_output
(host_dir: Path)
test-runner/wasi_test_runner/test_suite_runner.py:369
↓ 2 callers
Function
_copy_file
(src: str, dst: Path)
tools/run_wasi_test.py:15
↓ 2 callers
Function
_list_of_tables
(value: Any, key: str)
test-runner/wasi_test_runner/filters.py:103
↓ 2 callers
Method
_lookup
(self, meta: TestSuiteMeta, test_name: str)
test-runner/wasi_test_runner/filters.py:52
↓ 2 callers
Method
_print_skip
(self, text: str)
test-runner/wasi_test_runner/reporters/console.py:138
↓ 2 callers
Function
_required_string
(table: dict[str, Any], key: str)
test-runner/wasi_test_runner/filters.py:114
↓ 2 callers
Method
_to_iso8601
(timestamp: datetime)
test-runner/wasi_test_runner/reporters/json.py:66
↓ 2 callers
Method
_validate_config
(cls: Type[T], dict_config: Dict[str, Any], expected_keys: Set[str])
test-runner/wasi_test_runner/test_case.py:360
↓ 2 callers
Method
_wait
(self, timeout: float | None)
test-runner/wasi_test_runner/test_suite_runner.py:68
↓ 2 callers
Method
assert_no_proc
(self, op: Any)
test-runner/wasi_test_runner/test_case.py:531
↓ 2 callers
Function
check_metadata_hash_at
( a: &Descriptor, a_flags: PathFlags, a_name: &str, b: &Descriptor, b_flags: PathFlags,
tests/rust/wasm32-wasip3/src/bin/filesystem-metadata-hash.rs:30
↓ 2 callers
Function
check_rights
(orig_fd: wasi::Fd, link_fd: wasi::Fd)
tests/rust/wasm32-wasip1/src/bin/path_link.rs:69
↓ 2 callers
Function
compute_valid_field_name_chars
(len: usize)
tests/rust/wasm32-wasip3/src/bin/http-fields.rs:161
↓ 2 callers
Function
compute_valid_field_value_bytes
()
tests/rust/wasm32-wasip3/src/bin/http-fields.rs:236
↓ 2 callers
Function
directory_base_rights
()
tests/rust/wasm32-wasip1/src/bin/path_open_preopen.rs:138
↓ 2 callers
Function
ensurePackageLink
(outputDir, packageName, packagePath)
tools/jco_runner.mjs:32
↓ 2 callers
Method
evaluate
(cls, expected_to_fail: bool, result: "Result")
test-runner/wasi_test_runner/test_case.py:72
↓ 2 callers
Method
get_socket
(self, name: str)
test-runner/wasi_test_runner/test_suite_runner.py:90
↓ 2 callers
Method
get_timeout_seconds
(self)
test-runner/wasi_test_runner/runtime_adapter.py:107
↓ 2 callers
Method
has_failure
(self)
test-runner/wasi_test_runner/test_case.py:458
↓ 2 callers
Function
open_link
(dir_fd: wasi::Fd, name: &str)
tests/rust/wasm32-wasip1/src/bin/path_link.rs:24
↓ 2 callers
Function
poll_oneoff_impl
(r#in: &[wasi::Subscription])
tests/rust/wasm32-wasip1/src/bin/poll_oneoff_stdio.rs:10
↓ 2 callers
Function
pwrite
(fd: &Descriptor, offset: u64, data: &[u8])
tests/rust/wasm32-wasip3/src/bin/filesystem-io.rs:57
↓ 2 callers
Function
pwrite_full
tests/c/src/pwrite-with-access.c:8
↓ 2 callers
Function
run_all_tests
( runtimes: List[RuntimeAdapter], test_suite_paths: List[str], reporters: List[TestReporter],
test-runner/wasi_test_runner/harness.py:34
↓ 2 callers
Function
supports_rights
(fd: wasi::Fd)
tests/rust/wasm32-wasip1/src/lib.rs:180
↓ 2 callers
Function
test_already_bound
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-bind.rs:25
↓ 2 callers
Function
test_already_bound
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-bind.rs:195
↓ 2 callers
Function
test_bind_addrinuse
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-bind.rs:158
↓ 2 callers
Function
test_connect_0_port
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-connect.rs:81
↓ 2 callers
Function
test_connect_0_port
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-connect.rs:49
↓ 2 callers
Function
test_connected_empty_addr
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-send.rs:42
↓ 2 callers
Function
test_connected_state
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-connect.rs:92
↓ 2 callers
Function
test_connected_state
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-receive.rs:11
↓ 2 callers
Function
test_connected_state
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-send.rs:11
↓ 2 callers
Function
test_connected_with_addr
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-send.rs:50
↓ 2 callers
Function
test_connection_refused
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-connect.rs:127
↓ 2 callers
Function
test_datagram_too_large
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-send.rs:107
↓ 2 callers
Function
test_drop_read_half
According to the spec, dropping the read half behaves like calling `shutdown(SHUT_RD)` in POSIX.
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-receive.rs:51
↓ 2 callers
Function
test_drop_write_half
Dropping the write half shouldn't cause the write to be lost. The read half must remain functional. According to the spec, closing the stream is equiv
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-send.rs:26
↓ 2 callers
Function
test_ephemeral_port_assignment
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-bind.rs:60
↓ 2 callers
Function
test_ephemeral_port_assignment
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-bind.rs:103
↓ 2 callers
Function
test_explicit_bind
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-connect.rs:142
↓ 2 callers
Function
test_explicit_bind_addrinuse
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-connect.rs:166
↓ 2 callers
Function
test_explicit_bind_addrinuse
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-connect.rs:80
↓ 2 callers
Function
test_fields_with_foo_inner
(fields: Fields)
tests/rust/wasm32-wasip3/src/bin/http-fields.rs:21
↓ 2 callers
Function
test_implicit_bind
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-send.rs:33
↓ 2 callers
Function
test_implicit_bind
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-connect.rs:60
↓ 2 callers
Function
test_inherited_properties
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-listen.rs:26
↓ 2 callers
Function
test_invalid_address_family
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-connect.rs:12
↓ 2 callers
Function
test_invalid_address_family
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-bind.rs:10
↓ 2 callers
Function
test_invalid_address_family
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-bind.rs:88
↓ 2 callers
Function
test_invalid_address_family
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-connect.rs:12
↓ 2 callers
Function
test_listening
(fam: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-listen.rs:56
↓ 2 callers
Function
test_listening_state
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-connect.rs:111
↓ 2 callers
Function
test_multiple_receive
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-receive.rs:22
↓ 2 callers
Function
test_non_unicast
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-connect.rs:27
next →
1–100 of 611, ranked by callers