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 { AboutSlint } from "std-widgets.slint";
5
6export component TestCase inherits Window {
7 about := AboutSlint { }
8}
9
10
11/*
12```rust
13use i_slint_backend_testing::AccessibleRole;
14
15let instance = TestCase::new().unwrap();
16
17let mut image_search = slint_testing::ElementHandle::find_by_accessible_label(&instance, "#MadeWithSlint");
18let image = image_search.next().unwrap();
19
20assert_eq!(image.accessible_role(), Some(AccessibleRole::Image));
21```
22*/
23