aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/testdata
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2013-11-14 11:14:26 +0100
committerChristian Kandeler <christian.kandeler@digia.com>2013-11-20 14:54:32 +0100
commit4bdfb786b4120165615cde287e917a802b32d31d (patch)
treedc74ed7b704971145e07b411f6309dcfccb8df18 /tests/auto/api/testdata
parent9d0a5b9ac770ca69fcb198ceaf02a39f3c72f6a2 (diff)
Add API for adding groups and files.
This is a necessary feature for proper IDE support. Change-Id: I296beb5beae514f70babf3da1b5544726e9df82e Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/api/testdata')
-rw-r--r--tests/auto/api/testdata/project-editing/existingfile1.txt0
-rw-r--r--tests/auto/api/testdata/project-editing/existingfile2.txt0
-rw-r--r--tests/auto/api/testdata/project-editing/existingfile3.txt0
-rw-r--r--tests/auto/api/testdata/project-editing/file.cpp0
-rw-r--r--tests/auto/api/testdata/project-editing/file.h0
-rw-r--r--tests/auto/api/testdata/project-editing/main.cpp0
-rw-r--r--tests/auto/api/testdata/project-editing/newfile1.txt0
-rw-r--r--tests/auto/api/testdata/project-editing/newfile2.txt0
-rw-r--r--tests/auto/api/testdata/project-editing/newfile3.txt0
-rw-r--r--tests/auto/api/testdata/project-editing/newfile4.txt0
-rw-r--r--tests/auto/api/testdata/project-editing/project.qbs21
11 files changed, 21 insertions, 0 deletions
diff --git a/tests/auto/api/testdata/project-editing/existingfile1.txt b/tests/auto/api/testdata/project-editing/existingfile1.txt
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/auto/api/testdata/project-editing/existingfile1.txt
diff --git a/tests/auto/api/testdata/project-editing/existingfile2.txt b/tests/auto/api/testdata/project-editing/existingfile2.txt
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/auto/api/testdata/project-editing/existingfile2.txt
diff --git a/tests/auto/api/testdata/project-editing/existingfile3.txt b/tests/auto/api/testdata/project-editing/existingfile3.txt
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/auto/api/testdata/project-editing/existingfile3.txt
diff --git a/tests/auto/api/testdata/project-editing/file.cpp b/tests/auto/api/testdata/project-editing/file.cpp
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/auto/api/testdata/project-editing/file.cpp
diff --git a/tests/auto/api/testdata/project-editing/file.h b/tests/auto/api/testdata/project-editing/file.h
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/auto/api/testdata/project-editing/file.h
diff --git a/tests/auto/api/testdata/project-editing/main.cpp b/tests/auto/api/testdata/project-editing/main.cpp
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/auto/api/testdata/project-editing/main.cpp
diff --git a/tests/auto/api/testdata/project-editing/newfile1.txt b/tests/auto/api/testdata/project-editing/newfile1.txt
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/auto/api/testdata/project-editing/newfile1.txt
diff --git a/tests/auto/api/testdata/project-editing/newfile2.txt b/tests/auto/api/testdata/project-editing/newfile2.txt
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/auto/api/testdata/project-editing/newfile2.txt
diff --git a/tests/auto/api/testdata/project-editing/newfile3.txt b/tests/auto/api/testdata/project-editing/newfile3.txt
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/auto/api/testdata/project-editing/newfile3.txt
diff --git a/tests/auto/api/testdata/project-editing/newfile4.txt b/tests/auto/api/testdata/project-editing/newfile4.txt
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/auto/api/testdata/project-editing/newfile4.txt
diff --git a/tests/auto/api/testdata/project-editing/project.qbs b/tests/auto/api/testdata/project-editing/project.qbs
new file mode 100644
index 000000000..1d7704fe6
--- /dev/null
+++ b/tests/auto/api/testdata/project-editing/project.qbs
@@ -0,0 +1,21 @@
+import qbs
+
+CppApplication {
+ Group {
+ name: "Existing Group 1"
+ files: ["existingfile1.txt"]
+ }
+ property string aFile: "existingfile2.txt"
+ Group {
+ name: "Existing Group 2"
+ files: product.aFile
+ }
+ Group {
+ name: "Existing Group 3"
+ files: {
+ var file = "existingfile3.txt";
+ return file;
+ }
+ }
+ files: "main.cpp"
+}