on lines 16 & 17 of Mark Storys test he imports parts of the app required to perform the test
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 <[email protected]> wrote: > > Actually I don't get what you mean by importing .. is that a script > generally used?.. > > Regards, > Maxim, John. > > On Dec 28 2010, 1:01 pm, Sam Sherlock <[email protected]> wrote: > > App::import the parts of cake needed by your tests > > > > Seehttps:// > github.com/markstory/cakephp_menu_component/blob/master/tests... > > > > - S > > > > On 28 December 2010 04:54, John Maxim <[email protected]> wrote: > > > > > I went through Testing athttp://book.cakephp.org/view/1196/Testing > > > > > 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? > > > > > Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 [email protected] > > > To unsubscribe from this group, send email to > > > [email protected]<cake-php%[email protected]> > <cake-php%[email protected]<cake-php%[email protected]>>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 [email protected] > To unsubscribe from this group, send email to > [email protected]<cake-php%[email protected]>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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
