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
d43595fe
Commit
d43595fe
authored
Sep 27, 2006
by
Saulius Krasuckas
Committed by
Alexandre Julliard
Sep 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lz32/tests: Fix some typos in error messages.
parent
42a9262a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
lzexpand_main.c
dlls/lz32/tests/lzexpand_main.c
+7
-7
No files found.
dlls/lz32/tests/lzexpand_main.c
View file @
d43595fe
...
@@ -460,10 +460,10 @@ static void create_fileW(WCHAR *fnameW)
...
@@ -460,10 +460,10 @@ static void create_fileW(WCHAR *fnameW)
DWORD
retval
;
DWORD
retval
;
file
=
LZOpenFileW
(
fnameW
,
&
ofs
,
OF_CREATE
);
file
=
LZOpenFileW
(
fnameW
,
&
ofs
,
OF_CREATE
);
ok
(
file
>=
0
,
"LZOpenFile
A
failed on creation
\n
"
);
ok
(
file
>=
0
,
"LZOpenFile
W
failed on creation
\n
"
);
LZClose
(
file
);
LZClose
(
file
);
retval
=
GetFileAttributesW
(
fnameW
);
retval
=
GetFileAttributesW
(
fnameW
);
ok
(
retval
!=
INVALID_FILE_ATTRIBUTES
,
"GetFileAttributes
A
('%s'): error %ld
\n
"
,
ofs
.
szPathName
,
GetLastError
());
ok
(
retval
!=
INVALID_FILE_ATTRIBUTES
,
"GetFileAttributes
W
('%s'): error %ld
\n
"
,
ofs
.
szPathName
,
GetLastError
());
}
}
static
void
delete_fileW
(
WCHAR
*
fnameW
)
static
void
delete_fileW
(
WCHAR
*
fnameW
)
...
@@ -473,10 +473,10 @@ static void delete_fileW(WCHAR *fnameW)
...
@@ -473,10 +473,10 @@ static void delete_fileW(WCHAR *fnameW)
DWORD
retval
;
DWORD
retval
;
file
=
LZOpenFileW
(
fnameW
,
&
ofs
,
OF_DELETE
);
file
=
LZOpenFileW
(
fnameW
,
&
ofs
,
OF_DELETE
);
ok
(
file
>=
0
,
"LZOpenFile
A
failed on delete
\n
"
);
ok
(
file
>=
0
,
"LZOpenFile
W
failed on delete
\n
"
);
LZClose
(
file
);
LZClose
(
file
);
retval
=
GetFileAttributesW
(
fnameW
);
retval
=
GetFileAttributesW
(
fnameW
);
ok
(
retval
==
INVALID_FILE_ATTRIBUTES
,
"GetFileAttributes
A
succeeded on deleted file ('%s')
\n
"
,
ofs
.
szPathName
);
ok
(
retval
==
INVALID_FILE_ATTRIBUTES
,
"GetFileAttributes
W
succeeded on deleted file ('%s')
\n
"
,
ofs
.
szPathName
);
}
}
static
void
test_LZOpenFileW_existing_compressed
(
void
)
static
void
test_LZOpenFileW_existing_compressed
(
void
)
...
@@ -637,11 +637,11 @@ static void test_LZOpenFileW_nonexisting_compressed(void)
...
@@ -637,11 +637,11 @@ static void test_LZOpenFileW_nonexisting_compressed(void)
"LZOpenFileW succeeded on nonexistent file
\n
"
);
"LZOpenFileW succeeded on nonexistent file
\n
"
);
todo_wine
todo_wine
ok
(
test
.
cBytes
==
0xA5
,
ok
(
test
.
cBytes
==
0xA5
,
"LZOpenFile
A
set test.cBytes to %d
\n
"
,
test
.
cBytes
);
"LZOpenFile
W
set test.cBytes to %d
\n
"
,
test
.
cBytes
);
ok
(
test
.
nErrCode
==
ERROR_FILE_NOT_FOUND
,
ok
(
test
.
nErrCode
==
ERROR_FILE_NOT_FOUND
,
"LZOpenFile
A
set test.nErrCode to %d
\n
"
,
test
.
nErrCode
);
"LZOpenFile
W
set test.nErrCode to %d
\n
"
,
test
.
nErrCode
);
ok
(
lstrcmpA
(
test
.
szPathName
,
expected
)
==
0
,
ok
(
lstrcmpA
(
test
.
szPathName
,
expected
)
==
0
,
"LZOpenFile
A returned '%s', but was expected to return '%s' or '%s'
\n
"
,
"LZOpenFile
W returned '%s', but was expected to return '%s' or '%s'
\n
"
,
test
.
szPathName
,
expected
,
filled_0xA5
);
test
.
szPathName
,
expected
,
filled_0xA5
);
}
}
...
...
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