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
0220d7ac
Commit
0220d7ac
authored
Jun 15, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 15, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix declarations in the tests.
parent
94951803
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
stg_prop.c
dlls/ole32/tests/stg_prop.c
+4
-4
storage32.c
dlls/ole32/tests/storage32.c
+5
-5
No files found.
dlls/ole32/tests/stg_prop.c
View file @
0220d7ac
...
...
@@ -252,7 +252,7 @@ static void testProps(void)
DeleteFileW
(
filename
);
}
void
testCodepage
(
void
)
static
void
testCodepage
(
void
)
{
static
const
WCHAR
szDot
[]
=
{
'.'
,
0
};
static
const
WCHAR
szPrefix
[]
=
{
's'
,
't'
,
'g'
,
0
};
...
...
@@ -379,7 +379,7 @@ void testCodepage(void)
* and I expect it would under Windows as well, yet it succeeds. There's
* obviously something about string conversion I don't understand.
*/
#if 0
if
(
0
)
{
static
const
char
strVal
[]
=
{
0x81
,
0xff
,
0x04
,
0
};
/* Set code page to 950 (Traditional Chinese) */
U
(
var
).
iVal
=
950
;
...
...
@@ -399,7 +399,7 @@ void testCodepage(void)
ok
(
SUCCEEDED
(
hr
),
"ReadMultiple failed: 0x%08lx
\n
"
,
hr
);
ok
(
var
.
vt
==
VT_LPSTR
&&
!
strcmp
(
U
(
var
).
pszVal
,
strVal
),
"Didn't get expected type or value for property
\n
"
);
#endif
}
IPropertyStorage_Release
(
propertyStorage
);
IPropertySetStorage_Release
(
propSetStorage
);
...
...
@@ -479,7 +479,7 @@ static void testFmtId(void)
ok
(
SUCCEEDED
(
hr
),
"PropStgNameToFmtId failed: 0x%08lx
\n
"
,
hr
);
ok
(
!
memcmp
(
&
fmtid
,
&
IID_IPropertySetStorage
,
sizeof
(
fmtid
)),
"Got unexpected FMTID, expected IID_IPropertySetStorage
\n
"
);
}
}
}
START_TEST
(
stg_prop
)
...
...
dlls/ole32/tests/storage32.c
View file @
0220d7ac
...
...
@@ -32,7 +32,7 @@
DEFINE_GUID
(
test_stg_cls
,
0x88888888
,
0x0425
,
0x0000
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
);
void
test_hglobal_storage_stat
(
void
)
static
void
test_hglobal_storage_stat
(
void
)
{
ILockBytes
*
ilb
=
NULL
;
IStorage
*
stg
=
NULL
;
...
...
@@ -66,7 +66,7 @@ void test_hglobal_storage_stat(void)
ok
(
refcount
==
0
,
"ILockBytes refcount is wrong
\n
"
);
}
void
test_create_storage_modes
(
void
)
static
void
test_create_storage_modes
(
void
)
{
static
const
WCHAR
szPrefix
[]
=
{
's'
,
't'
,
'g'
,
0
};
static
const
WCHAR
szDot
[]
=
{
'.'
,
0
};
...
...
@@ -209,7 +209,7 @@ void test_create_storage_modes(void)
ok
(
DeleteFileW
(
filename
),
"failed to delete file
\n
"
);
}
void
test_storage_stream
(
void
)
static
void
test_storage_stream
(
void
)
{
static
const
WCHAR
stmname
[]
=
{
'C'
,
'O'
,
'N'
,
'T'
,
'E'
,
'N'
,
'T'
,
'S'
,
0
};
static
const
WCHAR
szPrefix
[]
=
{
's'
,
't'
,
'g'
,
0
};
...
...
@@ -341,7 +341,7 @@ static BOOL is_zero_length(LPCWSTR filename)
return
len
==
0
;
}
void
test_open_storage
(
void
)
static
void
test_open_storage
(
void
)
{
static
const
WCHAR
szPrefix
[]
=
{
's'
,
't'
,
'g'
,
0
};
static
const
WCHAR
szNonExist
[]
=
{
'n'
,
'o'
,
'n'
,
'e'
,
'x'
,
'i'
,
's'
,
't'
,
0
};
...
...
@@ -444,7 +444,7 @@ void test_open_storage(void)
ok
(
r
,
"file didn't exist
\n
"
);
}
void
test_storage_suminfo
(
void
)
static
void
test_storage_suminfo
(
void
)
{
static
const
WCHAR
szDot
[]
=
{
'.'
,
0
};
static
const
WCHAR
szPrefix
[]
=
{
's'
,
't'
,
'g'
,
0
};
...
...
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