summaryrefslogtreecommitdiff
path: root/src/lib/language/tst_language.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/language/tst_language.cpp')
-rw-r--r--src/lib/language/tst_language.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/language/tst_language.cpp b/src/lib/language/tst_language.cpp
index dfe743c1f..20a977d70 100644
--- a/src/lib/language/tst_language.cpp
+++ b/src/lib/language/tst_language.cpp
@@ -190,6 +190,20 @@ void TestLanguage::buildConfigStringListSyntax()
QCOMPARE(exceptionCaught, false);
}
+void TestLanguage::builtinFunctionInSearchPathsProperty()
+{
+ bool exceptionCaught = false;
+ try {
+ SetupProjectParameters parameters = defaultParameters;
+ parameters.setProjectFilePath(testProject("builtinFunctionInSearchPathsProperty.qbs"));
+ QVERIFY(loader->loadProject(parameters));
+ } catch (const ErrorInfo &e) {
+ exceptionCaught = true;
+ qDebug() << e.toString();
+ }
+ QCOMPARE(exceptionCaught, false);
+}
+
void TestLanguage::conditionalDepends()
{
bool exceptionCaught = false;