on line 60 the AclComp is used to generate a mock instance for use with the testcase created on line 67
--
by importing I meant `App::import`
http://book.cakephp.org/view/1644/App
On 31 December 2010 16:46, John Maxim <googol6@gmail.com> wrote:
Actually I don't get what you mean by importing .. is that a script
generally used?..
Regards,
Maxim, John.
> Seehttps://github.com/markstory/cakephp_menu_component/blob/master/tests...
On Dec 28 2010, 1:01 pm, Sam Sherlock <sam.sherl...@gmail.com> wrote:
> App::import the parts of cake needed by your tests
>
>
> - S
>
> On 28 December 2010 04:54, John Maxim <goog...@gmail.com> wrote:
>
> > I went through Testing athttp://book.cakephp.org/view/1196/Testing
>> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > Can we create any kind of test in that suite? Are there limitations to
> > what we are able to test ? or what we can't test on the Test Suite?
>
> > Let's say I want to test ACL scripts on the Test Suite?
>
> > with their CakePHP related questions.> > cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.com>For more options, visit this group at
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> >http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment