summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2013-11-06 15:59:44 +0100
committerChristian Kandeler <christian.kandeler@digia.com>2013-11-07 16:14:39 +0100
commitd9c0be935136b3e26e7d7a47d89d28541462d83a (patch)
tree8b1dc82cfac94e35dd52c167ce374fb16d1c69cb /tests
parent1eef762389a803b176bef41b5d19c2b42250d0c8 (diff)
downloadqbs-d9c0be935136b3e26e7d7a47d89d28541462d83a.tar.gz
Rename getenv and putenv to getEnv and putEnv, respectively.
We use camel case everywhere else. Change-Id: I8a67f1d44659d59e612c0eaced0628c6d34d5b47 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/blackbox/testdata/propertyChanges/project.qbs2
-rw-r--r--tests/auto/blackbox/testdata/trackExternalProductChanges/project.qbs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/blackbox/testdata/propertyChanges/project.qbs b/tests/auto/blackbox/testdata/propertyChanges/project.qbs
index 4be63101f..d1f0ab5ee 100644
--- a/tests/auto/blackbox/testdata/propertyChanges/project.qbs
+++ b/tests/auto/blackbox/testdata/propertyChanges/project.qbs
@@ -16,7 +16,7 @@ Project {
}
CppApplication {
name: "product 3"
- cpp.defines: qbs.getenv("QBS_BLACKBOX_DEFINE")
+ cpp.defines: qbs.getEnv("QBS_BLACKBOX_DEFINE")
files: "source3.cpp"
}
DynamicLibrary {
diff --git a/tests/auto/blackbox/testdata/trackExternalProductChanges/project.qbs b/tests/auto/blackbox/testdata/trackExternalProductChanges/project.qbs
index 8ed267fa5..6b4bfa951 100644
--- a/tests/auto/blackbox/testdata/trackExternalProductChanges/project.qbs
+++ b/tests/auto/blackbox/testdata/trackExternalProductChanges/project.qbs
@@ -3,7 +3,7 @@ import qbs.File
import "fileList.js" as FileList
CppApplication {
- property pathList filesFromEnv: qbs.getenv("QBS_TEST_PULL_IN_FILE_VIA_ENV") ? ["environmentChange.cpp"] : []
+ property pathList filesFromEnv: qbs.getEnv("QBS_TEST_PULL_IN_FILE_VIA_ENV") ? ["environmentChange.cpp"] : []
property pathList filesFromJs: FileList.fileList()
property pathList filesFromFs: File.exists(path + "/fileExists.cpp") ? ["fileExists.cpp"] : []
files: ["main.cpp"].concat(filesFromJs).concat(filesFromEnv).concat(filesFromFs)