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
74f67ba8
Commit
74f67ba8
authored
Jul 20, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Added select case statement tests.
parent
374280aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
0 deletions
+56
-0
lang.vbs
dlls/vbscript/tests/lang.vbs
+56
-0
No files found.
dlls/vbscript/tests/lang.vbs
View file @
74f67ba8
...
...
@@ -440,6 +440,62 @@ next
Call
ok
(
y
=
1
,
"y = "
&
y
)
Call
ok
(
x
=
2
,
"x = "
&
x
)
x
=
false
select
case
3
case
2
Call
ok
(
false
,
"unexpected case"
)
case
2
Call
ok
(
false
,
"unexpected case"
)
case
4
Call
ok
(
false
,
"unexpected case"
)
case
"test"
case
"another case"
Call
ok
(
false
,
"unexpected case"
)
case
0
,
false
,
2
+
1
,
10
x
=
true
case
ok
(
false
,
"unexpected case"
)
Call
ok
(
false
,
"unexpected case"
)
case
else
Call
ok
(
false
,
"unexpected case"
)
end
select
Call
ok
(
x
,
"wrong case"
)
x
=
false
select
case
3
case
3
x
=
true
end
select
Call
ok
(
x
,
"wrong case"
)
x
=
false
select
case
2
+
2
case
3
Call
ok
(
false
,
"unexpected case"
)
case
else
x
=
true
end
select
Call
ok
(
x
,
"wrong case"
)
y
=
"3"
x
=
false
select
case
y
case
"3"
x
=
true
case
3
Call
ok
(
false
,
"unexpected case"
)
end
select
Call
ok
(
x
,
"wrong case"
)
select
case
0
case
1
Call
ok
(
false
,
"unexpected case"
)
case
"2"
Call
ok
(
false
,
"unexpected case"
)
end
select
select
case
0
end
select
if
false
then
Sub
testsub
x
=
true
...
...
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