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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? builder.pm

?? BerkeleyDB源碼
?? PM
?? 第 1 頁 / 共 3 頁
字號:
Like Test::More's isnt().  Checks if $got ne $dont_expect.  This isthe string version.=item B<isnt_num>  $Test->is_num($got, $dont_expect, $name);Like Test::More's isnt().  Checks if $got ne $dont_expect.  This isthe numeric version.=cutsub isnt_eq {    my($self, $got, $dont_expect, $name) = @_;    local $Level = $Level + 1;    if( !defined $got || !defined $dont_expect ) {        # undef only matches undef and nothing else        my $test = defined $got || defined $dont_expect;        $self->ok($test, $name);        $self->_cmp_diag($got, 'ne', $dont_expect) unless $test;        return $test;    }    return $self->cmp_ok($got, 'ne', $dont_expect, $name);}sub isnt_num {    my($self, $got, $dont_expect, $name) = @_;    local $Level = $Level + 1;    if( !defined $got || !defined $dont_expect ) {        # undef only matches undef and nothing else        my $test = defined $got || defined $dont_expect;        $self->ok($test, $name);        $self->_cmp_diag($got, '!=', $dont_expect) unless $test;        return $test;    }    return $self->cmp_ok($got, '!=', $dont_expect, $name);}=item B<like>  $Test->like($this, qr/$regex/, $name);  $Test->like($this, '/$regex/', $name);Like Test::More's like().  Checks if $this matches the given $regex.You'll want to avoid qr// if you want your tests to work before 5.005.=item B<unlike>  $Test->unlike($this, qr/$regex/, $name);  $Test->unlike($this, '/$regex/', $name);Like Test::More's unlike().  Checks if $this B<does not match> thegiven $regex.=cutsub like {    my($self, $this, $regex, $name) = @_;    local $Level = $Level + 1;    $self->_regex_ok($this, $regex, '=~', $name);}sub unlike {    my($self, $this, $regex, $name) = @_;    local $Level = $Level + 1;    $self->_regex_ok($this, $regex, '!~', $name);}=item B<maybe_regex>  $Test->maybe_regex(qr/$regex/);  $Test->maybe_regex('/$regex/');Convenience method for building testing functions that take regularexpressions as arguments, but need to work before perl 5.005.Takes a quoted regular expression produced by qr//, or a stringrepresenting a regular expression.Returns a Perl value which may be used instead of the correspondingregular expression, or undef if it's argument is not recognised.For example, a version of like(), sans the useful diagnostic messages,could be written as:  sub laconic_like {      my ($self, $this, $regex, $name) = @_;      my $usable_regex = $self->maybe_regex($regex);      die "expecting regex, found '$regex'\n"          unless $usable_regex;      $self->ok($this =~ m/$usable_regex/, $name);  }=cutsub maybe_regex {    my ($self, $regex) = @_;    my $usable_regex = undef;    return $usable_regex unless defined $regex;    my($re, $opts);    # Check for qr/foo/    if( ref $regex eq 'Regexp' ) {        $usable_regex = $regex;    }    # Check for '/foo/' or 'm,foo,'    elsif( ($re, $opts)        = $regex =~ m{^ /(.*)/ (\w*) $ }sx           or           (undef, $re, $opts) = $regex =~ m,^ m([^\w\s]) (.+) \1 (\w*) $,sx         )    {        $usable_regex = length $opts ? "(?$opts)$re" : $re;    }    return $usable_regex;};sub _regex_ok {    my($self, $this, $regex, $cmp, $name) = @_;    local $Level = $Level + 1;    my $ok = 0;    my $usable_regex = $self->maybe_regex($regex);    unless (defined $usable_regex) {        $ok = $self->ok( 0, $name );        $self->diag("    '$regex' doesn't look much like a regex to me.");        return $ok;    }    {        local $^W = 0;        my $test = $this =~ /$usable_regex/ ? 1 : 0;        $test = !$test if $cmp eq '!~';        $ok = $self->ok( $test, $name );    }    unless( $ok ) {        $this = defined $this ? "'$this'" : 'undef';        my $match = $cmp eq '=~' ? "doesn't match" : "matches";        $self->diag(sprintf <<DIAGNOSTIC, $this, $match, $regex);                  %s    %13s '%s'DIAGNOSTIC    }    return $ok;}=item B<cmp_ok>  $Test->cmp_ok($this, $type, $that, $name);Works just like Test::More's cmp_ok().    $Test->cmp_ok($big_num, '!=', $other_big_num);=cutsub cmp_ok {    my($self, $got, $type, $expect, $name) = @_;    my $test;    {        local $^W = 0;        local($@,$!);   # don't interfere with $@                        # eval() sometimes resets $!        $test = eval "\$got $type \$expect";    }    local $Level = $Level + 1;    my $ok = $self->ok($test, $name);    unless( $ok ) {        if( $type =~ /^(eq|==)$/ ) {            $self->_is_diag($got, $type, $expect);        }        else {            $self->_cmp_diag($got, $type, $expect);        }    }    return $ok;}sub _cmp_diag {    my($self, $got, $type, $expect) = @_;        $got    = defined $got    ? "'$got'"    : 'undef';    $expect = defined $expect ? "'$expect'" : 'undef';    return $self->diag(sprintf <<DIAGNOSTIC, $got, $type, $expect);    %s        %s    %sDIAGNOSTIC}=item B<BAILOUT>    $Test->BAILOUT($reason);Indicates to the Test::Harness that things are going so badly alltesting should terminate.  This includes running any additional testscripts.It will exit with 255.=cutsub BAILOUT {    my($self, $reason) = @_;    $self->_print("Bail out!  $reason");    exit 255;}=item B<skip>    $Test->skip;    $Test->skip($why);Skips the current test, reporting $why.=cutsub skip {    my($self, $why) = @_;    $why ||= '';    $self->_unoverload(\$why);    unless( $Have_Plan ) {        require Carp;        Carp::croak("You tried to run tests without a plan!  Gotta have a plan.");    }    lock($Curr_Test);    $Curr_Test++;    $Test_Results[$Curr_Test-1] = &share({        'ok'      => 1,        actual_ok => 1,        name      => '',        type      => 'skip',        reason    => $why,    });    my $out = "ok";    $out   .= " $Curr_Test" if $self->use_numbers;    $out   .= " # skip";    $out   .= " $why"       if length $why;    $out   .= "\n";    $Test->_print($out);    return 1;}=item B<todo_skip>  $Test->todo_skip;  $Test->todo_skip($why);Like skip(), only it will declare the test as failing and TODO.  Similarto    print "not ok $tnum # TODO $why\n";=cutsub todo_skip {    my($self, $why) = @_;    $why ||= '';    unless( $Have_Plan ) {        require Carp;        Carp::croak("You tried to run tests without a plan!  Gotta have a plan.");    }    lock($Curr_Test);    $Curr_Test++;    $Test_Results[$Curr_Test-1] = &share({        'ok'      => 1,        actual_ok => 0,        name      => '',        type      => 'todo_skip',        reason    => $why,    });    my $out = "not ok";    $out   .= " $Curr_Test" if $self->use_numbers;    $out   .= " # TODO & SKIP $why\n";    $Test->_print($out);    return 1;}=begin _unimplemented=item B<skip_rest>  $Test->skip_rest;  $Test->skip_rest($reason);Like skip(), only it skips all the rest of the tests you plan to runand terminates the test.If you're running under no_plan, it skips once and terminates thetest.=end _unimplemented=back=head2 Test style=over 4=item B<level>    $Test->level($how_high);How far up the call stack should $Test look when reporting where thetest failed.Defaults to 1.Setting $Test::Builder::Level overrides.  This is typically usefullocalized:    {        local $Test::Builder::Level = 2;        $Test->ok($test);    }=cutsub level {    my($self, $level) = @_;    if( defined $level ) {        $Level = $level;    }    return $Level;}=item B<use_numbers>    $Test->use_numbers($on_or_off);Whether or not the test should output numbers.  That is, this if true:  ok 1  ok 2  ok 3or this if false  ok  ok  okMost useful when you can't depend on the test output order, such aswhen threads or forking is involved.Test::Harness will accept either, but avoid mixing the two styles.Defaults to on.=cutsub use_numbers {    my($self, $use_nums) = @_;    if( defined $use_nums ) {        $Use_Nums = $use_nums;    }    return $Use_Nums;}=item B<no_header>    $Test->no_header($no_header);If set to true, no "1..N" header will be printed.=item B<no_ending>    $Test->no_ending($no_ending);Normally, Test::Builder does some extra diagnostics when the testends.  It also changes the exit code as described below.If this is true, none of that will be done.=cutsub no_header {    my($self, $no_header) = @_;    if( defined $no_header ) {        $No_Header = $no_header;    }    return $No_Header;}sub no_ending {    my($self, $no_ending) = @_;    if( defined $no_ending ) {        $No_Ending = $no_ending;    }    return $No_Ending;}=back=head2 OutputControlling where the test output goes.It's ok for your test to change where STDOUT and STDERR point to,Test::Builder's default output settings will not be affected.=over 4=item B<diag>    $Test->diag(@msgs);Prints out the given @msgs.  Like C<print>, arguments are simplyappended together.Normally, it uses the failure_output() handle, but if this is for aTODO test, the todo_output() handle is used.Output will be indented and marked with a # so as not to interferewith test output.  A newline will be put on the end if there isn't onealready.We encourage using this rather than calling print directly.Returns false.  Why?  Because diag() is often used in conjunction witha failing test (C<ok() || diag()>) it "passes through" the failure.    return ok(...) || diag(...);=for blame transferMark Fowler <mark@twoshortplanks.com>=cutsub diag {    my($self, @msgs) = @_;    return unless @msgs;    # Prevent printing headers when compiling (i.e. -c)    return if $^C;    # Smash args together like print does.    # Convert undef to 'undef' so its readable.    my $msg = join '', map { defined($_) ? $_ : 'undef' } @msgs;    # Escape each line with a #.    $msg =~ s/^/# /gm;    # Stick a newline on the end if it needs it.    $msg .= "\n" unless $msg =~ /\n\Z/;    local $Level = $Level + 1;    $self->_print_diag($msg);    return 0;}=begin _private=item B<_print>    $Test->_print(@msgs);Prints to the output() filehandle.=end _private=cutsub _print {    my($self, @msgs) = @_;    # Prevent printing headers when only compiling.  Mostly for when    # tests are deparsed with B::Deparse    return if $^C;    my $msg = join '', @msgs;    local($\, $", $,) = (undef, ' ', '');    my $fh = $self->output;    # Escape each line after the first with a # so we don't    # confuse Test::Harness.    $msg =~ s/\n(.)/\n# $1/sg;    # Stick a newline on the end if it needs it.    $msg .= "\n" unless $msg =~ /\n\Z/;    print $fh $msg;}=item B<_print_diag>    $Test->_print_diag(@msg);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产清纯美女被跳蛋高潮一区二区久久w | 国产亚洲欧美激情| 色噜噜狠狠成人网p站| 麻豆91精品视频| ...av二区三区久久精品| 日韩三级精品电影久久久| k8久久久一区二区三区| 蜜桃视频一区二区三区| 一区二区成人在线| 国产精品视频麻豆| 精品女同一区二区| 欧美喷潮久久久xxxxx| 91蜜桃传媒精品久久久一区二区| 狠狠v欧美v日韩v亚洲ⅴ| 亚洲第一搞黄网站| 一区二区三区波多野结衣在线观看| 国产三区在线成人av| 日韩欧美中文字幕制服| 8x8x8国产精品| 欧美丝袜自拍制服另类| 91视频在线观看| 懂色av一区二区三区免费看| 韩国成人精品a∨在线观看| 免费久久精品视频| 视频一区视频二区中文| 亚洲综合在线视频| 亚洲欧美国产毛片在线| 《视频一区视频二区| 久久精品亚洲精品国产欧美kt∨ | 成人精品视频一区| 国产a级毛片一区| 国产激情一区二区三区| 国产一区不卡精品| 精品在线亚洲视频| 久久精品国产精品亚洲红杏| 日韩电影在线免费观看| 亚洲电影在线播放| 亚洲成人福利片| 婷婷综合久久一区二区三区| 香港成人在线视频| 日韩精品一级中文字幕精品视频免费观看| 一区二区三区高清| 亚洲高清免费观看高清完整版在线观看| 亚洲精品欧美激情| 亚洲午夜视频在线| 亚洲成av人片一区二区三区| 日韩综合一区二区| 久久精品久久99精品久久| 久久av资源网| 国产精品一区在线| 成人午夜av影视| 91香蕉视频污在线| 欧美日韩一区三区四区| 欧美一区在线视频| 精品国产乱码久久| 日本一区二区三区久久久久久久久不| 国产亚洲精品bt天堂精选| 国产精品毛片大码女人| 亚洲激情自拍视频| 亚洲123区在线观看| 久久国产视频网| 国产成人a级片| 色妹子一区二区| 4438x亚洲最大成人网| 日韩天堂在线观看| 久久久久久久久久电影| 国产精品国产精品国产专区不片| 亚洲视频一区在线| 首页国产欧美日韩丝袜| 国产美女娇喘av呻吟久久| k8久久久一区二区三区 | 欧美电影免费提供在线观看| 国产亚洲一区二区三区四区| 亚洲人成伊人成综合网小说| 天堂蜜桃91精品| 国产成人免费xxxxxxxx| 91成人免费在线| 欧美精品一区二区三区在线播放 | 亚洲欧美中日韩| 视频一区二区中文字幕| 国产精品1区2区3区在线观看| 91麻豆成人久久精品二区三区| 欧美久久久久久久久久| 久久只精品国产| 夜夜嗨av一区二区三区四季av| 久久99精品国产麻豆婷婷洗澡| 成a人片亚洲日本久久| 制服丝袜一区二区三区| 国产精品久久国产精麻豆99网站| 天堂av在线一区| 成人app下载| 2021久久国产精品不只是精品| 亚洲综合免费观看高清完整版在线 | 成人免费一区二区三区在线观看| 丝袜诱惑制服诱惑色一区在线观看| 成人小视频免费在线观看| 欧美日韩aaaaaa| 亚洲天堂av老司机| 国产真实精品久久二三区| 欧美日韩亚洲不卡| 国产精品午夜在线观看| 麻豆成人av在线| 欧美日韩在线一区二区| 国产精品三级视频| 久国产精品韩国三级视频| 色av成人天堂桃色av| 久久久久久久电影| 蜜桃在线一区二区三区| 欧美日韩精品一区二区三区四区| 1区2区3区欧美| 国产v日产∨综合v精品视频| 精品欧美乱码久久久久久1区2区| 首页国产欧美久久| 欧美亚洲综合色| 日韩理论片中文av| 成人免费视频一区二区| 久久综合狠狠综合久久激情| 日韩中文字幕一区二区三区| 91国产丝袜在线播放| 国产精品高清亚洲| 粉嫩13p一区二区三区| 久久久久久一二三区| 久久综合综合久久综合| 日韩欧美国产高清| 三级欧美在线一区| 欧美三级韩国三级日本三斤| 亚洲欧美日韩国产综合| 99久久免费精品| 国产精品女上位| 不卡av在线网| 国产精品久久久久久久午夜片| 国产成人免费视频网站| 国产精品三级电影| www.欧美.com| 中文字幕亚洲区| 91视频免费看| 一区二区三区在线播| 91精品福利在线| 亚洲一区二区三区小说| 欧美性生活影院| 亚洲第一激情av| 91精品国产综合久久久久久| 免费xxxx性欧美18vr| 精品成人一区二区| 国产精品羞羞答答xxdd| 国产欧美日韩亚州综合| 成人天堂资源www在线| 国产精品高清亚洲| 欧美性一级生活| 日本视频一区二区| 精品国产百合女同互慰| 国产91丝袜在线播放| 亚洲天天做日日做天天谢日日欢| 91久久精品网| 日韩精品欧美成人高清一区二区| 日韩欧美国产成人一区二区| 国产精品白丝av| 自拍偷拍欧美精品| 欧美日韩精品福利| 久久av资源网| 中文字幕在线不卡| 欧美午夜在线观看| 久久精品理论片| 国产精品高清亚洲| 欧美日韩精品专区| 精品亚洲成a人在线观看| 国产嫩草影院久久久久| 色婷婷狠狠综合| 另类综合日韩欧美亚洲| 中文字幕国产精品一区二区| 欧洲另类一二三四区| 老司机一区二区| 成人免费一区二区三区视频| 91精品免费在线观看| 成人综合婷婷国产精品久久免费| 亚洲免费在线视频一区 二区| 91精品国产色综合久久不卡电影 | 日韩三级av在线播放| 成人精品亚洲人成在线| 首页欧美精品中文字幕| 欧美国产成人精品| 欧美日韩大陆在线| 国产成人免费9x9x人网站视频| 亚洲一二三四在线| 久久亚洲二区三区| 欧美性猛片aaaaaaa做受| 国产福利91精品| 日日欢夜夜爽一区| 中文字幕欧美一| 日韩午夜激情av| 欧美影院一区二区| 国产精品1024| 婷婷丁香激情综合| 中文字幕在线不卡视频| 精品国产乱码久久久久久图片 | 欧美激情综合五月色丁香小说| 欧美日韩国产综合视频在线观看 | 成人av电影在线观看| 另类小说一区二区三区| 亚洲一区二区五区|