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
960a248d
Commit
960a248d
authored
Sep 03, 2010
by
Piotr Caban
Committed by
Alexandre Julliard
Sep 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90/tests: Fix basic_string<wchar_t>.size tests.
parent
2f398b8c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
string.c
dlls/msvcp90/tests/string.c
+3
-3
No files found.
dlls/msvcp90/tests/string.c
View file @
960a248d
...
...
@@ -407,7 +407,7 @@ static void test_basic_string_wchar(void) {
ok
(
!
memcmp
(
str
,
test
,
5
*
sizeof
(
wchar_t
)),
"str = %s
\n
"
,
wine_dbgstr_w
(
str
));
str
=
call_func1
(
p_basic_string_wchar_data
,
&
str1
);
ok
(
!
memcmp
(
str
,
test
,
5
*
sizeof
(
wchar_t
)),
"str = %s
\n
"
,
wine_dbgstr_w
(
str
));
size
=
(
size_t
)
call_func1
(
p_basic_string_char_size
,
&
str1
);
size
=
(
size_t
)
call_func1
(
p_basic_string_
w
char_size
,
&
str1
);
ok
(
size
==
4
,
"size = %lu
\n
"
,
(
unsigned
long
)
size
);
memset
(
&
str2
,
0
,
sizeof
(
basic_string_wchar
));
...
...
@@ -423,7 +423,7 @@ static void test_basic_string_wchar(void) {
ok
(
str
[
0
]
==
't'
&&
str
[
1
]
==
't'
&&
str
[
2
]
==
'\0'
,
"str = %s
\n
"
,
wine_dbgstr_w
(
str
));
str
=
call_func1
(
p_basic_string_wchar_data
,
&
str2
);
ok
(
str
[
0
]
==
't'
&&
str
[
1
]
==
't'
&&
str
[
2
]
==
'\0'
,
"str = %s
\n
"
,
wine_dbgstr_w
(
str
));
size
=
(
size_t
)
call_func1
(
p_basic_string_char_size
,
&
str1
);
size
=
(
size_t
)
call_func1
(
p_basic_string_
w
char_size
,
&
str1
);
ok
(
size
==
4
,
"size = %lu
\n
"
,
(
unsigned
long
)
size
);
call_func3
(
p_basic_string_wchar_erase
,
&
str2
,
1
,
100
);
...
...
@@ -431,7 +431,7 @@ static void test_basic_string_wchar(void) {
ok
(
str
[
0
]
==
't'
&&
str
[
1
]
==
'\0'
,
"str = %s
\n
"
,
wine_dbgstr_w
(
str
));
str
=
call_func1
(
p_basic_string_wchar_data
,
&
str2
);
ok
(
str
[
0
]
==
't'
&&
str
[
1
]
==
'\0'
,
"str = %s
\n
"
,
wine_dbgstr_w
(
str
));
size
=
(
size_t
)
call_func1
(
p_basic_string_char_size
,
&
str1
);
size
=
(
size_t
)
call_func1
(
p_basic_string_
w
char_size
,
&
str1
);
ok
(
size
==
4
,
"size = %lu
\n
"
,
(
unsigned
long
)
size
);
call_func3
(
p_basic_string_wchar_assign_cstr_len
,
&
str2
,
test
,
4
);
...
...
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