http://trac.symfony-project.org/browser/plugins/swOptimizeRoutesPlugin/trunk/test/lib/swOptimizeHelper.php
http://trac.symfony-project.org/browser/plugins/swOptimizeRoutesPlugin/trunk/test/performance/load_data.php


;)

On Thu, Oct 15, 2009 at 5:17 PM, Jonathan Franks <jonat...@ifranks.com>wrote:

>
> I have a very long, complicated routing.yml and I want to make sure
> that when I add a new route, it doesn't conflict with any of the
> existing ones.
>
> So, I wanna write a test which does something like this...
>
> $routing = new sfPatternRouting(new sfEventDispatcher());
> ...
> some code to load the routes from my routing.yml
> ...
> $t->isDeeply($routing->parse('test.html'), array('module' => 'test',
> 'action' => 'test'), 'test.html passes');
> etc...
>
> can anyone tell me how to load the routing.yml into my
> sfPatternRouting object??
>
> Thanks
>
> Jonathan
>
>
>
> >
>


-- 
Thomas Rabaix
http://rabaix.net

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to