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
3775219a
Commit
3775219a
authored
Aug 19, 2010
by
Thomas Mullaly
Committed by
Alexandre Julliard
Aug 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon/tests: Fixed bug where tests might succeed before the function is implemented.
parent
abafd9f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
+18
-14
uri.c
dlls/urlmon/tests/uri.c
+18
-14
No files found.
dlls/urlmon/tests/uri.c
View file @
3775219a
...
...
@@ -5364,14 +5364,16 @@ static void test_IUriBuilder_GetFragment(IUriBuilder *builder, const uri_builder
"Error: IUriBuilder_GetFragment returned 0x%08x, expected 0x%08x on uri_builder_tests[%d].
\n
"
,
hr
,
(
expected
?
S_OK
:
S_FALSE
),
test_index
);
}
todo_wine
{
ok
(
!
strcmp_aw
(
expected
,
received
),
"Error: Expected %s but got %s on uri_builder_tests[%d].
\n
"
,
expected
,
wine_dbgstr_w
(
received
),
test_index
);
}
todo_wine
{
ok
(
lstrlen
(
expected
)
==
len
,
"Error: Expected the length to be %d, but was %d instead on uri_builder_tests[%d].
\n
"
,
lstrlen
(
expected
),
len
,
test_index
);
if
(
SUCCEEDED
(
hr
))
{
todo_wine
{
ok
(
!
strcmp_aw
(
expected
,
received
),
"Error: Expected %s but got %s on uri_builder_tests[%d].
\n
"
,
expected
,
wine_dbgstr_w
(
received
),
test_index
);
}
todo_wine
{
ok
(
lstrlen
(
expected
)
==
len
,
"Error: Expected the length to be %d, but was %d instead on uri_builder_tests[%d].
\n
"
,
lstrlen
(
expected
),
len
,
test_index
);
}
}
}
else
{
ok
(
hr
==
(
expected
?
S_OK
:
S_FALSE
),
...
...
@@ -5429,12 +5431,14 @@ static void test_IUriBuilder_GetFragment(IUriBuilder *builder, const uri_builder
"Error: IUriBuilder_GetFragment returned 0x%08x, expected 0x%08x on uri_builder_tests[%d].
\n
"
,
hr
,
S_FALSE
,
test_index
);
}
todo_wine
{
ok
(
!
received
,
"Error: Expected received to be NULL on uri_builder_tests[%d].
\n
"
,
test_index
);
}
todo_wine
{
ok
(
!
len
,
"Error: Expected the length to be 0, but was %d instead on uri_builder_tests[%d].
\n
"
,
len
,
test_index
);
if
(
SUCCEEDED
(
hr
))
{
todo_wine
{
ok
(
!
received
,
"Error: Expected received to be NULL on uri_builder_tests[%d].
\n
"
,
test_index
);
}
todo_wine
{
ok
(
!
len
,
"Error: Expected the length to be 0, but was %d instead on uri_builder_tests[%d].
\n
"
,
len
,
test_index
);
}
}
}
SysFreeString
(
expected
);
...
...
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