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
5fac8fb5
Commit
5fac8fb5
authored
Mar 26, 2021
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe/tests: Allow non-zero initial session counter value.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ac0c8e80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
webbrowser.c
dlls/ieframe/tests/webbrowser.c
+7
-10
No files found.
dlls/ieframe/tests/webbrowser.c
View file @
5fac8fb5
...
...
@@ -4419,25 +4419,22 @@ static void test_SetAdvise(void)
static
void
test_SetQueryNetSessionCount
(
void
)
{
LONG
count
;
LONG
count
,
init_count
;
count
=
pSetQueryNetSessionCount
(
SESSION_QUERY
);
ok
(
count
==
0
,
"count = %d
\n
"
,
count
);
init_
count
=
pSetQueryNetSessionCount
(
SESSION_QUERY
);
trace
(
"init_count %d
\n
"
,
init_
count
);
count
=
pSetQueryNetSessionCount
(
SESSION_INCREMENT
);
ok
(
count
==
1
,
"count = %d
\n
"
,
count
);
ok
(
count
==
init_count
+
1
,
"count = %d
\n
"
,
count
);
count
=
pSetQueryNetSessionCount
(
SESSION_QUERY
);
ok
(
count
==
1
,
"count = %d
\n
"
,
count
);
count
=
pSetQueryNetSessionCount
(
0xdeadbeef
);
ok
(
count
==
0
,
"count = %d
\n
"
,
count
);
ok
(
count
==
init_count
+
1
,
"count = %d
\n
"
,
count
);
count
=
pSetQueryNetSessionCount
(
SESSION_DECREMENT
);
ok
(
count
==
0
,
"count = %d
\n
"
,
count
);
ok
(
count
==
init_count
,
"count = %d
\n
"
,
count
);
count
=
pSetQueryNetSessionCount
(
SESSION_QUERY
);
ok
(
count
==
0
,
"count = %d
\n
"
,
count
);
ok
(
count
==
init_count
,
"count = %d
\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