cleanup.tcl

来自「这是一个Linux下的集成开发环境」· TCL 代码 · 共 29 行

TCL
29
字号
# cleanup.tcl --##	This program tests whether whether there is any garbage left#	after all the test files are executed. If so, either Tix has#	resource leak or the test suite doesn't clean up properly.#	# Copyright (c) 1996, Expert Interface Technologies## See the file "license.terms" for information on usage and redistribution# of this file, and for a DISCLAIMER OF ALL WARRANTIES.#proc About {} {    return "Testing resource leaks"}proc Test {} {    global testConfig    if {$testConfig(VERBOSE) >= 20} {	foreach image [image names] {	    puts "Warning: \[resource leak\] image $image of type [image type $image]"	    foreach option [$image configure] {		puts "  $option"	    }	}    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?