mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 20:41:24 +00:00
Migrate webidl
tests to wasm_bindgen_test
(#590)
This commit moves the `webidl/tests` folder to a new `crates/webidl-tests` crate (to have a test-only build script) and ports them to the `#[wasm_bindgen_test]` attribute, which should hopefully make testing much speedier for execution!
This commit is contained in:
16
crates/webidl-tests/array.webidl
vendored
Normal file
16
crates/webidl-tests/array.webidl
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
[Constructor()]
|
||||
interface TestArrays {
|
||||
DOMString strings(DOMString arg1);
|
||||
ByteString byteStrings(ByteString arg1);
|
||||
USVString usvStrings(USVString arg1);
|
||||
|
||||
Float32Array f32(Float32Array a);
|
||||
Float64Array f64(Float64Array a);
|
||||
Int8Array i8(Int8Array a);
|
||||
Int16Array i16(Int16Array a);
|
||||
Int32Array i32(Int32Array a);
|
||||
Uint8Array u8(Uint8Array a);
|
||||
Uint8ClampedArray u8Clamped(Uint8ClampedArray a);
|
||||
Uint16Array u16(Uint16Array a);
|
||||
Uint32Array u32(Uint32Array a);
|
||||
};
|
Reference in New Issue
Block a user