Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3f276c83
Commit
3f276c83
authored
Aug 16, 2023
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 16, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe/tests: Use less strict checks in session count tests.
parent
3ac808e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
webbrowser.c
dlls/ieframe/tests/webbrowser.c
+7
-7
No files found.
dlls/ieframe/tests/webbrowser.c
View file @
3f276c83
...
...
@@ -4434,22 +4434,22 @@ static void test_SetAdvise(void)
static
void
test_SetQueryNetSessionCount
(
void
)
{
LONG
count
,
init_count
;
LONG
count
,
init_count
,
inc_count
,
dec_count
;
init_count
=
pSetQueryNetSessionCount
(
SESSION_QUERY
);
trace
(
"init_count %ld
\n
"
,
init_count
);
count
=
pSetQueryNetSessionCount
(
SESSION_INCREMENT
);
ok
(
count
==
init_count
+
1
,
"count = %ld
\n
"
,
count
);
inc_
count
=
pSetQueryNetSessionCount
(
SESSION_INCREMENT
);
ok
(
inc_count
>
init_count
,
"count = %ld
\n
"
,
inc_
count
);
count
=
pSetQueryNetSessionCount
(
SESSION_QUERY
);
ok
(
count
==
in
it_count
+
1
,
"count = %ld
\n
"
,
count
);
ok
(
count
==
in
c_count
,
"count = %ld
\n
"
,
count
);
count
=
pSetQueryNetSessionCount
(
SESSION_DECREMENT
);
ok
(
count
==
init_count
,
"count = %ld
\n
"
,
count
);
dec_
count
=
pSetQueryNetSessionCount
(
SESSION_DECREMENT
);
ok
(
dec_count
<
inc_count
,
"count = %ld
\n
"
,
dec_
count
);
count
=
pSetQueryNetSessionCount
(
SESSION_QUERY
);
ok
(
count
==
init
_count
,
"count = %ld
\n
"
,
count
);
ok
(
count
==
dec
_count
,
"count = %ld
\n
"
,
count
);
}
static
HRESULT
WINAPI
outer_QueryInterface
(
IUnknown
*
iface
,
REFIID
riid
,
void
**
ppv
)
...
...
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