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
2b1c639f
Commit
2b1c639f
authored
Oct 11, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 11, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Added Hex function tests.
parent
39e4ef4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
api.vbs
dlls/vbscript/tests/api.vbs
+16
-0
No files found.
dlls/vbscript/tests/api.vbs
View file @
2b1c639f
...
...
@@ -34,4 +34,20 @@ Call ok(not isObject(Null), "isObject(Null) is true?")
Call
ok
(
getVT
(
err
)
=
"VT_DISPATCH"
,
"getVT(err) = "
&
getVT
(
err
))
Sub
TestHex
(
x
,
ex
)
Call
ok
(
hex
(
x
)
=
ex
,
"hex("
&
x
&
") = "
&
hex
(
x
)
&
" expected "
&
ex
)
End
Sub
TestHex
0
,
"0"
TestHex
6
,
"6"
TestHex
16
,
"10"
TestHex
&
hdeadbeef&
,
"DEADBEEF"
TestHex
-
1
,
"FFFF"
TestHex
-
16
,
"FFF0"
TestHex
-
934859845
,
"C8472BBB"
TestHex
empty
,
"0"
Call
ok
(
getVT
(
hex
(
null
))
=
"VT_NULL"
,
"getVT(hex(null)) = "
&
getVT
(
hex
(
null
)))
Call
ok
(
getVT
(
hex
(
empty
))
=
"VT_BSTR"
,
"getVT(hex(empty)) = "
&
getVT
(
hex
(
empty
)))
Call
reportSuccess
()
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