mirror of
https://github.com/fluencelabs/marine-rs-sdk-test
synced 2025-05-25 05:31:27 +00:00
24 lines
1.4 KiB
Rust
24 lines
1.4 KiB
Rust
|
#[test]
|
||
|
fn test() {
|
||
|
let tests = trybuild::TestCases::new();
|
||
|
tests.compile_fail("tests/compilation_tests/export_functions/array_inner_refs.rs");
|
||
|
tests.pass("tests/compilation_tests/export_functions/arrays.rs");
|
||
|
tests.pass("tests/compilation_tests/export_functions/ref_arrays.rs");
|
||
|
tests.pass("tests/compilation_tests/export_functions/basic_types.rs");
|
||
|
tests.pass("tests/compilation_tests/export_functions/ref_basic_types.rs");
|
||
|
tests.compile_fail("tests/compilation_tests/export_functions/improper_types.rs");
|
||
|
|
||
|
tests.compile_fail("tests/compilation_tests/import_functions/arrays_out_inner_refs.rs");
|
||
|
tests.pass("tests/compilation_tests/import_functions/arrays.rs");
|
||
|
tests.pass("tests/compilation_tests/import_functions/ref_arrays.rs");
|
||
|
tests.pass("tests/compilation_tests/import_functions/basic_types.rs");
|
||
|
tests.pass("tests/compilation_tests/import_functions/ref_basic_types.rs");
|
||
|
tests.compile_fail("tests/compilation_tests/import_functions/improper_types.rs");
|
||
|
|
||
|
tests.pass("tests/compilation_tests/records/basic_structs.rs");
|
||
|
tests.pass("tests/compilation_tests/records/empty_struct.rs");
|
||
|
tests.compile_fail("tests/compilation_tests/records/struct_with_improper_types.rs");
|
||
|
tests.compile_fail("tests/compilation_tests/records/struct_with_private_fields.rs");
|
||
|
tests.compile_fail("tests/compilation_tests/records/unnamed_structs.rs");
|
||
|
}
|