/dports/security/opencryptoki/opencryptoki-3.11.0/testcases/include/ |
H A D | mech_to_str.h | 26 if (mech == CKM_RSA_PKCS) in mech_to_str() 28 if (mech == CKM_RSA_9796) in mech_to_str() 30 if (mech == CKM_RSA_X_509) in mech_to_str() 56 if (mech == CKM_DSA) in mech_to_str() 82 if (mech == CKM_RC2_ECB) in mech_to_str() 84 if (mech == CKM_RC2_CBC) in mech_to_str() 86 if (mech == CKM_RC2_MAC) in mech_to_str() 94 if (mech == CKM_RC4) in mech_to_str() 140 if (mech == CKM_MD2) in mech_to_str() 146 if (mech == CKM_MD5) in mech_to_str() [all …]
|
/dports/www/p5-Dancer2-Plugin-Interchange6/Dancer2-Plugin-Interchange6-0.204/t/lib/Test/ |
H A D | Routes.pm | 110 $mech->post_ok( 119 $mech->post_ok( 128 $mech->post_ok( 146 $mech->post_ok( 162 $mech->post_ok( 183 $mech->post_ok( 193 $mech->post_ok( 203 $mech->post_ok( 223 $mech->post_ok( 231 $mech->post_ok( [all …]
|
/dports/www/p5-WWW-Scripter/WWW-Scripter-0.032/t/ |
H A D | history.t | 27 $mech->back; 30 $mech->back; 32 $mech->forward; 34 $mech->forward; 36 $mech->back; 42 $mech->forward; 44 $mech->back; 49 $mech->back; 119 $mech->back; 121 $mech->back; [all …]
|
/dports/www/p5-Jifty/Jifty-1.50430/t/Continuations/t/ |
H A D | 01-raw-api.t | 22 my $mech = Jifty::Test::WWW::Mechanize->new; 25 $mech->get("$URL/"); 39 ok($mech->continuation, "With a continuation set"); 46 my $first = $mech->continuation->id; 57 my $pending = $mech->continuation->id; 70 is($mech->status, 200, "Got back happily"); 72 my $next = $mech->continuation->id; 109 $mech->get("$URL/help-help.html?J:CALL=".$mech->continuation->id); 112 $mech->content =~ /J:C: (.*)/; 115 $mech->get("$URL/index-help.html?J:CALL=$1"); [all …]
|
H A D | 02-api.t | 19 my $mech = Jifty::Test::WWW::Mechanize->new; 22 $mech->get("$URL/"); 34 $mech->follow_link_ok( text => "Get help" ); 40 my $first = $mech->continuation->id; 41 $mech->back; 44 $mech->follow_link_ok( text => "Get help" ); 50 $mech->follow_link_ok( text => "Done" ); 59 $mech->follow_link_ok( text => "Done" ); 67 $mech->follow_link_ok( text => "Get help" ); 72 $mech->follow_link_ok( text => "Done" ); [all …]
|
/dports/www/p5-Jifty/Jifty-1.50430/t/Mapper/t/ |
H A D | 01-raw-api.t | 19 my $mech = Jifty::Test::WWW::Mechanize->new; 22 $mech->get("$URL/"); 27 $mech->get("$URL/index.html?J:A-grail=GetGrail"); 31 $mech->get("$URL/index.html?J:M-foo="); 35 $mech->get("$URL/index.html?J:M-foo=bar"); 36 $mech->content_like(qr/foo: bar/, "String sets to value"); 41 $mech->get("$URL/index.html?J:M-foo=A`bar"); 45 $mech->get("$URL/index.html?J:M-foo=A`bar;bar=baz"); 56 $mech->get("$URL/index.html?J:M-foo=R`grail`bar"); 70 $mech->get("$URL/index.html?J:M-foo=A`bridge`bar"); [all …]
|
/dports/www/p5-Catalyst-Model-Adaptor/Catalyst-Model-Adaptor-0.10/t/ |
H A D | live-test.t | 25 my $mech = Test::WWW::Mechanize::Catalyst->new; 38 my ($a, $b) = split /\|/, $mech->content; 52 my $a = $mech->content; 54 my $b = $mech->content; 60 my ($a, $b) = split/\|/, $mech->content; 74 my ($a, $b) = split /\|/, $mech->content; 88 my $a = $mech->content; 90 my $b = $mech->content; 97 my ($a, $b) = split/\|/, $mech->content; 124 my $a = $mech->content; [all …]
|
/dports/www/p5-Catalyst-Plugin-AutoCRUD/Catalyst-Plugin-AutoCRUD-2.200002/t/ |
H A D | 31-ajax-list.t | 13 my $mech = Test::WWW::Mechanize::Catalyst::AJAX->new; 27 $mech->ajax_ok('/site/default/schema/dbic/source/album/extjs2/list', {}, $default_album_page, 'no a… 31 $mech->ajax_ok('/site/default/schema/dbic/source/album/extjs2/list', {page => 1}, $default_album_pa… 37 $mech->ajax_ok('/site/default/schema/dbic/source/album/extjs2/list', {page => 0}, $default_album_pa… 39 $mech->ajax_ok('/site/default/schema/dbic/source/album/extjs2/list', {page => 'abc'}, $default_albu… 45 $mech->ajax_ok('/site/default/schema/dbic/source/album/extjs2/list', {limit => 2}, $two_records, 'l… 51 $mech->ajax_ok('/site/default/schema/dbic/source/album/extjs2/list', {limit => 0}, $default_album_p… 95 $mech->ajax_ok('/site/default/schema/dbic/source/album/extjs2/list', {sort => 'artist_id'}, $sort_f… 99 $mech->ajax_ok('/site/default/schema/dbic/source/album/extjs2/list', {dir => 'ASC'}, $default_album… 103 $mech->ajax_ok('/site/default/schema/dbic/source/album/extjs2/list', {dir => 'DESC'}, $sort_desc, '… [all …]
|
H A D | 33-ajax-update.t | 12 my $mech = Test::WWW::Mechanize::Catalyst::AJAX->new; 118 $mech->ajax_ok('/site/default/schema/dbic/source/album/extjs2/create', { 127 $mech->ajax_ok('/site/default/schema/dbic/source/album/extjs2/create', { 132 $mech->ajax_ok('/site/default/schema/dbic/source/album/extjs2/create', { 138 $mech->ajax_ok('/site/default/schema/dbic/source/album/extjs2/update', { 146 $mech->ajax_ok('/site/default/schema/dbic/source/album/extjs2/update', { 163 $mech->ajax_ok('/site/default/schema/dbic/source/album/extjs2/update', { 171 $mech->ajax_ok('/site/default/schema/dbic/source/album/extjs2/update', { 179 $mech->ajax_ok('/site/default/schema/dbic/source/album/extjs2/update', { 189 $mech->ajax_ok('/site/default/schema/dbic/source/album/extjs2/update', { [all …]
|
/dports/www/p5-Jifty/Jifty-1.50430/t/TestApp-Plugin-REST/t/ |
H A D | 02-basic-use.t | 44 is($mech->status,'200'); 46 is($mech->status,'200'); 48 is($mech->status,'200'); 50 is($mech->status,'200'); 52 is($mech->status,'200'); 125 is($mech->status,'404'); 150 is($mech->status, 200); 166 is($mech->status, 200); 168 is($mech->status, 200); 170 is($mech->status, 200); [all …]
|
/dports/devel/p5-Test-WWW-Mechanize/Test-WWW-Mechanize-1.54/t/ |
H A D | scrape_text_by_id.t | 17 my $mech = Test::WWW::Mechanize->new( autolint => 0 ); 18 isa_ok( $mech, 'Test::WWW::Mechanize' ); 21 $mech->get_ok( $uri, 'Get a dummy page just to have one' ); 76 isa_ok( $mech, 'Test::WWW::Mechanize' ); 92 $mech->scraped_id_is( 'asdf', 'Bob and Bongo!' ); 93 $mech->scraped_id_like( 'asdf', qr/Bob.+Bongo/ ); 120 $mech->scraped_id_is( 'empty', '' ); 121 $mech->scraped_id_like( 'empty', qr/^$/ ); 188 isa_ok( $mech, 'Test::WWW::Mechanize' ); 189 $mech->update_html( $html ); [all …]
|
H A D | autolint.t | 26 my $mech = Test::WWW::Mechanize->new(); 46 my $mech = Test::WWW::Mechanize->new(); 59 my $ret = $mech->autolint( 0 ); 67 isa_ok( $mech, 'Test::WWW::Mechanize' ); 77 $mech->get_ok( $uri ); 85 isa_ok( $mech, 'Test::WWW::Mechanize' ); 96 isa_ok( $mech, 'Test::WWW::Mechanize' ); 99 $mech->get_ok( $uri ); 102 $mech->get_ok( $uri, "GET $uri" ); 108 isa_ok( $mech, 'Test::WWW::Mechanize' ); [all …]
|
H A D | stuff_inputs.t | 18 add_test_fields( $mech ); 19 $mech->stuff_inputs(); 21 $mech, { 40 $mech, { 57 $mech->stuff_inputs(); 61 $mech, { 86 $mech, { 111 $mech, { 130 $mech, { 147 my $mech = shift; [all …]
|
H A D | autotidy.t | 29 my $mech = Test::WWW::Mechanize->new(); 49 my $mech = Test::WWW::Mechanize->new(); 62 my $ret = $mech->autotidy( 0 ); 73 isa_ok( $mech, 'Test::WWW::Mechanize' ); 83 $mech->get_ok( $uri ); 95 isa_ok( $mech, 'Test::WWW::Mechanize' ); 109 isa_ok( $mech, 'Test::WWW::Mechanize' ); 112 $mech->get_ok( $uri ); 115 $mech->get_ok( $uri, "GET $uri" ); 124 isa_ok( $mech, 'Test::WWW::Mechanize' ); [all …]
|
/dports/devel/p5-Test-WWW-Mechanize-CGIApp/Test-WWW-Mechanize-CGIApp-0.05/t/ |
H A D | instance.t | 20 $mech->app(sub { 25 $mech->get_ok('/TestApp'); 26 is($mech->ct, "text/html"); 27 $mech->title_is("Welcome"); 32 $mech->title_is("Hello"); 44 $mech->app(sub { 50 $mech->get_ok('/'); 51 is($mech->ct, "text/html"); 52 $mech->title_is("Welcome"); 57 $mech->title_is("Hello"); [all …]
|
/dports/games/linwarrior/linwarrior/source/ |
H A D | cMission.cpp | 29 mech->addRole(BLUE); in battleField() 30 mech->addEnemy(RED); in battleField() 32 world->spawnObject(mech); in battleField() 50 mech->addRole(RED); in battleField() 51 mech->addEnemy(BLUE); in battleField() 353 mech->addRole(RED); in init() 357 player = mech; in init() 475 player = mech; in initMechs() 481 mech->addRole(RED); in initMechs() 526 mech->addRole(RED); in initMechs() [all …]
|
/dports/www/p5-Jifty/Jifty-1.50430/t/TestApp/t/ |
H A D | 20-error-pages.t | 16 my $mech = Jifty::Test::WWW::Mechanize->new; 20 $mech->get_ok("$prefix/template-with-error"); 22 $mech->base_like(qr{errors/500}, "End up on error page"); 23 $mech->content_like(qr/something went awry/i, "Have error header"); 25 $mech->content_like(qr/template-with-error/, "Have stack trace"); 29 ok($mech->continuation, "Have a continuation"); 30 ok($mech->continuation->response->error, "Have an error set"); 36 $mech->base_like(qr{errors/500}, "End up at error page"); 39 $mech->content_like(qr/region-with-error/, "Have stack trace"); 44 $mech->get_ok("$prefix/call-region-with-error"); [all …]
|
H A D | 02-dispatch.t | 16 $mech->content_contains("Basic test."); 17 $mech->content_contains("count: 0"); 18 $mech->content_contains("before: 0"); 19 $mech->content_contains("after: 0"); 21 $mech->content_lacks("phantom: 99"); 25 $mech->content_contains("count: 1"); 26 $mech->content_contains("before: 1"); 27 $mech->content_contains("after: 1"); 32 $mech->content_contains("count: 2"); 33 $mech->content_lacks("count: 3"); [all …]
|
H A D | 06-validation.t | 13 my $mech = Jifty::Test::WWW::Mechanize->new(); 17 $mech->content_contains('<ok id="errors-J:A:F-email-dosomething" />', 19 $mech->content_contains('<ok id="warnings-J:A:F-email-dosomething" />', 24 $mech->content_contains('<ok id="errors-J:A:F-email-dosomething" />', 33 $mech->content_contains('<ok id="warnings-J:A:F-email-dosomething" />', 43 $mech->get_ok("$URL/dosomethingelse"); 44 $mech->fill_in_action_ok('dosomething', 48 $mech->submit_html_ok(); 58 $mech->content_contains('<update name="J:A:F-column_1-canontest">ff</update>'); 62 $mech->content_lacks('<ignored name="J:A:F-column_1-canontest"'); [all …]
|
/dports/www/mod_webauth/webauth-4.7.0/tests/mod_webauth/ |
H A D | run-tests | 97 $mech = logout(); 106 $mech = logout(); 119 $mech = logout(); 126 $mech->get($url); 132 $mech = logout(); 142 $mech = logout(); 152 $mech = logout(); 166 $mech = logout(); 177 $mech = logout(); 191 $mech = logout(); [all …]
|
/dports/www/p5-WWW-Mechanize/WWW-Mechanize-2.06/t/ |
H A D | history.t | 28 $mech->get($uri); 33 $mech->history(0), 43 $mech->follow_link( n => 1 ); 47 $mech->history(0), 65 $mech->history(0), 85 $mech->history_count, 1, 103 $mech->res, 120 $mech->res, 130 $mech->get( $server->url ); 148 $mech->stack_depth(0); [all …]
|
H A D | form_with_fields_passthrough_params.t | 20 $mech->get( $uri ); 70 $mech->get($uri); 83 $mech->get($uri); 97 $mech->get($uri); 111 $mech->get($uri); 124 $mech->get($uri); 138 $mech->get($uri); 152 $mech->get($uri); 168 $mech->get($uri); 185 $mech->get($uri); [all …]
|
/dports/devel/p5-SVN-Web/SVN-Web-0.63/t/ |
H A D | 2basic.t | 38 my $mech = $test->mech(); 41 $mech->title_is( 44 or diag $mech->content(); 47 $mech->title_is( 50 or diag $mech->content(); 55 or diag $mech->content(); 59 or diag $mech->content(); 65 if $mech->uri->path eq '/' or $mech->uri->path =~ m{/css/}; 67 is($mech->status, 200, 'Fetched ' . $mech->uri()) 68 or diag $mech->status; [all …]
|
/dports/www/p5-WWW-Mechanize/WWW-Mechanize-2.06/t/local/ |
H A D | back.t | 29 isa_ok( $mech->cookie_jar(), 'HTTP::Cookies', 'this $mech starts with a cookie jar' ); 52 $mech->get($server->url); 55 my $first_base = $mech->base; 56 my $title = $mech->title; 58 $mech->follow_link( n=>2 ); 73 $mech->submit_form( 101 $mech->reload(); 109 # $mech. 131 $mech->get($server404url); 142 $mech->get( $link ); [all …]
|
/dports/security/opensc/OpenSC-0.22.0/src/tests/p11test/ |
H A D | p11test_case_pss_oaep.c | 392 if (mech->mech != CKM_RSA_PKCS_OAEP) { in oaep_encrypt_decrypt_test() 413 get_mechanism_name(mech->mech), get_mechanism_name(mech->hash), in oaep_encrypt_decrypt_test() 547 if (mech->mech != CKM_RSA_PKCS_PSS) { in pss_verify_message_openssl() 659 if (!is_pss_mechanism(mech->mech)) { in pss_sign_verify_test() 662 get_mechanism_name(mech->mech)); in pss_sign_verify_test() 666 if (mech->mech == CKM_RSA_PKCS_PSS) { in pss_sign_verify_test() 676 get_mechanism_name(mech->mech), get_mechanism_name(mech->hash), in pss_sign_verify_test() 677 get_mgf_name(mech->mgf), mech->salt); in pss_sign_verify_test() 722 mech->mech = source_mech->mech; in fill_object_pss_mechanisms() 845 get_mechanism_name(mech->mech), in pss_oaep_test() [all …]
|