We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 142d192 commit 3e90dc9Copy full SHA for 3e90dc9
2 files changed
gui/test/projectfile/testprojectfile.cpp
@@ -199,5 +199,14 @@ void TestProjectFile::getCheckingSuppressionsStar() const
199
QCOMPARE(projectFile.getCheckingSuppressions()[0].fileName, "*.cpp");
200
}
201
202
+void TestProjectFile::emptyUserInclude() const
203
+{
204
+ ProjectFile projectFile;
205
+ Settings settings;
206
+ projectFile.setUserInclude("");
207
+ projectFile.setSettingsUserIncludes(settings);
208
+ QCOMPARE(settings.userIncludes.size(), 0);
209
+}
210
+
211
QTEST_MAIN(TestProjectFile)
212
gui/test/projectfile/testprojectfile.h
@@ -36,4 +36,6 @@ private slots:
36
void getCheckingSuppressionsRelative() const;
37
void getCheckingSuppressionsAbsolute() const;
38
void getCheckingSuppressionsStar() const;
39
40
+ void emptyUserInclude() const;
41
};
0 commit comments