rpstate 0.5.1

Type-safe reactive persistence for Rust GUI apps
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[cfg(feature = "redb")]
#[test]
fn test_macro_expansion_compilation() {
    let t = trybuild::TestCases::new();
    t.pass("tests/expand/basic.rs");
    t.pass("tests/expand/nested.rs");
    t.pass("tests/expand/composition.rs");
    t.pass("tests/expand/external_linked_nested.rs");
    t.pass("tests/expand/map_syntax.rs");

    t.compile_fail("tests/fails/lookup_wrong_name.rs");
    t.compile_fail("tests/fails/lookup_type_mismatch.rs");
    t.compile_fail("tests/fails/lookup_write_violation.rs");
    t.compile_fail("tests/fails/lookup_deep_error.rs");
    t.compile_fail("tests/fails/lookup_node_not_struct.rs");
}