Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
KDE Libraries
Commits
2fe7332d
Commit
2fe7332d
authored
Apr 30, 2011
by
Maks Orlovich
Browse files
Fix testregression build with fastappend on.
parent
a9b4a1fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
khtml/test_regression.cpp
View file @
2fe7332d
...
...
@@ -1530,7 +1530,7 @@ void RegressionTest::testStaticFile(const QString & filename)
return
;
}
KJS
::
Completion
comp2
=
m_part
->
jScriptInterpreter
()
->
evaluate
(
filename
,
0
,
"setUpPage(); "
+
functionname
+
"();"
);
KJS
::
Completion
comp2
=
m_part
->
jScriptInterpreter
()
->
evaluate
(
filename
,
0
,
QString
(
"setUpPage(); "
+
functionname
+
"();"
)
);
bool
success
=
(
comp2
.
complType
()
==
ReturnValue
||
comp2
.
complType
()
==
Normal
);
QString
description
=
"DOMTS"
;
if
(
comp2
.
complType
()
==
Throw
)
{
...
...
khtml/test_regression_gui_window.cpp
View file @
2fe7332d
...
...
@@ -1151,7 +1151,7 @@ void TestRegressionWindow::updateLogOutput(const QString &data)
if
(
!
fileExists
)
file
.
write
(
QString
::
fromLatin1
(
"<html>
\n
<body>
\n
"
).
toAscii
());
file
.
write
((
data
+
"
\n
"
).
toAscii
());
//krazy:exclude=duoblequote_chars DOM demands chars
file
.
write
(
QString
(
data
+
"
\n
"
).
toAscii
());
//krazy:exclude=duoblequote_chars DOM demands chars
file
.
close
();
// Reset save log url, if we reached the end...
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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