Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
77f68e30
Commit
77f68e30
authored
Aug 24, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi/tests: Fix the spelling of IID_Endianness.
parent
5197ab4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
clsid.c
dlls/shlwapi/tests/clsid.c
+8
-8
No files found.
dlls/shlwapi/tests/clsid.c
View file @
77f68e30
...
...
@@ -96,7 +96,7 @@ static const GUID * TEST_guids[] = {
NULL
};
DEFINE_GUID
(
IID_Endianess
,
0x01020304
,
0x0506
,
0x0708
,
0x09
,
0x0A
,
0x0B
,
DEFINE_GUID
(
IID_Endian
n
ess
,
0x01020304
,
0x0506
,
0x0708
,
0x09
,
0x0A
,
0x0B
,
0x0C
,
0x0D
,
0x0E
,
0x0F
,
0x0A
);
static
void
test_ClassIDs
(
void
)
...
...
@@ -129,25 +129,25 @@ static void test_ClassIDs(void)
}
/* Test endianness */
dwLen
=
pSHLWAPI_23
(
&
IID_Endianess
,
szBuff
,
256
);
ok
(
dwLen
==
(
is_vista
?
S_OK
:
39
),
"wrong size %u for IID_Endianess
\n
"
,
dwLen
);
dwLen
=
pSHLWAPI_23
(
&
IID_Endian
n
ess
,
szBuff
,
256
);
ok
(
dwLen
==
(
is_vista
?
S_OK
:
39
),
"wrong size %u for IID_Endian
n
ess
\n
"
,
dwLen
);
ok
(
!
strcmp
(
szBuff
,
"{01020304-0506-0708-090A-0B0C0D0E0F0A}"
),
"Endianess Broken, got '%s'
\n
"
,
szBuff
);
"Endian
n
ess Broken, got '%s'
\n
"
,
szBuff
);
/* test lengths */
szBuff
[
0
]
=
':'
;
dwLen
=
pSHLWAPI_23
(
&
IID_Endianess
,
szBuff
,
0
);
dwLen
=
pSHLWAPI_23
(
&
IID_Endian
n
ess
,
szBuff
,
0
);
ok
(
dwLen
==
(
is_vista
?
E_FAIL
:
0
),
"accepted bad length
\n
"
);
ok
(
szBuff
[
0
]
==
':'
,
"wrote to buffer with no length
\n
"
);
szBuff
[
0
]
=
':'
;
dwLen
=
pSHLWAPI_23
(
&
IID_Endianess
,
szBuff
,
38
);
dwLen
=
pSHLWAPI_23
(
&
IID_Endian
n
ess
,
szBuff
,
38
);
ok
(
dwLen
==
(
is_vista
?
E_FAIL
:
0
),
"accepted bad length
\n
"
);
ok
(
szBuff
[
0
]
==
':'
,
"wrote to buffer with no length
\n
"
);
szBuff
[
0
]
=
':'
;
dwLen
=
pSHLWAPI_23
(
&
IID_Endianess
,
szBuff
,
39
);
dwLen
=
pSHLWAPI_23
(
&
IID_Endian
n
ess
,
szBuff
,
39
);
ok
(
dwLen
==
(
is_vista
?
S_OK
:
39
),
"rejected ok length
\n
"
);
ok
(
szBuff
[
0
]
==
'{'
,
"Didn't write to buffer with ok length
\n
"
);
...
...
@@ -156,7 +156,7 @@ static void test_ClassIDs(void)
bRet
=
pSHLWAPI_269
(
szBuff
,
&
guid
);
ok
(
bRet
==
FALSE
,
"accepted invalid string
\n
"
);
dwLen
=
pSHLWAPI_23
(
&
IID_Endianess
,
szBuff
,
39
);
dwLen
=
pSHLWAPI_23
(
&
IID_Endian
n
ess
,
szBuff
,
39
);
ok
(
dwLen
==
(
is_vista
?
S_OK
:
39
),
"rejected ok length
\n
"
);
ok
(
szBuff
[
0
]
==
'{'
,
"Didn't write to buffer with ok length
\n
"
);
}
...
...
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