App Engine documentation gives an example of unit testing task queues, which works fine for the "default" queue, but I need a unit test for non-default queues.
I'm getting an exception from the following line:
val qsi = ltq.getQueueStateInfo.get("non-default");
I assume that I need to configure the non-default queue in my testing environment in much the same way that non-default production queues need to be configured (via queue.xml), but I'm not sure how to go about this.
Do I need a queue.xml file somewhere in my testing environment? And if so, where.
I've tried the following with a queue.xml file in my resources directory, but it complains about not finding org/mortbay/xml/XmlParser
val ltqtc = new LocalTaskQueueTestConfig
ltqtc.setQueueXmlPath(this.getClass.getResource("queue.xml").getPath)
val helper = new LocalServiceTestHelper(ltqtc)