mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-03 05:12:55 +00:00
Fix a few more occurences of slixtyfps
This commit is contained in:
parent
cfda533b73
commit
7bf6c4826f
4 changed files with 5 additions and 5 deletions
|
|
@ -7,12 +7,12 @@ The testing instructions are in the [testing.md](./testing.md) file.
|
|||
|
||||
### `helper_crates`
|
||||
|
||||
A set of crates that are somehow not strictly related to sixtyfps, and that could be moved to
|
||||
A set of crates that are somehow not strictly related to Slint, and that could be moved to
|
||||
their own repository and have their own version release at some point.
|
||||
|
||||
### `internal`
|
||||
|
||||
`internal` contains code that is not meant to be used directly by a user of sixtyfps.
|
||||
`internal` contains code that is not meant to be used directly by a user of Slint.
|
||||
|
||||
#### `compiler`
|
||||
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ Each program is compiled separately. And then run.
|
|||
|
||||
Some macro like `assert_eq` are defined to look similar o the rust equivalent.
|
||||
|
||||
To run the test, you must make sure to first build the slint shared library:
|
||||
To run the test, you must make sure to first build the slint-cpp shared library:
|
||||
|
||||
```
|
||||
cargo build --lib -p slint-cpp --features testing && cargo test -p test-driver-cpp --
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ window.check_if_pair_solved.setHandler(function () {
|
|||
model.setRowData(tile2_index, tile2);
|
||||
} else {
|
||||
window.disable_tiles = true;
|
||||
sixtyfps.Timer.singleShot(1000, () => {
|
||||
slint.Timer.singleShot(1000, () => {
|
||||
window.disable_tiles = false;
|
||||
tile1.image_visible = false;
|
||||
model.setRowData(tile1_index, tile1);
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ fn generate_macro(
|
|||
testcase: test_driver_lib::TestCase,
|
||||
) -> Result<bool, std::io::Error> {
|
||||
if source.contains("\\{") {
|
||||
// Unfortunately, \{ is not valid in a rust string so it cannot be used in a sixtyfps! macro
|
||||
// Unfortunately, \{ is not valid in a rust string so it cannot be used in a slint! macro
|
||||
output.write_all(b"#[test] #[ignore] fn ignored_because_string_template() {{}}")?;
|
||||
return Ok(false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue