FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
livecode/engine/exec-tests/engine/EvalLocalNames.test at develop · livecodeali/livecode · GitHub
livecodeali
/
livecode
Public
forked from
livecode/livecode
Notifications
You must be signed in to change notification settings
Fork
1
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
livecode
/
engine
/
exec-tests
/
engine
/
EvalLocalNames.test
Copy path
More file actions
More file actions
Latest commit
History
History
History
22 lines (18 loc) · 686 Bytes
Breadcrumbs
livecode
/
engine
/
exec-tests
/
engine
/
EvalLocalNames.test
Copy path
File metadata and controls
22 lines (18 loc) · 686 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
setup
local tScript
put "local sScript" & return & \
"on testMe pParam" & return & \
" global gVariableNamesGlobal" & return & \
" local tLocal" & return & \
" set the cVariableNames of me to the variableNames" & return & \
"end testMe" into tScript
create button
set the script of button 1 to tScript
local tParam = "abcd"
send "testMe tParam" to button 1
test the number of lines in the cVariableNames of button 1 is 4
test line 1 of the cVariableNames of button 1 is "pParam"
test line 2 of the cVariableNames of button 1 is "tLocal"
test line 3 of the cVariableNames of button 1 is "sScript"
test line 4 of the cVariableNames of button 1 is "gVariableNamesGlobal"
teardown
Back
|
FazBrowse Home
|
New Git URL