MCPcopy Create free account

hub / github.com/WebAssembly/wasi-testsuite / functions

Functions611 in github.com/WebAssembly/wasi-testsuite

↓ 41 callersFunctionroot_directory
Opens a fresh file descriptor for `path` where `path` should be a preopened directory.
tests/rust/wasm32-wasip1/src/lib.rs:62
↓ 31 callersMethodfrom_config
(cls: Type[R], test_config_path: Path, config: Dict[str, Any])
test-runner/wasi_test_runner/test_case.py:95
↓ 29 callersFunctioncreate_tmp_dir
(dir_fd: wasi::Fd, name: &str)
tests/rust/wasm32-wasip1/src/bin/interesting_paths.rs:100
↓ 17 callersMethodfail_unexpected
(self, msg: str)
test-runner/wasi_test_runner/test_suite_runner.py:75
↓ 16 callersFunctioncreate_file
(dir_fd: wasi::Fd, filename: &str)
tests/rust/wasm32-wasip1/src/lib.rs:90
↓ 13 callersFunctionvalidate_config
(config: Config)
test-runner/tests/test_test_case.py:263
↓ 11 callersMethodrun
(self)
test-runner/wasi_test_runner/test_case.py:461
↓ 10 callersMethodfrom_file
(cls: Type[T], config_file: str)
test-runner/wasi_test_runner/test_case.py:295
↓ 10 callersFunctiontest_invalid_field_name
(field: &str)
tests/rust/wasm32-wasip3/src/bin/http-fields.rs:73
↓ 8 callersMethodassert_proc
(self, op: Any)
test-runner/wasi_test_runner/test_case.py:527
↓ 8 callersFunctioncreate_test_case
(name: str, is_executed: bool, is_failed: bool, expected_to_fail: bool = False)
test-runner/tests/test_test_suite.py:8
↓ 7 callersFunctionrequireOption
(options, name)
tools/jco_runner.mjs:25
↓ 7 callersFunctiontest_valid_field_value
(val: &[u8])
tests/rust/wasm32-wasip3/src/bin/http-fields.rs:139
↓ 6 callersFunctioncheck_metadata_hash
(a: &Descriptor, b: &Descriptor)
tests/rust/wasm32-wasip3/src/bin/filesystem-metadata-hash.rs:22
↓ 6 callersMethodnext
(&mut self)
tests/rust/wasm32-wasip1/src/bin/fd_readdir.rs:27
↓ 6 callersFunctionpread
(fd: &Descriptor, size: usize, offset: u64)
tests/rust/wasm32-wasip3/src/bin/filesystem-io.rs:24
↓ 5 callersFunction_meta
()
test-runner/tests/test_filters.py:9
↓ 5 callersMethodsupport_dangling_filesystem
(&self)
tests/rust/wasm32-wasip1/src/config.rs:52
↓ 5 callersFunctiontest_valid_field_name
(field: &str)
tests/rust/wasm32-wasip3/src/bin/http-fields.rs:100
↓ 4 callersMethod_count
(self, *outcomes: Outcome)
test-runner/wasi_test_runner/test_suite.py:19
↓ 4 callersMethod_fail_colored
(self, text: str)
test-runner/wasi_test_runner/reporters/console.py:123
↓ 4 callersMethod_skip_colored
(self, text: str)
test-runner/wasi_test_runner/reporters/console.py:129
↓ 4 callersMethodadd_stream
(self, op: Any, name: str, typ: StreamType)
test-runner/wasi_test_runner/test_case.py:542
↓ 4 callersMethodassert_stream
(self, op: Any, name: str, typ: StreamType)
test-runner/wasi_test_runner/test_case.py:535
↓ 4 callersFunctionassert_timestamp_close
(actual: Option<Instant>, expected: Instant)
tests/rust/wasm32-wasip3/src/bin/filesystem-stat.rs:29
↓ 4 callersFunctioncheck_one
(fd: &Descriptor, same: &[&Descriptor], different: &[&Descriptor])
tests/rust/wasm32-wasip3/src/bin/filesystem-is-same-object.rs:22
↓ 4 callersFunctionexec_fd_readdir
Return the entries plus a bool indicating EOF.
tests/rust/wasm32-wasip1/src/bin/fd_readdir.rs:57
↓ 4 callersMethodget_pipe
(self, name: str)
test-runner/wasi_test_runner/test_suite_runner.py:94
↓ 4 callersMethodshould_skip
( self, meta: TestSuiteMeta, test_name: str, config: Config )
test-runner/wasi_test_runner/filters.py:26
↓ 4 callersFunctiontest_invalid_field_value
(val: &[u8])
tests/rust/wasm32-wasip3/src/bin/http-fields.rs:126
↓ 3 callersMethod_colored_str
(self, color: str, text: str)
test-runner/wasi_test_runner/reporters/console.py:118
↓ 3 callersMethod_pass_colored
(self, text: str)
test-runner/wasi_test_runner/reporters/console.py:126
↓ 3 callersMethod_print_fail
(self, text: str)
test-runner/wasi_test_runner/reporters/console.py:132
↓ 3 callersFunction_reset_metadata
(info: tarfile.TarInfo)
tools/package_dist.py:13
↓ 3 callersMethodadd_pipe
(self, name: str, pipe: IO[str])
test-runner/wasi_test_runner/test_suite_runner.py:87
↓ 3 callersFunctioncheck_stat
(stat: &DescriptorStat, type_: DescriptorType)
tests/rust/wasm32-wasip3/src/bin/filesystem-stat.rs:45
↓ 3 callersFunctioncheck_timestamp
(t: Instant)
tests/rust/wasm32-wasip3/src/bin/filesystem-stat.rs:25
↓ 3 callersFunctioncreate_or_open
(dir_fd: wasi::Fd, name: &str, flags: wasi::Oflags)
tests/rust/wasm32-wasip1/src/bin/path_link.rs:14
↓ 3 callersMethodexpected_to_fail
(self, meta: TestSuiteMeta, test_name: str)
test-runner/wasi_test_runner/filters.py:31
↓ 3 callersMethodfail_expectation
(self, msg: str)
test-runner/wasi_test_runner/test_suite_runner.py:78
↓ 3 callersFunctionfd_get_rights
Returns: (rights_base, rights_inheriting)
tests/rust/wasm32-wasip1/src/lib.rs:101
↓ 3 callersFunctiontest_empty_fields_inner
(fields: Fields)
tests/rust/wasm32-wasip3/src/bin/http-fields.rs:4
↓ 2 callersFunction_append_stdout_and_stderr
(msg: str, out: str | None, err: str | None)
test-runner/wasi_test_runner/test_suite_runner.py:353
↓ 2 callersFunction_cleanup_test_output
(host_dir: Path)
test-runner/wasi_test_runner/test_suite_runner.py:369
↓ 2 callersFunction_copy_file
(src: str, dst: Path)
tools/run_wasi_test.py:15
↓ 2 callersFunction_list_of_tables
(value: Any, key: str)
test-runner/wasi_test_runner/filters.py:103
↓ 2 callersMethod_lookup
(self, meta: TestSuiteMeta, test_name: str)
test-runner/wasi_test_runner/filters.py:52
↓ 2 callersMethod_print_skip
(self, text: str)
test-runner/wasi_test_runner/reporters/console.py:138
↓ 2 callersFunction_required_string
(table: dict[str, Any], key: str)
test-runner/wasi_test_runner/filters.py:114
↓ 2 callersMethod_to_iso8601
(timestamp: datetime)
test-runner/wasi_test_runner/reporters/json.py:66
↓ 2 callersMethod_validate_config
(cls: Type[T], dict_config: Dict[str, Any], expected_keys: Set[str])
test-runner/wasi_test_runner/test_case.py:360
↓ 2 callersMethod_wait
(self, timeout: float | None)
test-runner/wasi_test_runner/test_suite_runner.py:68
↓ 2 callersMethodassert_no_proc
(self, op: Any)
test-runner/wasi_test_runner/test_case.py:531
↓ 2 callersFunctioncheck_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 callersFunctioncheck_rights
(orig_fd: wasi::Fd, link_fd: wasi::Fd)
tests/rust/wasm32-wasip1/src/bin/path_link.rs:69
↓ 2 callersFunctioncompute_valid_field_name_chars
(len: usize)
tests/rust/wasm32-wasip3/src/bin/http-fields.rs:161
↓ 2 callersFunctioncompute_valid_field_value_bytes
()
tests/rust/wasm32-wasip3/src/bin/http-fields.rs:236
↓ 2 callersFunctiondirectory_base_rights
()
tests/rust/wasm32-wasip1/src/bin/path_open_preopen.rs:138
↓ 2 callersFunctionensurePackageLink
(outputDir, packageName, packagePath)
tools/jco_runner.mjs:32
↓ 2 callersMethodevaluate
(cls, expected_to_fail: bool, result: "Result")
test-runner/wasi_test_runner/test_case.py:72
↓ 2 callersMethodget_socket
(self, name: str)
test-runner/wasi_test_runner/test_suite_runner.py:90
↓ 2 callersMethodget_timeout_seconds
(self)
test-runner/wasi_test_runner/runtime_adapter.py:107
↓ 2 callersMethodhas_failure
(self)
test-runner/wasi_test_runner/test_case.py:458
↓ 2 callersFunctionopen_link
(dir_fd: wasi::Fd, name: &str)
tests/rust/wasm32-wasip1/src/bin/path_link.rs:24
↓ 2 callersFunctionpoll_oneoff_impl
(r#in: &[wasi::Subscription])
tests/rust/wasm32-wasip1/src/bin/poll_oneoff_stdio.rs:10
↓ 2 callersFunctionpwrite
(fd: &Descriptor, offset: u64, data: &[u8])
tests/rust/wasm32-wasip3/src/bin/filesystem-io.rs:57
↓ 2 callersFunctionpwrite_full
tests/c/src/pwrite-with-access.c:8
↓ 2 callersFunctionrun_all_tests
( runtimes: List[RuntimeAdapter], test_suite_paths: List[str], reporters: List[TestReporter],
test-runner/wasi_test_runner/harness.py:34
↓ 2 callersFunctionsupports_rights
(fd: wasi::Fd)
tests/rust/wasm32-wasip1/src/lib.rs:180
↓ 2 callersFunctiontest_already_bound
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-bind.rs:25
↓ 2 callersFunctiontest_already_bound
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-bind.rs:195
↓ 2 callersFunctiontest_bind_addrinuse
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-bind.rs:158
↓ 2 callersFunctiontest_connect_0_port
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-connect.rs:81
↓ 2 callersFunctiontest_connect_0_port
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-connect.rs:49
↓ 2 callersFunctiontest_connected_empty_addr
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-send.rs:42
↓ 2 callersFunctiontest_connected_state
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-connect.rs:92
↓ 2 callersFunctiontest_connected_state
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-receive.rs:11
↓ 2 callersFunctiontest_connected_state
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-send.rs:11
↓ 2 callersFunctiontest_connected_with_addr
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-send.rs:50
↓ 2 callersFunctiontest_connection_refused
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-connect.rs:127
↓ 2 callersFunctiontest_datagram_too_large
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-send.rs:107
↓ 2 callersFunctiontest_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 callersFunctiontest_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 callersFunctiontest_ephemeral_port_assignment
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-bind.rs:60
↓ 2 callersFunctiontest_ephemeral_port_assignment
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-bind.rs:103
↓ 2 callersFunctiontest_explicit_bind
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-connect.rs:142
↓ 2 callersFunctiontest_explicit_bind_addrinuse
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-connect.rs:166
↓ 2 callersFunctiontest_explicit_bind_addrinuse
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-connect.rs:80
↓ 2 callersFunctiontest_fields_with_foo_inner
(fields: Fields)
tests/rust/wasm32-wasip3/src/bin/http-fields.rs:21
↓ 2 callersFunctiontest_implicit_bind
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-send.rs:33
↓ 2 callersFunctiontest_implicit_bind
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-connect.rs:60
↓ 2 callersFunctiontest_inherited_properties
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-listen.rs:26
↓ 2 callersFunctiontest_invalid_address_family
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-connect.rs:12
↓ 2 callersFunctiontest_invalid_address_family
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-bind.rs:10
↓ 2 callersFunctiontest_invalid_address_family
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-bind.rs:88
↓ 2 callersFunctiontest_invalid_address_family
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-udp-connect.rs:12
↓ 2 callersFunctiontest_listening
(fam: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-listen.rs:56
↓ 2 callersFunctiontest_listening_state
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-connect.rs:111
↓ 2 callersFunctiontest_multiple_receive
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-receive.rs:22
↓ 2 callersFunctiontest_non_unicast
(family: IpAddressFamily)
tests/rust/wasm32-wasip3/src/bin/sockets-tcp-connect.rs:27
next →1–100 of 611, ranked by callers