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
73593d7e
Commit
73593d7e
authored
Dec 15, 2003
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 15, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check if a function exists before testing it.
parent
06464999
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
58 additions
and
34 deletions
+58
-34
env.c
dlls/ntdll/tests/env.c
+6
-3
large_int.c
dlls/ntdll/tests/large_int.c
+6
-5
path.c
dlls/ntdll/tests/path.c
+6
-3
rtl.c
dlls/ntdll/tests/rtl.c
+24
-14
string.c
dlls/ntdll/tests/string.c
+16
-9
No files found.
dlls/ntdll/tests/env.c
View file @
73593d7e
...
...
@@ -295,7 +295,10 @@ START_TEST(env)
pRtlSetEnvironmentVariable
=
(
void
*
)
GetProcAddress
(
mod
,
"RtlSetEnvironmentVariable"
);
pRtlExpandEnvironmentStrings_U
=
(
void
*
)
GetProcAddress
(
mod
,
"RtlExpandEnvironmentStrings_U"
);
testQuery
();
testSet
();
testExpand
();
if
(
pRtlQueryEnvironmentVariable_U
)
testQuery
();
if
(
pRtlSetEnvironmentVariable
)
testSet
();
if
(
pRtlExpandEnvironmentStrings_U
)
testExpand
();
}
dlls/ntdll/tests/large_int.c
View file @
73593d7e
...
...
@@ -421,9 +421,10 @@ START_TEST(large_int)
{
InitFunctionPtrs
();
test_RtlExtendedMagicDivide
();
if
(
pRtlInt64ToUnicodeString
!=
NULL
)
{
test_RtlInt64ToUnicodeString
();
}
/* if */
test_RtlLargeIntegerToChar
();
if
(
pRtlExtendedMagicDivide
)
test_RtlExtendedMagicDivide
();
if
(
pRtlInt64ToUnicodeString
)
test_RtlInt64ToUnicodeString
();
if
(
pRtlLargeIntegerToChar
)
test_RtlLargeIntegerToChar
();
}
dlls/ntdll/tests/path.c
View file @
73593d7e
...
...
@@ -234,7 +234,10 @@ START_TEST(path)
pRtlIsDosDeviceName_U
=
(
void
*
)
GetProcAddress
(
mod
,
"RtlIsDosDeviceName_U"
);
pRtlOemStringToUnicodeString
=
(
void
*
)
GetProcAddress
(
mod
,
"RtlOemStringToUnicodeString"
);
pRtlIsNameLegalDOS8Dot3
=
(
void
*
)
GetProcAddress
(
mod
,
"RtlIsNameLegalDOS8Dot3"
);
test_RtlDetermineDosPathNameType
();
test_RtlIsDosDeviceName
();
test_RtlIsNameLegalDOS8Dot3
();
if
(
pRtlDetermineDosPathNameType_U
)
test_RtlDetermineDosPathNameType
();
if
(
pRtlIsDosDeviceName_U
)
test_RtlIsDosDeviceName
();
if
(
pRtlIsNameLegalDOS8Dot3
)
test_RtlIsNameLegalDOS8Dot3
();
}
dlls/ntdll/tests/rtl.c
View file @
73593d7e
...
...
@@ -827,18 +827,28 @@ START_TEST(rtl)
{
InitFunctionPtrs
();
test_RtlCompareMemory
();
test_RtlCompareMemoryUlong
();
test_RtlMoveMemory
();
test_RtlFillMemory
();
test_RtlFillMemoryUlong
();
test_RtlZeroMemory
();
if
(
pRtlUlonglongByteSwap
)
{
test_RtlUlonglongByteSwap
();
}
/* if */
test_RtlUniform
();
test_RtlRandom
();
test_RtlAreAllAccessesGranted
();
test_RtlAreAnyAccessesGranted
();
test_RtlComputeCrc32
();
if
(
pRtlCompareMemory
)
test_RtlCompareMemory
();
if
(
pRtlCompareMemoryUlong
)
test_RtlCompareMemoryUlong
();
if
(
pRtlMoveMemory
)
test_RtlMoveMemory
();
if
(
pRtlFillMemory
)
test_RtlFillMemory
();
if
(
pRtlFillMemoryUlong
)
test_RtlFillMemoryUlong
();
if
(
pRtlZeroMemory
)
test_RtlZeroMemory
();
if
(
pRtlUlonglongByteSwap
)
test_RtlUlonglongByteSwap
();
if
(
pRtlUniform
)
test_RtlUniform
();
if
(
pRtlRandom
)
test_RtlRandom
();
if
(
pRtlAreAllAccessesGranted
)
test_RtlAreAllAccessesGranted
();
if
(
pRtlAreAnyAccessesGranted
)
test_RtlAreAnyAccessesGranted
();
if
(
pRtlComputeCrc32
)
test_RtlComputeCrc32
();
}
dlls/ntdll/tests/string.c
View file @
73593d7e
...
...
@@ -1075,13 +1075,20 @@ START_TEST(string)
{
InitFunctionPtrs
();
test_ulongtoa
();
test_ulonglongtoa
();
test_atoi64
();
test_ulongtow
();
test_ulonglongtow
();
test_wtoi
();
test_wtol
();
test_wtoi64
();
if
(
p_ultoa
)
test_ulongtoa
();
if
(
p_ui64toa
)
test_ulonglongtoa
();
if
(
p_atoi64
)
test_atoi64
();
if
(
p_ultow
)
test_ulongtow
();
if
(
p_ui64tow
)
test_ulonglongtow
();
if
(
p_wtoi
)
test_wtoi
();
if
(
p_wtol
)
test_wtol
();
if
(
p_wtoi64
)
test_wtoi64
();
}
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