base for setQueueXmlPath
- by antony.trupe
I can't figure out how to point unit tests at the queue config file.
Unit Test snippet
// TaskQueue setup
LocalTaskQueueTestConfig tqConfig = new LocalTaskQueueTestConfig();
tqConfig.setQueueXmlPath("/war/WEB_INF/queue.xml");
Stack Trace
java.lang.IllegalStateException: The
specified queue is unknown : zip-fetch
at
com.google.appengine.api.labs.taskqueue.QueueApiHelper.translateError(QueueApiHelper.java:56)
at
com.google.appengine.api.labs.taskqueue.QueueApiHelper.translateError(QueueApiHelper.java:111)
at
com.google.appengine.api.labs.taskqueue.QueueApiHelper.makeSyncCall(QueueApiHelper.java:32)
at
com.google.appengine.api.labs.taskqueue.QueueImpl.add(QueueImpl.java:310)
at
com.google.appengine.api.labs.taskqueue.QueueImpl.add(QueueImpl.java:282)
at
com.google.appengine.api.labs.taskqueue.QueueImpl.add(QueueImpl.java:267)
at ...