diff options
| author | Mate Barany <mate.barany@qt.io> | 2025-04-29 15:25:53 +0200 |
|---|---|---|
| committer | Mate Barany <mate.barany@qt.io> | 2025-04-30 16:39:32 +0000 |
| commit | eabdabe7a1e82a21a46bffd2731351c3309f45e0 (patch) | |
| tree | 47532c93c4df960e14b05808eaba561dd5dd0252 | |
| parent | 06cd8c98435c5c778882eb6f1f32e5740bda59e6 (diff) | |
Remove TestUtils.js from qqmltablemodel tests
It seems to be unused.
Pick-to: 6.9 6.8 6.5
Change-Id: I5c6849b01b407e9c8e569baa037c360dd1b88a63
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
| -rw-r--r-- | tests/auto/qml/qqmltablemodel/data/TestModel.qml | 2 | ||||
| -rw-r--r-- | tests/auto/qml/qqmltablemodel/data/TestUtils.js | 20 |
2 files changed, 0 insertions, 22 deletions
diff --git a/tests/auto/qml/qqmltablemodel/data/TestModel.qml b/tests/auto/qml/qqmltablemodel/data/TestModel.qml index 2b41837bac..fbd1690ae1 100644 --- a/tests/auto/qml/qqmltablemodel/data/TestModel.qml +++ b/tests/auto/qml/qqmltablemodel/data/TestModel.qml @@ -3,8 +3,6 @@ import Qt.labs.qmlmodels 1.0 -import "TestUtils.js" as TestUtils - TableModel { id: testModel objectName: "testModel" diff --git a/tests/auto/qml/qqmltablemodel/data/TestUtils.js b/tests/auto/qml/qqmltablemodel/data/TestUtils.js deleted file mode 100644 index f6a5d4bb20..0000000000 --- a/tests/auto/qml/qqmltablemodel/data/TestUtils.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (C) 2019 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only - -function testModelRoleDataProvider(index, role, cellData) { - switch (role) { - case "display": - switch (index.column) { - case 0: - return cellData.name - case 1: - return cellData.age - } - break - case "name": - return cellData.name - case "age": - return cellData.age - } - return cellData -} |
