File: 2003_adapt-import-paths-in-unittests.patch

package info (click to toggle)
lomiri-camera-app 4.1.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,792 kB
  • sloc: cpp: 1,730; javascript: 27; makefile: 22; python: 22; sh: 12
file content (53 lines) | stat: -rw-r--r-- 1,425 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Description: tests/unittests/: Amend import paths for unittests after source tree restructurings.
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Forwarded: not-needed, Debian-specific

--- a/tests/unittests/tst_BottomEdgeIndicators.qml
+++ b/tests/unittests/tst_BottomEdgeIndicators.qml
@@ -17,8 +17,7 @@
 
 import QtQuick 2.12
 import QtTest 1.0
-import "../../"
-import "../../.." //Needed for out of source build
+import "../../../qml/components/"
 
 TestCase {
     name: "BottomEdgeIndicators"
--- a/tests/unittests/tst_PhotogridView.qml
+++ b/tests/unittests/tst_PhotogridView.qml
@@ -17,8 +17,7 @@
 
 import QtQuick 2.12
 import QtTest 1.0
-import "../../"
-import "../../.." //Needed for out of source build
+import "../../../qml/components/"
 
 TestCase {
     name: "PhotogridView"
--- a/tests/unittests/tst_StopWatch.qml
+++ b/tests/unittests/tst_StopWatch.qml
@@ -17,8 +17,7 @@
 
 import QtQuick 2.12
 import QtTest 1.0
-import "../../"
-import "../../.." //Needed for out of source build
+import "../../../qml/components/"
 
 TestCase {
     name: "StopWatch"
--- a/tests/unittests/tst_ViewFinderGeometry.qml
+++ b/tests/unittests/tst_ViewFinderGeometry.qml
@@ -17,8 +17,8 @@
 
 import QtQuick 2.12
 import QtTest 1.0
-import "../../"
-import "../../.." //Needed for out of source build
+import "../../../qml/components/"
+import "../../../qml/Viewfinder/"
 
 TestCase {
     name: "ViewFinderGeometry"