Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 3919) sorted by relevance

12345678910>>...157

/wasmtime-44.0.1/crates/wasi/tests/all/p2/
H A Dasync_.rs36 #[test_log::test(tokio::test(flavor = "multi_thread"))]
40 #[test_log::test(tokio::test(flavor = "multi_thread"))]
44 #[test_log::test(tokio::test(flavor = "multi_thread"))]
48 #[test_log::test(tokio::test(flavor = "multi_thread"))]
52 #[test_log::test(tokio::test(flavor = "multi_thread"))]
56 #[test_log::test(tokio::test(flavor = "multi_thread"))]
60 #[test_log::test(tokio::test(flavor = "multi_thread"))]
64 #[test_log::test(tokio::test(flavor = "multi_thread"))]
68 #[test_log::test(tokio::test(flavor = "multi_thread"))]
72 #[test_log::test(tokio::test(flavor = "multi_thread"))]
[all …]
H A Dsync.rs40 #[test_log::test]
44 #[test_log::test]
48 #[test_log::test]
52 #[test_log::test]
56 #[test_log::test]
60 #[test_log::test]
64 #[test_log::test]
68 #[test_log::test]
72 #[test_log::test]
76 #[test_log::test]
[all …]
/wasmtime-44.0.1/crates/wasi/tests/all/
H A Dp1.rs34 #[test_log::test(tokio::test(flavor = "multi_thread"))]
38 #[test_log::test(tokio::test(flavor = "multi_thread"))]
42 #[test_log::test(tokio::test(flavor = "multi_thread"))]
46 #[test_log::test(tokio::test(flavor = "multi_thread"))]
50 #[test_log::test(tokio::test(flavor = "multi_thread"))]
54 #[test_log::test(tokio::test(flavor = "multi_thread"))]
58 #[test_log::test(tokio::test(flavor = "multi_thread"))]
62 #[test_log::test(tokio::test(flavor = "multi_thread"))]
66 #[test_log::test(tokio::test(flavor = "multi_thread"))]
70 #[test_log::test(tokio::test(flavor = "multi_thread"))]
[all …]
/wasmtime-44.0.1/crates/wasi-common/tests/all/
H A Dasync_.rs77 #[test_log::test(tokio::test(flavor = "multi_thread"))]
81 #[test_log::test(tokio::test(flavor = "multi_thread"))]
85 #[test_log::test(tokio::test(flavor = "multi_thread"))]
89 #[test_log::test(tokio::test(flavor = "multi_thread"))]
93 #[test_log::test(tokio::test(flavor = "multi_thread"))]
97 #[test_log::test(tokio::test(flavor = "multi_thread"))]
101 #[test_log::test(tokio::test(flavor = "multi_thread"))]
105 #[test_log::test(tokio::test(flavor = "multi_thread"))]
109 #[test_log::test(tokio::test(flavor = "multi_thread"))]
113 #[test_log::test(tokio::test(flavor = "multi_thread"))]
[all …]
H A Dsync.rs70 #[test_log::test]
74 #[test_log::test]
78 #[test_log::test]
82 #[test_log::test]
86 #[test_log::test]
90 #[test_log::test]
94 #[test_log::test]
98 #[test_log::test]
102 #[test_log::test]
106 #[test_log::test]
[all …]
/wasmtime-44.0.1/crates/wasi/tests/all/p3/
H A Dmod.rs48 #[test_log::test(tokio::test(flavor = "multi_thread"))]
53 #[test_log::test(tokio::test(flavor = "multi_thread"))]
58 #[test_log::test(tokio::test(flavor = "multi_thread"))]
63 #[test_log::test(tokio::test(flavor = "multi_thread"))]
68 #[test_log::test(tokio::test(flavor = "multi_thread"))]
73 #[test_log::test(tokio::test(flavor = "multi_thread"))]
78 #[test_log::test(tokio::test(flavor = "multi_thread"))]
83 #[test_log::test(tokio::test(flavor = "multi_thread"))]
88 #[test_log::test(tokio::test(flavor = "multi_thread"))]
93 #[test_log::test(tokio::test(flavor = "multi_thread"))]
[all …]
/wasmtime-44.0.1/tests/misc_testsuite/gc/
H A Dref-test.wast5 (ref.test anyref (ref.null any))
6 (ref.test anyref (ref.null none))
8 (ref.test externref (ref.null extern))
12 (ref.test funcref (ref.null func))
14 (ref.test funcref (ref.null nofunc))
27 (ref.test externref (local.get 0))
29 (ref.test funcref (ref.func $f))
71 (ref.test i31ref (ref.null none))
72 (ref.test i31ref (ref.null i31))
78 (ref.test i31ref (ref.null eq))
[all …]
/wasmtime-44.0.1/crates/wasi-http/tests/all/p2/
H A Dasync_.rs21 #[test_log::test(tokio::test(flavor = "multi_thread"))]
27 #[test_log::test(tokio::test(flavor = "multi_thread"))]
33 #[test_log::test(tokio::test(flavor = "multi_thread"))]
39 #[test_log::test(tokio::test(flavor = "multi_thread"))]
45 #[test_log::test(tokio::test(flavor = "multi_thread"))]
51 #[test_log::test(tokio::test(flavor = "multi_thread"))]
57 #[test_log::test(tokio::test(flavor = "multi_thread"))]
63 #[test_log::test(tokio::test(flavor = "multi_thread"))]
69 #[test_log::test(tokio::test(flavor = "multi_thread"))]
79 #[test_log::test(tokio::test(flavor = "multi_thread"))]
[all …]
H A Dsync.rs21 #[test_log::test]
27 #[test_log::test]
33 #[test_log::test]
39 #[test_log::test]
45 #[test_log::test]
51 #[test_log::test]
57 #[test_log::test]
63 #[test_log::test]
69 #[test_log::test]
78 #[test_log::test]
[all …]
/wasmtime-44.0.1/crates/fuzzing/tests/oom/
H A Dindex_map.rs5 #[test]
21 #[test]
33 #[test]
57 #[test]
70 #[test]
79 #[test]
92 #[test]
105 #[test]
118 #[test]
131 #[test]
[all …]
H A Derror.rs16 #[test]
18 OomTest::new().test(|| { in error_new()
24 #[test]
26 OomTest::new().test(|| { in error_msg()
34 #[test]
43 #[test]
52 #[test]
71 #[test]
81 #[test]
91 #[test]
[all …]
H A Dvec.rs6 #[test]
14 #[test]
23 #[test]
32 #[test]
41 #[test]
87 #[test]
128 #[test]
141 #[test]
152 #[test]
169 #[test]
[all …]
H A Dstring.rs5 #[test]
7 OomTest::new().test(|| { in try_string_with_capacity()
13 #[test]
15 OomTest::new().test(|| { in try_string_reserve()
22 #[test]
24 OomTest::new().test(|| { in try_string_reserve_exact()
31 #[test]
33 OomTest::new().test(|| { in try_string_push()
40 #[test]
49 #[test]
[all …]
H A Dstore.rs6 #[test]
12 OomTest::new().test(|| { in store_try_new()
18 #[test]
24 OomTest::new().test(|| { in store_data()
31 #[test]
37 OomTest::new().test(|| { in store_data_mut()
45 #[test]
51 OomTest::new().test(|| { in store_engine()
58 #[test]
71 #[test]
[all …]
H A Dlinker.rs6 #[test]
17 #[test]
29 #[test]
73 #[test]
89 #[test]
108 #[test]
137 #[test]
154 #[test]
181 #[test]
207 #[test]
[all …]
H A Dmemory.rs6 #[test]
17 .test(|| { in memory_new()
24 #[test]
31 OomTest::new().allow_alloc_after_oom(true).test(|| { in memory_grow()
39 #[test]
46 OomTest::new().allow_alloc_after_oom(true).test(|| { in memory_ty()
54 #[test]
69 #[test]
84 #[test]
102 #[test]
[all …]
/wasmtime-44.0.1/cranelift/isle/veri/veri_engine/tests/
H A Dveri.rs13 #[test]
38 #[test]
43 #[test]
48 #[test]
53 #[test]
67 #[test]
82 #[test]
97 #[test]
107 #[test]
116 #[test]
[all …]
/wasmtime-44.0.1/tests/misc_testsuite/component-model/
H A Dfixed_length_lists.wast20 (type $ty-test:fixed-size-lists/to-test (;0;)
31 …(import "test:fixed-size-lists/to-test" (instance $test:fixed-size-lists/to-test (;0;) (type $ty-t…
218 (core instance $test:fixed-size-lists/to-test (;1;)
222 (with "test:fixed-size-lists/to-test" (instance $test:fixed-size-lists/to-test))
251 (export "test:fixed-size-lists/to-test#nested-roundtrip" (func 0))
383 …(alias core export $main "test:fixed-size-lists/to-test#nested-roundtrip" (core func $test:fixed-s…
385 (component $test:fixed-size-lists/to-test-shim-component (;0;)
401 …(instance $test:fixed-size-lists/to-test-shim-instance (;0;) (instantiate $test:fixed-size-lists/t…
405 …(export $test:fixed-size-lists/to-test (;1;) "test:fixed-size-lists/to-test" (instance $test:fixed…
411 (alias export 0 "test:fixed-size-lists/to-test" (instance (;1;)))
[all …]
/wasmtime-44.0.1/docs/
H A Dcontributing-testing.md46 You can test a particular Wasmtime crate with `cargo test -p
51 cargo test -p wasmtime-environ
59 cargo test
76 cargo test --test wast
84 cargo test --test wast Cranelift/tests/spec
99 cargo test -p wasmtime-wasi
121 #[cfg(test)]
125 #[test]
132 If you're writing a unit test and a `test` module doesn't already exist, you can
161 cargo test --test wast
[all …]
/wasmtime-44.0.1/crates/test-programs/
H A DREADME.md1 # test-programs
3 This crate contains many different binaries which are built into Wasm test
17 These test programs are executed in `/crates/wasi/tests/api.rs`.
27 These test programs are executed in `/tests/all/cli_tests.rs`.
77 test execution provides this by inheriting the host process stdio in some test
101 host. The test programs are executed in
113 bindings directly in each test. The modules created from these test programs
124 ## Building and executing these test programs
149 Each test suite is given an iterator macro in `test-programs-artifacts` named
158 if a wasmtime developer adds a new test program, they also add a test which
[all …]
/wasmtime-44.0.1/tests/all/
H A Dcli_tests.rs59 #[test]
74 #[test]
91 #[test]
113 #[test]
148 #[test]
173 #[test]
187 #[test]
194 #[test]
216 #[test]
239 #[test]
[all …]
/wasmtime-44.0.1/tests/all/component_model/bindgen/
H A Downership.rs161 #[test]
168 let test = Test::instantiate(&mut store, &component, &linker)?; in owning() localVariable
171 assert_eq!(value, test.lists().call_foo(&mut store, &value)?); in owning()
177 test.thing_in().call_bar(&mut store, &value)?; in owning()
234 #[test]
244 assert_eq!(value, test.lists().call_foo(&mut store, value)?); in borrowing_no_duplication()
250 test.thing_in().call_bar(&mut store, value)?; in borrowing_no_duplication()
308 #[test]
318 assert_eq!(value, test.lists().call_foo(&mut store, value)?); in borrowing_with_duplication()
324 test.thing_in().call_bar(&mut store, value)?; in borrowing_with_duplication()
[all …]
/wasmtime-44.0.1/crates/wizer/tests/all/
H A Dtests.rs119 #[tokio::test]
137 #[tokio::test]
157 #[tokio::test]
183 #[tokio::test]
194 #[tokio::test]
205 #[tokio::test]
216 #[tokio::test]
251 #[tokio::test]
288 #[tokio::test]
322 #[tokio::test]
[all …]
/wasmtime-44.0.1/cranelift/docs/
H A Dtesting.md60 test legalizer
108 ### `test cat`
142 test verifier
166 test print-cfg
167 test verifier
194 test domtree
243 ### `test licm`
250 ### `test dce`
257 ### `test shrink`
281 ### `test run`
[all …]
/wasmtime-44.0.1/tests/
H A Dwast.rs36 test.path.to_str().unwrap() in main()
47 let trial = Trial::test(name, { in main()
48 let test = test.clone(); in main() localVariable
72 for test in tests { in main()
82 &test, in main()
101 &test, in main()
111 if test.test_uses_gc_types() { in main()
113 &test, in main()
136 let test_config = test.config.clone(); in run_wast()
270 if test in run_wast()
[all …]

12345678910>>...157