File: subclass_compiletest.rs

package info (click to toggle)
rust-glib 0.20.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,308 kB
  • sloc: makefile: 18
file content (13 lines) | stat: -rw-r--r-- 590 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#[test]
pub fn test() {
    let t = trybuild2::TestCases::new();

    t.pass("tests/subclass_compiletest/01-auto-send-sync.rs");
    t.compile_fail("tests/subclass_compiletest/02-no-auto-send-sync.rs");
    t.compile_fail("tests/subclass_compiletest/03-object-no-auto-send-sync.rs");
    t.pass("tests/subclass_compiletest/04-auto-send-sync-with-send-sync-parent.rs");
    t.compile_fail("tests/subclass_compiletest/05-no-auto-send-sync-with-non-send-sync-parent.rs");
    t.compile_fail(
        "tests/subclass_compiletest/06-no-auto-send-sync-with-non-send-sync-ffi-parent.rs",
    );
}