• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/perl/BerkeleyDB/t/Test/

Lines Matching refs:is

59     # 5.8.0's threads::shared is busted when threads are off.
118 Since you only run one test per program, there is B<one and only one>
120 getting the same object. (This is called a singleton).
200 This is important for getting TODO tests right.
307 Find out whether a plan has been defined. $plan is either C<undef> (no plan has been set), C<no_plan> (indeterminate # of tests) or an integer (the number of expected tests).
347 $name is always optional.
355 Your basic test. Pass if $test is true, fail if $test is false. Just
375 # In case $name is a string overloaded object, force it to stringify.
459 Like Test::More's is(). Checks if $got eq $expected. This is the
466 Like Test::More's is(). Checks if $got == $expected. This is the
533 Like Test::More's isnt(). Checks if $got ne $dont_expect. This is
540 Like Test::More's isnt(). Checks if $got ne $dont_expect. This is
623 regular expression, or undef if it's argument is not recognised.
875 Setting $Test::Builder::Level overrides. This is typically useful
899 Whether or not the test should output numbers. That is, this if true:
912 when threads or forking is involved.
942 If this is true, none of that will be done.
983 Normally, it uses the failure_output() handle, but if this is for a
984 TODO test, the todo_output() handle is used.
992 Returns false. Why? Because diag() is often used in conjunction with
1232 # If the test counter is being pushed forward fill in the details.
1259 This is a logical pass/fail, so todos are passes.
1261 Of course, test #1 is $tests[0], etc...
1278 { 'ok' => is the test considered a pass?
1285 'ok' is true if Test::Harness will consider the test to be a pass.
1287 'actual_ok' is a reflection of whether or not the test literally
1288 printed 'ok' or 'not ok'. This is for examining the result of 'todo'
1291 'name' is the name of the test.
1301 Sometimes the Test::Builder test counter is incremented without it
1302 printing any test output, for example, when current_test() is changed.
1304 it's type is 'unkown'. These details for these tests are filled in.
1305 They are considered ok, but the name and actual_ok is left undef.
1334 todo() is pretty part about finding the right package to look for
1338 Sometimes there is some confusion about where todo() should be looking
1385 through ok. If anything is wrong it will die with a fairly friendly
1403 A sanity check, similar to assert(). If the $check is true, something
1460 # Don't bother with an ending if this is a forked copy. Only the parent
1464 # Bailout if plan() was never called. This is so
1539 If all your tests passed, Test::Builder will exit with zero (which is
1558 In perl 5.8.0 and later, Test::Builder is thread-safe. The test
1559 number is shared amongst all threads. This means if one thread sets
1562 Test::Builder is only thread-aware if threads.pm is loaded I<before>
1584 This program is free software; you can redistribute it and/or