Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
02b50a9d
Commit
02b50a9d
authored
Oct 22, 2022
by
Christoph Cullmann
🍨
Browse files
ensure unit tests use own dummy config
parent
f051f32e
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/lib/autotests/kate_view_mgmt_tests.cpp
View file @
02b50a9d
...
...
@@ -27,6 +27,9 @@ KateViewManagementTests::KateViewManagementTests(QObject *)
m_tempdir
=
new
QTemporaryDir
;
QVERIFY
(
m_tempdir
->
isValid
());
// ensure we use some dummy config
KConfig
::
setMainConfigName
(
m_tempdir
->
path
()
+
QStringLiteral
(
"/testconfigfilerc"
));
// create KWrite variant to avoid plugin loading!
static
QCommandLineParser
parser
;
app
=
std
::
make_unique
<
KateApp
>
(
parser
,
KateApp
::
ApplicationKWrite
,
m_tempdir
->
path
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment