Remove test that don't pass because not all drivers are run in the same level

this fails to the nodejs driver because its workdir is not nested the
same way that other driver
This commit is contained in:
Olivier Goffart 2023-07-21 16:44:23 +02:00 committed by Olivier Goffart
parent 5dea1f1d29
commit edee63c8c6
2 changed files with 0 additions and 36 deletions

View file

@ -1,29 +0,0 @@
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
//include_path: ../../helper_components
import { ExportedGlobal } from "export_globals.slint";
import { G } from "exported_issue_2719.slint";
export component TestCase {
init => {
ExportedGlobal.foo = 999;
}
out property <int> g1: G.foo;
out property <int> g2: ExportedGlobal.foo;
out property <bool> test: G.foo == 999;
}
/*
```cpp
auto handle = TestCase::create();
const TestCase &instance = *handle;
assert(instance.get_test());
```
```rust
let instance = TestCase::new().unwrap();
assert!(instance.get_test());
```
*/

View file

@ -1,7 +0,0 @@
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
// This loads the file relative which is deprecated now, but used to cause duplicated import (bug #2719)
import { ExportedGlobal as G } from "../../helper_components/export_globals.slint";
export { G }