google-nomulus/javatests/google/registry
nickfelt 65aaeccfc6 Fix TaskQueueHelper param matching for pull queue tasks
This fixes TaskQueueHelper methods and MatchableTaskInfo so that the .param() matching works for pull queues, by parsing the payload for URL-encoded parameters more liberally.  As such, it updates all the places where formerly we were hacking around this by manually constructing the expected payloads and using TaskMatcher.payload() instead.

It also adds a TaskQueueHelper.assertTasksEnqueued() overload that accepts an Iterable<TaskStateInfo> so that you can cleanly assert that a queue contains the same tasks that were returned via a previous call to getQueueInfo("queue").getTaskInfo().

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=156604901
2017-05-23 17:22:49 -04:00
..
backup Deal with gaps and forks in commit history 2017-05-17 11:30:36 -04:00
batch Fix TaskQueueHelper param matching for pull queue tasks 2017-05-23 17:22:49 -04:00
bigquery Remove some unnecessary uses of MockitoJUnitRunner, which is discouraged 2017-04-26 10:42:43 -04:00
builddefs Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
config Remove unnecessary line to load configs 2017-02-27 11:07:40 -05:00
cron Add response information to TldFanoutAction 2017-04-10 13:32:41 -04:00
dns Fix TaskQueueHelper param matching for pull queue tasks 2017-05-23 17:22:49 -04:00
export Make name and address fields required on Registrar 2017-05-17 11:44:46 -04:00
flows Fix TaskQueueHelper param matching for pull queue tasks 2017-05-23 17:22:49 -04:00
groups Remove some unnecessary uses of MockitoJUnitRunner, which is discouraged 2017-04-26 10:47:13 -04:00
keyring/kms Wrap Kms decrypt with Retrier 2017-05-03 11:10:53 -04:00
mapreduce/inputs Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
model Cache Registrars in memory 2017-05-17 12:26:11 -04:00
module Fix stale doPost references in servlet test method names 2017-02-27 11:15:01 -05:00
monitoring Remove some unnecessary uses of MockitoJUnitRunner, which is discouraged 2017-04-26 10:47:13 -04:00
pricing Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
rdap Remove obsolete TransferData.extendedRegistrationYears 2017-03-21 15:35:00 -04:00
rde Add the ability to generate RDE deposits in lenient mode 2017-05-17 12:22:49 -04:00
request Remove some unnecessary uses of MockitoJUnitRunner, which is discouraged 2017-04-26 10:47:13 -04:00
security Remove some unnecessary uses of MockitoJUnitRunner, which is discouraged 2017-04-26 10:45:45 -04:00
server Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
storage/drive Remove some unnecessary uses of MockitoJUnitRunner, which is discouraged 2017-04-26 10:45:45 -04:00
testing Fix TaskQueueHelper param matching for pull queue tasks 2017-05-23 17:22:49 -04:00
tldconfig/idn Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
tmch Remove some unnecessary uses of MockitoJUnitRunner, which is discouraged 2017-04-26 10:45:45 -04:00
tools Require currency specific billingAccountId for registrar 2017-05-17 12:09:46 -04:00
ui This CL include changes in the registrar console that makes it possible to designate an abuse contact in domain WHOIS record, per ICANN's CL&D requirement. 2017-05-17 11:36:53 -04:00
util Remove some unnecessary uses of MockitoJUnitRunner, which is discouraged 2017-04-26 10:42:43 -04:00
whois Add Carriage Return in WHOIS disclaimer text 2017-05-23 17:22:49 -04:00
xjc Add mapper to import domains from RDE deposits 2017-02-06 16:46:46 -05:00
xml Update copyright year on all license headers 2017-02-02 16:27:22 -05:00