Searched refs:ok (Results 251 - 275 of 1802) sorted by relevance

<<11121314151617181920>>

/macosx-10.9.5/Security-55471.14.18/sec/securityd/Regressions/
H A Dsecd-55-account-circle.c51 ok(SOSAccountAssertUserCredentials(bob_account, cfaccount, cfpassword, &error), "Credential setting (%@)", error);
57 ok(SOSAccountAssertUserCredentials(alice_account, cfaccount, cfpassword, &error), "Credential setting (%@)", error);
59 ok(SOSAccountTryUserCredentials(alice_account, cfaccount, cfpassword, &error), "Credential trying (%@)", error);
61 ok(!SOSAccountTryUserCredentials(alice_account, cfaccount, cfwrong_password, &error), "Credential failing (%@)", error);
66 ok(SOSAccountResetToOffering(alice_account, &error), "Reset to offering (%@)", error);
71 ok(SOSAccountJoinCircles(bob_account, &error), "Bob Applies (%@)", error);
79 ok(applicants && CFArrayGetCount(applicants) == 1, "See one applicant %@ (%@)", applicants, error);
80 ok(SOSAccountAcceptApplicants(alice_account, applicants, &error), "Alice accepts (%@)", error);
90 ok(CFDictionaryGetCount(changes) == 0, "We converged. (%@)", changes);
95 ok(peer
[all...]
H A Dsecd-56-account-apply.c65 ok(SOSAccountAssertUserCredentials(bob_account, cfaccount, cfpassword, &error), "Credential setting (%@)", error);
71 ok(SOSAccountAssertUserCredentials(alice_account, cfaccount, cfpassword, &error), "Credential setting (%@)", error);
74 ok(SOSAccountAssertUserCredentials(carole_account, cfaccount, cfpassword, &error), "Credential setting (%@)", error);
77 ok(SOSAccountAssertUserCredentials(david_account, cfaccount, cfpassword, &error), "Credential setting (%@)", error);
81 ok(SOSAccountResetToOffering(alice_account, &error), "Reset to offering (%@)", error);
87 ok(SOSAccountJoinCircles(bob_account, &error), "Bob Applies (%@)", error);
90 ok(SOSAccountJoinCircles(carole_account, &error), "Carole Applies too (%@)", error);
102 ok(applicants && CFArrayGetCount(applicants) == 2, "See two applicants %@ (%@)", applicants, error);
110 ok(CFDictionaryGetCount(changes) == 0, "Nothing left to deal with (%@)", changes);
115 ok(applicant
[all...]
/macosx-10.9.5/CPANInternal-140/Test-Simple/t/
H A Dfail-more.t59 local $SIG{__DIE__} = sub { $TB->ok(0, "DIE handler called: ".join "", @_); };
69 ok( 0, 'failing' );
71 not ok - failing
81 not ok - foo is bar?
92 not ok - undef is empty string?
103 not ok - undef is 0?
114 not ok - empty string is 0?
125 not ok - foo isnt foo?
136 not ok - foo isn't foo?
147 not ok
[all...]
/macosx-10.9.5/CPANInternal-140/SOAP-Lite-0.69/t/
H A D02-payload.t25 ok($serialized =~ m!<rootandunderstand( xsi:type="xsd:int"| soap:mustUnderstand="1"| soapenc:root="1"| xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"| xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"| xmlns:xsd="http://www.w3.org/2001/XMLSchema"){7}>1</rootandunderstand>!);
51 ok($deserialized->result->[2] == 60);
52 ok((my @array = $deserialized->paramsall) == 1);
53 ok(ref $deserialized->body eq 'HASH'); # not blessed anymore since 0.51
65 ok($deserialized->faultcode eq 'soap:Client');
66 ok($deserialized->faultstring eq 'Application Error');
67 ok($deserialized->faultdetail eq 'Invalid Password');
77 ok(ref $deserialized->valueof('/Struct') eq ref $deserialized->valueof('//b'));
79 ok($deserialized->dataof('/Struct')->attr->{'{aaa}id'} == 123);
80 ok(exist
[all...]
H A D26-xmlrpc.t35 ok((XMLRPC::Lite
40 ok((XMLRPC::Lite
45 ok((XMLRPC::Lite
53 ok(($s->result or '') eq 'Massachusetts,Michigan');
54 ok(! defined $s->fault);
55 ok(! defined $s->faultcode);
67 ok(ref $r->fault eq 'HASH');
68 ok($r->fault->{faultString} =~ /Can't evaluate/);
69 ok($r->faultstring =~ /Can't evaluate/);
70 ok(
[all...]
/macosx-10.9.5/CPANInternal-140/SOAP-Lite-0.715/t/
H A D26-xmlrpc.t36 ok((XMLRPC::Lite
41 ok((XMLRPC::Lite
46 ok((XMLRPC::Lite
54 ok(($s->result or '') eq 'Massachusetts,Michigan');
55 ok(! defined $s->fault);
56 ok(! defined $s->faultcode);
75 ok(ref $r->fault eq 'HASH');
76 ok($r->fault->{faultString} =~ /Can't evaluate/);
77 ok($r->faultstring =~ /Can't evaluate/);
78 ok(
[all...]
/macosx-10.9.5/CPANInternal-140/SOAP-Lite_new/t/
H A D26-xmlrpc.t36 ok((XMLRPC::Lite
41 ok((XMLRPC::Lite
46 ok((XMLRPC::Lite
54 ok(($s->result or '') eq 'Massachusetts,Michigan');
55 ok(! defined $s->fault);
56 ok(! defined $s->faultcode);
75 ok(ref $r->fault eq 'HASH');
76 ok($r->fault->{faultString} =~ /Can't evaluate/);
77 ok($r->faultstring =~ /Can't evaluate/);
78 ok(
[all...]
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-LaunchServices/PyObjCTest/
H A Dtest_lsinfo.py114 ok, info = LSCopyItemInfoForURL(url, kLSRequestExtension|kLSRequestTypeCreator, None)
115 self.assertEqual(ok, 0)
119 ok, info = LSGetExtensionInfo(len(self.path), self.path, None)
120 self.failUnlessEqual(ok, 0)
125 ok, info = LSCopyDisplayNameForURL(url, None)
126 self.assertEquals(ok, 0)
130 ok = LSSetExtensionHiddenForURL(url, True)
131 self.assertEquals(ok, 0)
135 ok, info = LSCopyKindStringForURL(url, None)
136 self.assertEquals(ok,
[all...]
/macosx-10.9.5/CPANInternal-140/Params-Util/t/
H A D08_driver.t13 ok( ! defined &_CLASSISA, '_CLASSISA does not exist' );
14 ok( ! defined &_SUBCLASS, '_SUBCLASS does not exist' );
15 ok( ! defined &_DRIVER, '_DRIVER does not exist' );
17 ok( defined &_CLASSISA, '_CLASSISA imported ok' );
18 ok( defined &_SUBCLASS, '_SUBCLASS imported ok' );
19 ok( defined &_DRIVER, '_DRIVER imported ok' );
33 ok(
[all...]
H A D18_driver.t13 ok( ! defined &_CLASSISA, '_CLASSISA does not exist' );
14 ok( ! defined &_SUBCLASS, '_SUBCLASS does not exist' );
15 ok( ! defined &_DRIVER, '_DRIVER does not exist' );
17 ok( defined &_CLASSISA, '_CLASSISA imported ok' );
18 ok( defined &_SUBCLASS, '_SUBCLASS imported ok' );
19 ok( defined &_DRIVER, '_DRIVER imported ok' );
33 ok(
[all...]
H A D07_handle.t13 ok( ! defined &_HANDLE, '_HANDLE does not exist' );
15 ok( defined &_HANDLE, '_HANDLE imported ok' );
29 ok( -f $readfile, "$readfile exists" );
33 ok( ! -e $writefile, "$writefile does not exist" );
39 ok( defined $result, '_HANDLE does not return undef' );
47 ok( ! defined $result, '_HANDLE returns undef' );
H A D17_handle.t13 ok( ! defined &_HANDLE, '_HANDLE does not exist' );
15 ok( defined &_HANDLE, '_HANDLE imported ok' );
29 ok( -f $readfile, "$readfile exists" );
33 ok( ! -e $writefile, "$writefile does not exist" );
39 ok( defined $result, '_HANDLE does not return undef' );
47 ok( ! defined $result, '_HANDLE returns undef' );
/macosx-10.9.5/CPANInternal-140/Test-use-ok-0.11/lib/
H A Dok.pm1 package ok; package
2 $ok::VERSION = '0.11';
11 goto &Test::More::pass if $_[0] eq 'ok';
17 ($file =~ /^\(eval/) or die "Not enough arguments for 'use ok' at $file line $line\n";
25 ok - Alternative to Test::More::use_ok
29 use ok 'Some::Module';
33 With this module, simply change all C<use_ok> in test scripts to C<use ok>,
36 Please see L<Test::use::ok> for the full description.
41 or neighboring rights to L<Test-use-ok>.
/macosx-10.9.5/CPANInternal-140/XML-LibXML/t/
H A D40reader.t47 ok($reader->hasAttributes, "hasAttributes");
48 ok(! $reader->hasValue, "hasValue");
49 ok(! $reader->isDefault, "isDefault");
50 ok(! $reader->isEmptyElement, "isEmptyElement");
51 ok(! $reader->isNamespaceDecl, "isNamespaceDecl");
52 ok(! $reader->isValid, "isValid");
56 ok($reader->moveToAttribute("acronym"), "moveToAttribute");
57 ok($reader->moveToAttributeNo(0), "moveToAttributeNo");
58 ok($reader->moveToAttributeNs("acronym", undef), "moveToAttributeNs");
60 ok(
[all...]
/macosx-10.9.5/CPANInternal-140/DBIx-Class/t/
H A D39load_namespaces_rt41083.t43 ok(!$@) or diag $@;
44 ok(_chk_warning($warnings), 'expected no resultset complaint');
45 ok(_chk_extra_sources_warning($warnings), 'expected no extra sources complaint') or diag($warnings);
62 ok(!$@) or diag $@;
63 ok(_chk_warning($warnings), 'expected no resultset complaint') or diag $warnings;
64 ok(_chk_extra_sources_warning($warnings), 'expected no extra sources complaint') or diag($warnings);
H A D54taint.t21 ok( __PACKAGE__->source('Manual'), 'The Classes::Manual source has been registered' );
27 ok( __PACKAGE__->source('Auto'), 'The Classes::Auto source has been registered' );
28 ok( __PACKAGE__->source('Auto'), 'The Classes::Manual source has been re-registered' );
42 ok( __PACKAGE__->source('Test'), 'The Namespaces::Test source has been registered' );
H A Dresultset_class.t15 ok(!Class::Inspector->loaded('DBICNSTest::ResultSet::A'), 'custom resultset class not loaded');
17 ok(Class::Inspector->loaded('DBICNSTest::ResultSet::A'), 'custom resultset class loaded automatically');
/macosx-10.9.5/CommonCrypto-60049/test/CommonCrypto/
H A DCommonRandom.c60 ok(memcmp(buf1, buf2, len), "Buffers aren't the same");
61 ok(memcmp(buf3, buf4, len), "Buffers aren't the same");
62 ok(memcmp(buf2, buf3, len), "Buffers aren't the same");
63 ok(memcmp(buf5, buf6, len), "Buffers aren't the same");
64 ok(memcmp(buf5, buf2, len), "Buffers aren't the same");
65 ok(memcmp(buf6, buf1, len), "Buffers aren't the same");
H A DCommonCryptoReset.c48 ok(retval == kCCSuccess, "cryptor created");
52 ok((retval == kCCSuccess && moved == 16), "first update");
56 ok((retval == kCCSuccess && moved == 16), "second (chained) update");
58 ok(memcmp(cipher1, cipher2, 16) != 0, "chained crypts shouldn't be the same even with the same data");
62 ok(retval == kCCSuccess, "cryptor NULL reset");
66 ok((retval == kCCSuccess && moved == 16), "third update - NULL Reset");
68 ok(memcmp(cipher1, cipher3, 16) == 0, "reset crypt should be the same as the start");
72 ok(retval == kCCSuccess, "cryptor zero iv reset");
76 ok((retval == kCCSuccess && moved == 16), "fourth update - zero iv Reset");
78 ok(memcm
[all...]
/macosx-10.9.5/WebCore-7537.78.1/Modules/mediastream/
H A DMediaConstraintsImpl.cpp77 bool ok = constraints.get(mandatory, mandatoryConstraints); local
78 if (!ok || mandatoryConstraints.isUndefinedOrNull())
81 ok = mandatoryConstraints.getOwnPropertiesAsStringHashMap(m_mandatoryConstraints);
82 if (!ok)
88 bool ok = constraints.get(optional, optionalConstraints); local
89 if (!ok || optionalConstraints.isUndefinedOrNull())
93 ok = optionalConstraints.length(numberOfConstraints);
94 if (!ok)
99 ok = optionalConstraints.get(i, constraint);
100 if (!ok || constrain
[all...]
/macosx-10.9.5/CPANInternal-140/SOAP-Lite-0.69/lib/XMLRPC/
H A DTest.pm71 ok($s->call('My.Examples.getStateName', 1)->result eq 'Alabama');
72 ok($s->call('My.Examples.getStateNames', 1,4,6,13)->result =~ /^Alabama\s+Arkansas\s+Colorado\s+Illinois\s*$/);
75 ok(ref $r && $r->[0] eq 'Alabama');
78 ok(ref $r && $r->{item2} eq 'Arkansas');
87 ok($@ =~ /Can't locate object method "c"/);
94 ok(XMLRPC::Lite->autodispatched);
106 ok($s->call('My.Parameters.die_simply')->faultstring =~ /Something bad/);
107 ok($on_fault_was_called > 0);
111 ok($fault->faultcode =~ 'Server\.Custom');
112 ok(
[all...]
/macosx-10.9.5/CPANInternal-140/SOAP-Lite-0.715/lib/XMLRPC/
H A DTest.pm71 ok($s->call('My.Examples.getStateName', 1)->result eq 'Alabama');
72 ok($s->call('My.Examples.getStateNames', 1,4,6,13)->result =~ /^Alabama\s+Arkansas\s+Colorado\s+Illinois\s*$/);
75 ok(ref $r && $r->[0] eq 'Alabama');
78 ok(ref $r && $r->{item2} eq 'Arkansas');
87 ok($@ =~ /Can't locate object method "c"/);
94 ok(XMLRPC::Lite->autodispatched);
106 ok($s->call('My.Parameters.die_simply')->faultstring =~ /Something bad/);
107 ok($on_fault_was_called > 0);
111 ok($fault->faultcode =~ 'Server\.Custom');
112 ok(
[all...]
/macosx-10.9.5/CPANInternal-140/SOAP-Lite_new/lib/XMLRPC/
H A DTest.pm71 ok($s->call('My.Examples.getStateName', 1)->result eq 'Alabama');
72 ok($s->call('My.Examples.getStateNames', 1,4,6,13)->result =~ /^Alabama\s+Arkansas\s+Colorado\s+Illinois\s*$/);
75 ok(ref $r && $r->[0] eq 'Alabama');
78 ok(ref $r && $r->{item2} eq 'Arkansas');
87 ok($@ =~ /Can't locate object method "c"/);
94 ok(XMLRPC::Lite->autodispatched);
106 ok($s->call('My.Parameters.die_simply')->faultstring =~ /Something bad/);
107 ok($on_fault_was_called > 0);
111 ok($fault->faultcode =~ 'Server\.Custom');
112 ok(
[all...]
/macosx-10.9.5/CPANInternal-140/Log-Log4perl/t/
H A D041SafeEval.t12 ok(1); # If we made it this far, we're ok.
31 ok($failed, 0, 'config file with code initializes successfully');
37 ok($failed, 1, 'config file with code fails if ALLOW_CODE_IN_CONFIG_FILE is false');
44 ok($failed, 1, 'config file with code fails if ALLOW_CODE_IN_CONFIG_FILE is true and an explicit mask is set');
51 ok($failed, 1, 'config file with code fails if ALLOW_CODE_IN_CONFIG_FILE is true and a restrictive convenience mask is set');
58 ok($failed, 0, 'config file with code succeeds if ALLOW_CODE_IN_CONFIG_FILE is true and a safe convenience mask is set');
66 ok(ref $map, 'HASH', 'entire map is returned as a hashref');
71 ok(keys %map, $numkeys, 'entire map returned as hash has same number of keys as hashref');
75 ok(key
[all...]
/macosx-10.9.5/CPANInternal-140/Log-Log4perl-1.40/t/
H A D041SafeEval.t19 ok(1); # If we made it this far, we're ok.
38 ok($failed, 0, 'config file with code initializes successfully');
44 ok($failed, 1, 'config file with code fails if ALLOW_CODE_IN_CONFIG_FILE is false');
51 ok($failed, 1, 'config file with code fails if ALLOW_CODE_IN_CONFIG_FILE is true and an explicit mask is set');
58 ok($failed, 1, 'config file with code fails if ALLOW_CODE_IN_CONFIG_FILE is true and a restrictive convenience mask is set');
65 ok($failed, 0, 'config file with code succeeds if ALLOW_CODE_IN_CONFIG_FILE is true and a safe convenience mask is set');
73 ok(ref $map, 'HASH', 'entire map is returned as a hashref');
78 ok(keys %map, $numkeys, 'entire map returned as hash has same number of keys as hashref');
82 ok(key
[all...]

Completed in 116 milliseconds

<<11121314151617181920>>