Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
feb6b25b
Commit
feb6b25b
authored
Oct 20, 2016
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(utils.spec.qml): add missing `.` and test if `dialog` is not returned in `test_openDialog`
parent
32dc8354
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
utils.spec.qml
tests/ui/scripts/Utils/utils.spec.qml
+8
-4
No files found.
tests/ui/scripts/Utils/utils.spec.qml
View file @
feb6b25b
...
...
@@ -26,6 +26,10 @@ TestCase {
fail
(
e
)
}
if
(
dialog
==
null
)
{
fail
(
'
`dialog` is not returned
'
)
}
dialog
.
close
()
}
...
...
@@ -70,13 +74,13 @@ TestCase {
})
if
(
!
failed
)
{
fail
(
'
`setTimeout` callback was called before `wait`
'
)
fail
(
'
`setTimeout` callback was called before `wait`
.
'
)
}
wait
(
200
)
if
(
failed
)
{
fail
(
'
`setTimeout` failed because callback it was not called in due course
'
)
fail
(
'
`setTimeout` failed because callback it was not called in due course
.
'
)
}
}
...
...
@@ -101,14 +105,14 @@ TestCase {
})
if
(
failed
)
{
fail
(
'
`setTimeout` callback was called
'
)
fail
(
'
`setTimeout` callback was called
before `wait`.
'
)
}
Utils
.
clearTimeout
(
timeout
)
wait
(
100
)
if
(
failed
)
{
fail
(
'
`setTimeout` callback was called
'
)
fail
(
'
`setTimeout` callback was called
after `wait`.
'
)
}
}
...
...
Write
Preview
Markdown
is supported
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