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
56948573
Commit
56948573
authored
Aug 21, 2021
by
Christoph Cullmann
🍨
Browse files
Revert "sessions: fix testcase for anon session"
This reverts commit
785665d8
.
parent
d3f6c156
Changes
1
Hide whitespace changes
Inline
Side-by-side
kate/autotests/session_test.cpp
View file @
56948573
...
...
@@ -49,7 +49,7 @@ void KateSessionTest::create()
void
KateSessionTest
::
createAnonymous
()
{
KateSession
::
Ptr
s
=
KateSession
::
createAnonymous
(
m_tmpfile
->
fileName
());
QCOMPARE
(
s
->
name
(),
Q
Latin1
String
(
"Anonymous"
));
QCOMPARE
(
s
->
name
(),
QString
());
QCOMPARE
((
int
)
s
->
documents
(),
0
);
QCOMPARE
(
s
->
isAnonymous
(),
true
);
QCOMPARE
(
s
->
config
()
->
name
(),
m_tmpfile
->
fileName
());
...
...
@@ -69,7 +69,7 @@ void KateSessionTest::createAnonymousFrom()
// Create Anon from Other
ns
=
KateSession
::
createAnonymousFrom
(
s
,
newFile
.
fileName
());
QCOMPARE
(
ns
->
name
(),
Q
Latin1
String
(
"Anonymous"
));
QCOMPARE
(
ns
->
name
(),
QString
());
QCOMPARE
((
int
)
ns
->
documents
(),
0
);
QCOMPARE
(
ns
->
isAnonymous
(),
true
);
QCOMPARE
(
ns
->
config
()
->
name
(),
newFile
.
fileName
());
...
...
Christoph Cullmann
🍨
@cullmann
mentioned in merge request
!472 (closed)
·
Aug 21, 2021
mentioned in merge request
!472 (closed)
mentioned in merge request !472
Toggle commit list
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