base for setQueueXmlPath
Posted
by antony.trupe
on Stack Overflow
See other posts from Stack Overflow
or by antony.trupe
Published on 2010-05-18T22:49:13Z
Indexed on
2010/05/18
23:00 UTC
Read the original article
Hit count: 387
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 ...
© Stack Overflow or respective owner