Searched refs:expects (Results 1 - 25 of 72) sorted by relevance

123

/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/PassengerPane/test/
H A Dconfig_uninstaller_test.rb28 @uninstaller.expects(:system).with("/usr/bin/dscl localhost -delete /Local/Default/Hosts/het-manfreds-blog.local")
29 @uninstaller.expects(:system).with("/usr/bin/dscl localhost -delete /Local/Default/Hosts/manfred-s-blog.local")
30 @uninstaller.expects(:system).with("/usr/bin/dscl localhost -delete /Local/Default/Hosts/my-blog.local")
45 @uninstaller.expects(:system).with(PassengerPaneConfig::APACHE_RESTART_COMMAND)
52 uninstaller.expects(:remove_from_hosts).with(0)
53 uninstaller.expects(:remove_from_hosts).with(1)
55 uninstaller.expects(:remove_vhost_conf).with(0)
56 uninstaller.expects(:remove_vhost_conf).with(1)
58 uninstaller.expects(:restart_apache!)
H A Dconfig_installer_test.rb42 @installer.expects(:system).with("/usr/bin/dscl localhost -create /Local/Default/Hosts/het-manfreds-blog.local IPAddress 127.0.0.1")
43 @installer.expects(:system).with("/usr/bin/dscl localhost -create /Local/Default/Hosts/manfred-s-blog.local IPAddress 127.0.0.1")
44 @installer.expects(:system).with("/usr/bin/dscl localhost -create /Local/Default/Hosts/my-blog.local IPAddress 127.0.0.1")
50 @installer.expects(:system).with("/usr/bin/dscl localhost -create /Local/Default/Hosts/het-manfreds-blog.local IPAddress 127.0.0.1")
103 File.expects(:exist?).with(PassengerPaneConfig::PASSENGER_APPS_DIR).returns(false)
104 FileUtils.expects(:mkdir_p).with(PassengerPaneConfig::PASSENGER_APPS_DIR)
113 File.expects(:open).with(PassengerPaneConfig::HTTPD_CONF, 'a').yields(file_mock)
114 file_mock.expects(:<<).with(%{
145 File.expects(:open).times(0)
153 File.expects(
[all...]
H A Dpref_pane_passenger_test.rb59 authorizationView.expects(:string=).with(OSX::KAuthorizationRightExecute)
73 OSX::NSNotificationCenter.defaultCenter.expects(:objc_send).with(
121 blog_app.expects(:reload!)
122 paste_app.expects(:reload!)
180 PassengerApplication.expects(:removeApplications).with([remove_app])
194 PassengerApplication.expects(:removeApplications).times(0)
200 pref_pane.expects(:browse).times(0)
209 pref_pane.expects(:browse).times(1)
212 pref_pane.expects(:browse).times(0)
237 OSX::NSAlert.any_instance.expects(
[all...]
H A Dshared_passenger_behaviour_test.rb14 OSX::SecurityHelper.sharedInstance.expects(:executeCommand_withArgs).with('/some/command', ['arg1', 'arg2']).returns(1)
28 OSX::NSAlert.any_instance.expects(:objc_send).with(
H A Dpassenger_application_test.rb35 passenger_app.expects(:start).times(0)
55 passenger_app.expects(:start).times(1)
60 passenger_app.expects(:save_config!).times(1)
87 passenger_app.expects(:load_data_from_vhost_file).times(0)
178 passenger_app.expects(:execute).with('/usr/bin/ruby', PassengerApplication::CONFIG_INSTALLER, [passenger_app.to_hash].to_yaml)
193 PrefPanePassenger.sharedInstance.expects(:applicationMarkedDirty).with(passenger_app)
219 passenger_app.expects(:restart).times(0)
228 FileUtils.expects(:mkdir).with(@tmp_dir)
233 passenger_app.expects(:restart).times(1)
243 passenger_app.expects(
[all...]
/macosx-10.9.5/CPANInternal-140/SQL-Abstract/t/
H A D06order_by.t15 expects => ' ORDER BY colA DESC',
20 expects => ' ORDER BY colA',
25 expects => ' ORDER BY colA DESC',
30 expects => ' ORDER BY colA, colB',
35 expects => ' ORDER BY colA ASC, colB DESC',
40 expects => ' ORDER BY colA ASC',
45 expects => ' ORDER BY colB DESC',
50 expects => ' ORDER BY colA ASC, colB DESC',
55 expects => ' ORDER BY colA, colB DESC',
60 expects
[all...]
/macosx-10.9.5/CPANInternal-140/Test-Deep/lib/Test/Deep/
H A DCache.pm14 $self->{expects} = [Test::Deep::Cache::Simple->new];
51 foreach my $type (qw( expects normal ))
63 foreach my $type (qw( expects normal ))
75 return $Test::Deep::Expects ? "expects" : "normal";
/macosx-10.9.5/CPANInternal-140/Test-Simple/t/Builder/
H A Ddone_testing_plan_mismatch.t42 not ok 4 - planned to run 3 but done_testing() expects 2
43 # Failed test 'planned to run 3 but done_testing() expects 2'
/macosx-10.9.5/CPANInternal-140/Test-Tester/lib/Test/
H A DTester.pm109 my $expects = shift;
120 cmp_results(\@results, $expects, $name);
232 my ($results, $expects, $name) = @_;
234 $Test->is_num(scalar @$results, scalar @$expects, "Test '$name' result count");
236 for (my $i = 0; $i < @$expects; $i++)
238 my $expect = $expects->[$i];
473 always be 1 and that's what Test::Tester expects by default.
561 =head3 cmp_results(\@results, \@expects, $name)
565 \@expects is a ref to an array of hash refs.
569 number of elements in \@results and \@expects i
[all...]
/macosx-10.9.5/CPANInternal-140/Sys-Filesystem/lib/Sys/Filesystem/
H A DUnix.pm240 It expects following arguments:
267 It expects following arguments:
292 It expects following arguments:
323 It expects following arguments:
/macosx-10.9.5/ruby-104/ruby/lib/rubygems/commands/
H A Dgenerate_index_command.rb41 statically. The command expects a 'gems' directory under the path given to
/macosx-10.9.5/CPANInternal-140/SOAP-Lite-0.69/lib/SOAP/
H A DConstants.pm30 Unless this parameter is set to 1, outgoing Content-Type headers will include specification of the character set used in encoding the message itself. Not all endpoints (client or server) may be able to properly deal with that data on the content header, however. If dealing with an endpoint that expects to do a more literal examination of the header as whole (as opposed to fully parsing it), this parameter may prove useful.
/macosx-10.9.5/CPANInternal-140/Log-Log4perl/lib/Log/Log4perl/Appender/
H A DFile.pm398 The popular log rotating utility C<newsyslog> expects a pid file
400 been rotated. This option expects a path to a file where the pid
/macosx-10.9.5/CPANInternal-140/Log-Log4perl-1.40/lib/Log/Log4perl/Appender/
H A DFile.pm412 The popular log rotating utility C<newsyslog> expects a pid file
414 been rotated. This option expects a path to a file where the pid
/macosx-10.9.5/CPANInternal-140/SOAP-Lite-0.715/lib/SOAP/
H A DConstants.pm152 Unless this parameter is set to 1, outgoing Content-Type headers will include specification of the character set used in encoding the message itself. Not all endpoints (client or server) may be able to properly deal with that data on the content header, however. If dealing with an endpoint that expects to do a more literal examination of the header as whole (as opposed to fully parsing it), this parameter may prove useful.
/macosx-10.9.5/CPANInternal-140/SOAP-Lite_new/lib/SOAP/
H A DConstants.pm153 Unless this parameter is set to 1, outgoing Content-Type headers will include specification of the character set used in encoding the message itself. Not all endpoints (client or server) may be able to properly deal with that data on the content header, however. If dealing with an endpoint that expects to do a more literal examination of the header as whole (as opposed to fully parsing it), this parameter may prove useful.
/macosx-10.9.5/swig-10/Source/Preprocessor/
H A Dcpp.c757 Swig_error(Getfile(args), Getline(args), "Macro '%s' expects %d arguments\n", name, Len(margs) - isvarargs);
759 Swig_error(Getfile(args), Getline(args), "Macro '%s' expects 1 argument\n", name);
761 Swig_error(Getfile(args), Getline(args), "Macro '%s' expects no arguments\n", name);
765 /* If the macro expects arguments, but none were supplied, we leave it in place */
1058 /* See if the macro expects arguments */
1124 /* See if the macro expects arguments */
/macosx-10.9.5/CPANInternal-140/XML-XPath/XPath/
H A DXMLParser.pm377 The parsefile method is identical to parse() except it expects a single
/macosx-10.9.5/curl-78.94.1/curl/packages/vms/
H A Dbuild_vms.com22 $! shared image expects.
49 $! shared image expects. This procedure will select the
/macosx-10.9.5/cups-372.4/cups/test/
H A Dipptool.c800 _cups_expect_t expects[200], /* Expected attributes */ local
1948 if (num_expects >= (int)(sizeof(expects) / sizeof(expects[0])))
1962 last_expect = expects + num_expects;
2877 for (i = num_expects, expect = expects; i > 0; i --, expect ++)
3208 for (i = num_expects, expect = expects; i > 0; i --, expect ++)
3261 for (i = num_expects, expect = expects; i > 0; i --, expect ++)
/macosx-10.9.5/CPANInternal-140/Log-Log4perl/lib/Log/Log4perl/
H A DAppender.pm480 an appender expects message chunks, but we would
/macosx-10.9.5/CPANInternal-140/Template-Toolkit/lib/Template/
H A DDocument.pm231 # This method expects a reference to a hash passed as the first argument
365 The constructor method, L<new()>, expects a reference to a hash array
/macosx-10.9.5/CPANInternal-140/Template-Toolkit/lib/Template/Plugin/
H A DDirectory.pm217 The constructor expects a directory name as an argument.
/macosx-10.9.5/CPANInternal-140/Template-Toolkit-2.24/lib/Template/
H A DDocument.pm231 # This method expects a reference to a hash passed as the first argument
365 The constructor method, L<new()>, expects a reference to a hash array
/macosx-10.9.5/CPANInternal-140/Template-Toolkit-2.24/lib/Template/Plugin/
H A DDirectory.pm217 The constructor expects a directory name as an argument.

Completed in 312 milliseconds

123