1#![allow(deprecated)]slint::slint!{#[include_path=r#"/input/slint/tests/driver/driverlib/../../cases"#]
2// Copyright © SixtyFPS GmbH <info@slint.dev>
3// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
4
5TestCase := Rectangle {
6
7}
8
9/*
10```cpp
11TestCase::create();
12```
13
14```rust
15TestCase::new().unwrap();
16```
17
18```js
19var x = new slint.TestCase({});
20```
21
22*/
23}
24
25#[test] fn t_0() -> std::result::Result<(), std::boxed::Box<dyn std::error::Error>> {
26 use i_slint_backend_testing as slint_testing;
27 slint_testing::init();
28 TestCase::new().unwrap();
29 Ok(())
30}