1// Copyright © SixtyFPS GmbH <info@slint.dev>
2// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
3
4import { A, B } from "../../helper_components/issue_6651_implicit_export.slint";
5
6export component TestCase inherits Window {
7 in-out property <bool> test: B.ok;
8 A { }
9}
10
11/*
12```rust
13let instance = TestCase::new().unwrap();
14assert!(instance.get_test());
15```
16
17```cpp
18auto handle = TestCase::create();
19const TestCase &instance = *handle;
20assert(instance.get_test());
21```
22
23```js
24let instance = new slint.TestCase({});
25assert(instance.test, 1);
26```
27
28*/
29