亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? body.test

?? linux 下的源代碼分析閱讀器 red hat公司新版
?? TEST
字號(hào):
## Tests for "body" and "configbody" commands# ----------------------------------------------------------------------#   AUTHOR:  Michael J. McLennan#            Bell Labs Innovations for Lucent Technologies#            mmclennan@lucent.com#            http://www.tcltk.com/itcl##      RCS:  $Id: body.test 144 2003-02-05 10:56:26Z mdejong $# ----------------------------------------------------------------------#            Copyright (c) 1993-1998  Lucent Technologies, Inc.# ======================================================================# See the file "license.terms" for information on usage and# redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.package require tcltestnamespace import -force ::tcltest::*if {[string compare test [info procs test]] == 1} then {source defs}package require Itcl# ----------------------------------------------------------------------#  Test "body" command# ----------------------------------------------------------------------test body-1.1 {define a class with missing bodies and arg lists} {    itcl::class test_body {        constructor {args} {}        destructor {}        method any        method zero {}        method one {x}        method two {x y}        method defvals {x {y 0} {z 1}}        method varargs {x args}        method override {mesg} {            return "override: $mesg"        }    }} ""test body-1.2 {cannot use methods without a body} {    test_body #auto    list [catch "test_body0 any" msg] $msg} {1 {member function "::test_body::any" is not defined and cannot be autoloaded}}test body-1.3 {check syntax of "body" command} {    list [catch "itcl::body test_body::any" msg] $msg} {1 {wrong # args: should be "itcl::body class::func arglist body"}}test body-1.4 {make sure members are found correctly} {    list [catch "itcl::body test_body::xyzzyxyzzyxyzzy {} {}" msg] $msg} {1 {function "xyzzyxyzzyxyzzy" is not defined in class "::test_body"}}test body-1.5a {members without an argument list can have any args} {    itcl::body test_body::any {} {return "any"}    list [catch "test_body0 any" msg] $msg} {0 any}test body-1.5b {members without an argument list can have any args} {    itcl::body test_body::any {x} {return "any: $x"}    list [catch "test_body0 any 1" msg] $msg} {0 {any: 1}}test body-1.5c {members without an argument list can have any args} {    itcl::body test_body::any {x {y 2}} {return "any: $x $y"}    list [catch "test_body0 any 1" msg] $msg} {0 {any: 1 2}}test body-1.6a {an empty argument list must stay empty} {    list [catch {itcl::body test_body::zero {x y} {return "zero: $x $y"}} msg] $msg} {1 {argument list changed for function "::test_body::zero": should be ""}}test body-1.6b {an empty argument list must stay empty} {    list [catch {itcl::body test_body::zero {} {return "zero"}} msg] $msg} {0 {}}test body-1.7a {preserve argument list:  fixed arguments} {    list [catch {itcl::body test_body::one {x y} {return "one: $x $y"}} msg] $msg} {1 {argument list changed for function "::test_body::one": should be "x"}}test body-1.7b {preserve argument list:  fixed arguments} {    list [catch {itcl::body test_body::one {a} {return "one: $a"}} msg] $msg} {0 {}}test body-1.7c {preserve argument list:  fixed arguments} {    list [catch "test_body0 one 1.0" msg] $msg} {0 {one: 1.0}}test body-1.8a {preserve argument list:  fixed arguments} {    list [catch {itcl::body test_body::two {x} {return "two: $x"}} msg] $msg} {1 {argument list changed for function "::test_body::two": should be "x y"}}test body-1.8b {preserve argument list:  fixed arguments} {    list [catch {itcl::body test_body::two {a b} {return "two: $a $b"}} msg] $msg} {0 {}}test body-1.8c {preserve argument list:  fixed arguments} {    list [catch "test_body0 two 2.0 3.0" msg] $msg} {0 {two: 2.0 3.0}}test body-1.9a {preserve argument list:  default arguments} {    list [catch {itcl::body test_body::defvals {x} {}} msg] $msg} {1 {argument list changed for function "::test_body::defvals": should be "x {y 0} {z 1}"}}test body-1.9b {preserve argument list:  default arguments} {    list [catch {itcl::body test_body::defvals {a {b 0} {c 2}} {}} msg] $msg} {1 {argument list changed for function "::test_body::defvals": should be "x {y 0} {z 1}"}}test body-1.9c {preserve argument list:  default arguments} {    list [catch {itcl::body test_body::defvals {a {b 0} {c 1}} {}} msg] $msg} {0 {}}test body-1.10a {preserve argument list:  variable arguments} {    list [catch {itcl::body test_body::varargs {} {}} msg] $msg} {1 {argument list changed for function "::test_body::varargs": should be "x args"}}test body-1.10b {preserve argument list:  variable arguments} {    list [catch {itcl::body test_body::varargs {a} {}} msg] $msg} {0 {}}test body-1.10c {preserve argument list:  variable arguments} {    list [catch {itcl::body test_body::varargs {a b c} {}} msg] $msg} {0 {}}test body-1.11 {redefined body really does change} {    list [test_body0 override "test #1"] \         [itcl::body test_body::override {text} {return "new: $text"}] \         [test_body0 override "test #2"]} {{override: test #1} {} {new: test #2}}# ----------------------------------------------------------------------#  Test "body" command with inheritance# ----------------------------------------------------------------------test body-2.1 {inherit from a class with missing bodies} {    itcl::class test_ibody {        inherit test_body        method zero {}    }    test_ibody #auto} {test_ibody0}test body-2.2 {redefine a method in a derived class} {    itcl::body test_ibody::zero {} {return "ibody zero"}    list [test_ibody0 info function zero] \         [test_ibody0 info function test_body::zero]} {{public method ::test_ibody::zero {} {return "ibody zero"}} {public method ::test_body::zero {} {return "zero"}}}test body-2.3 {try to redefine a method that was not declared} {    list [catch {itcl::body test_ibody::one {x} {return "new"}} msg] $msg} {1 {function "one" is not defined in class "::test_ibody"}}# ----------------------------------------------------------------------#  Test "configbody" command# ----------------------------------------------------------------------test body-3.1 {define a class with public variables} {    itcl::class test_cbody {        private variable priv        protected variable prot        public variable option {} {            lappend messages "option: $option"        }        public variable nocode {}        public common messages    }} ""test body-3.2 {check syntax of "configbody" command} {    list [catch "itcl::configbody test_cbody::option" msg] $msg} {1 {wrong # args: should be "itcl::configbody class::option body"}}test body-3.3 {make sure that members are found correctly} {    list [catch "itcl::configbody test_cbody::xyzzy {}" msg] $msg} {1 {option "xyzzy" is not defined in class "::test_cbody"}}test body-3.4 {private variables have no config code} {    list [catch "itcl::configbody test_cbody::priv {bogus}" msg] $msg} {1 {option "::test_cbody::priv" is not a public configuration option}}test body-3.5 {protected variables have no config code} {    list [catch "itcl::configbody test_cbody::prot {bogus}" msg] $msg} {1 {option "::test_cbody::prot" is not a public configuration option}}test body-3.6 {can use public variables without a body} {    test_cbody #auto    list [catch "test_cbody0 configure -nocode 1" msg] $msg} {0 {}}test body-3.7 {redefined body really does change} {    list [test_cbody0 configure -option "hello"] \         [itcl::configbody test_cbody::option {lappend messages "new: $option"}] \         [test_cbody0 configure -option "goodbye"] \         [set test_cbody::messages] \} {{} {} {} {{option: hello} {new: goodbye}}}# ----------------------------------------------------------------------#  Test "configbody" command with inheritance# ----------------------------------------------------------------------test body-4.1 {inherit from a class with missing config bodies} {    itcl::class test_icbody {        inherit test_cbody        public variable option "icbody"    }    test_icbody #auto} {test_icbody0}test body-4.2 {redefine a body in a derived class} {    itcl::configbody test_icbody::option {lappend messages "test_icbody: $option"}    list [test_icbody0 info variable option] \         [test_icbody0 info variable test_cbody::option]} {{public variable ::test_icbody::option icbody {lappend messages "test_icbody: $option"} icbody} {public variable ::test_cbody::option {} {lappend messages "new: $option"} {}}}test body-4.3 {try to redefine a body for a variable that was not declared} {    list [catch {itcl::configbody test_icbody::nocode {return "new"}} msg] $msg} {1 {option "nocode" is not defined in class "::test_icbody"}}# ----------------------------------------------------------------------#  Clean up# ----------------------------------------------------------------------itcl::delete class test_body test_cbody::tcltest::cleanupTestsreturn

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线观看免费成人| 国产一区二区日韩精品| 日本高清无吗v一区| 亚洲欧美一区二区三区久本道91| 成人动漫在线一区| 亚洲一区在线电影| 欧美福利一区二区| 精品一区二区三区不卡| 国产亚洲1区2区3区| 国产一区二区三区免费在线观看| 国产欧美一区二区精品忘忧草 | 久久综合九色综合97婷婷女人| 99精品1区2区| 国产一区二区福利| 奇米影视7777精品一区二区| 亚洲精品第一国产综合野| 中文字幕第一区| 久久精品亚洲乱码伦伦中文| 日韩视频一区二区三区| 欧美午夜不卡在线观看免费| 99re热这里只有精品视频| 国产精品羞羞答答xxdd| 卡一卡二国产精品| 美日韩一区二区| 日韩高清一级片| 天堂资源在线中文精品| 一区二区三区日韩| 一区二区三区免费网站| 亚洲图片另类小说| 综合av第一页| 亚洲视频免费在线| 亚洲人成在线观看一区二区| 中文字幕乱码日本亚洲一区二区| 26uuu精品一区二区| 欧美www视频| 久久久综合精品| 欧美极品xxx| 国产精品高潮呻吟久久| 日韩美女视频一区| 亚洲视频 欧洲视频| 玉米视频成人免费看| 亚洲精品视频一区| 亚洲一二三四在线观看| 亚洲专区一二三| 亚洲国产精品久久人人爱| 天天影视网天天综合色在线播放| 无吗不卡中文字幕| 蜜臀久久久99精品久久久久久| 久久精品国产久精国产爱| 精品一区二区三区免费| 国产精品一二三在| 99国产精品一区| 欧美三级韩国三级日本一级| 在线电影欧美成精品| 欧美大胆人体bbbb| 国产女主播一区| 亚洲青青青在线视频| 亚洲国产精品久久艾草纯爱 | 成人h动漫精品一区二区| av在线不卡电影| 欧美在线看片a免费观看| 欧美日韩国产美| 精品国内二区三区| 中文字幕一区二区三区不卡 | 国产成人一区在线| 一本大道av一区二区在线播放| 欧美日韩精品一区二区三区四区 | 18成人在线观看| 亚洲一区二区三区视频在线播放 | 日韩视频免费观看高清完整版在线观看 | 欧美一区二区在线免费播放| 精品少妇一区二区三区免费观看| 久久精品免视看| 亚洲精品久久嫩草网站秘色| 免费精品视频在线| 成人h版在线观看| 欧美一区二区三区的| 亚洲欧洲精品一区二区精品久久久 | 播五月开心婷婷综合| 在线观看亚洲a| ww久久中文字幕| 一区二区激情小说| 国产成人久久精品77777最新版本| 粉嫩13p一区二区三区| 欧美日韩国产小视频在线观看| 久久综合久久99| 午夜精品久久久久久久99水蜜桃| 国产精品91一区二区| 91电影在线观看| 国产性色一区二区| 日韩电影在线观看电影| av电影一区二区| 欧美大片在线观看一区二区| 亚洲精品视频一区二区| 国产精品中文字幕日韩精品| 欧美系列日韩一区| 国产女人18水真多18精品一级做| 三级不卡在线观看| 成人福利在线看| 久久综合九色综合97婷婷女人 | 国产99久久久国产精品免费看| 精品视频色一区| 国产精品福利一区| 极品少妇xxxx精品少妇偷拍| 欧美性做爰猛烈叫床潮| 国产精品国产三级国产a| 狠狠色丁香婷婷综合| 欧美肥妇free| 亚洲成人高清在线| 91捆绑美女网站| 国产精品久久久久久久久搜平片| 另类综合日韩欧美亚洲| 欧美一区二区在线免费播放 | 亚洲成人777| 在线免费观看视频一区| 中文字幕一区二区三区四区不卡 | 亚洲一区二区欧美日韩 | 久久中文娱乐网| 日韩高清一级片| 欧美欧美欧美欧美| 亚洲国产cao| 欧美亚洲高清一区| 亚洲一级在线观看| 欧美在线短视频| 一区二区在线观看视频| 91蜜桃网址入口| 最近日韩中文字幕| 91小宝寻花一区二区三区| 亚洲色图欧美在线| 91免费版在线看| 一区二区高清在线| 在线亚洲免费视频| 亚洲高清不卡在线观看| 欧美日韩国产小视频在线观看| 亚洲图片有声小说| 337p亚洲精品色噜噜狠狠| 日韩精品亚洲专区| 日韩视频一区二区三区| 国产综合色在线视频区| 久久免费电影网| 粉嫩av亚洲一区二区图片| 国产精品理伦片| 日本丶国产丶欧美色综合| 一区二区三区国产精华| 欧美日韩亚洲国产综合| 日韩av一区二| 精品成人一区二区三区四区| 国产一区啦啦啦在线观看| 国产亚洲人成网站| 99re视频这里只有精品| 亚洲国产中文字幕| 欧美一区二区三区的| 国产精品一二三四区| 亚洲天堂精品在线观看| 欧美色图片你懂的| 免费在线视频一区| 久久精品一区四区| 日本高清不卡视频| 蜜乳av一区二区三区| 欧美激情一区二区在线| 色网站国产精品| 奇米综合一区二区三区精品视频| 久久久久久久免费视频了| 91免费观看在线| 伦理电影国产精品| 1区2区3区欧美| 欧美一区二区三区四区视频| 国产成人午夜片在线观看高清观看| 亚洲欧美日韩在线| 日韩午夜小视频| 91天堂素人约啪| 毛片一区二区三区| 中文字幕一区二区三| 777a∨成人精品桃花网| 国产精品66部| 亚洲国产日韩a在线播放性色| 精品国产凹凸成av人导航| 色偷偷成人一区二区三区91| 麻豆精品在线观看| 亚洲色图欧美激情| 久久久三级国产网站| 色先锋资源久久综合| 韩国v欧美v亚洲v日本v| 亚洲一区日韩精品中文字幕| 久久久久97国产精华液好用吗| 欧美亚洲综合色| 成人av网址在线| 久国产精品韩国三级视频| 亚洲欧美日韩国产另类专区| 欧美大白屁股肥臀xxxxxx| 一本一本大道香蕉久在线精品| 精品一区二区在线看| 亚洲综合色网站| 中文字幕 久热精品 视频在线| 7777精品伊人久久久大香线蕉最新版| 成人免费观看视频| 精品一区二区在线免费观看| 亚洲第一成人在线| 亚洲六月丁香色婷婷综合久久| 久久久久久夜精品精品免费|