Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F41921236
Tech.test
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
636 B
Referenced Files
None
Subscribers
None
Tech.test
View Options
package require tcltest
namespace import ::tcltest::*
###
### Init
###
# Tested code
source init.tcl
source $dir/Tech.tcl
###
### Tests
###
test should_log_tcl_command_for_legit_command {} -body {
should_log_tcl_command "quux"
} -result 1
test should_log_tcl_command_for_empty_command {} -body {
should_log_tcl_command ""
} -result 1
test should_log_tcl_command_for_sql_connect {} -body {
should_log_tcl_command "sql connect localhost root somepassword"
} -result 0
test should_log_tcl_command_for_genpass {} -body {
should_log_tcl_command "genpass somepassword somedomain.tld"
} -result 0
###
### Cleanup
###
cleanupTests
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 8, 02:49 (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3914867
Default Alt Text
Tech.test (636 B)
Attached To
Mode
rVIPER ViperServ scripts
Attached
Detach File
Event Timeline
Log In to Comment