aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/testdata
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-05-27 17:05:38 +0200
committerJoerg Bornemann <joerg.bornemann@digia.com>2014-06-02 11:46:44 +0200
commitd79628572eb4f89f243742394622007e2a27d0a8 (patch)
tree84a314345524a5a39bf5a4b07e82d8f4cea131f3 /tests/auto/api/testdata
parent5c388a1e76e03e5afe30c7b5aa18ad272cba2e49 (diff)
Fix "Add Files" functionality.
This was broken for the case of a product with no existing binding, even accessing a null pointer. This is also covered by the autotest now. Change-Id: I088dbac08627b08f903dbe77bd824997592adb09 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/api/testdata')
-rw-r--r--tests/auto/api/testdata/project-editing/project-with-no-files.qbs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/api/testdata/project-editing/project-with-no-files.qbs b/tests/auto/api/testdata/project-editing/project-with-no-files.qbs
new file mode 100644
index 000000000..824ae6dcd
--- /dev/null
+++ b/tests/auto/api/testdata/project-editing/project-with-no-files.qbs
@@ -0,0 +1,7 @@
+import qbs
+
+CppApplication {
+ Group {
+ files: "file.cpp"
+ }
+}