mirror of
https://github.com/google/nomulus.git
synced 2025-08-02 16:02:10 +02:00
This changes ResourceStatusProhibitsOperationException so that we print out the list of StatusValues using their XML names rather than the literal enum name, i.e. we use "pendingDelete" rather than "PENDING_DELETE". This seems more correct given that EPP clients will be used to seeing the status values in the XML representation, and it also matches the existing ResourceHasClientUpdateProhibitedException that hardcodes "clientUpdateProhibited": http://[]/third_party/java_src/gtld/java/google/registry/flows/exceptions/ResourceHasClientUpdateProhibitedException.java?l=22&rcl=146111211 Also reorganized related test methods and added some missing tests, including for ContactTransferRequestFlow which previously had none. I also renamed the "clientProhibitedStatusValue" tests to instead say "statusValueNotClientSettable" to be clearer about what's being tested, and that it's not related to the "clientXXProhibited" statuses. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=150248562 |
||
---|---|---|
.. | ||
testdata | ||
HostCheckFlowTest.java | ||
HostCreateFlowTest.java | ||
HostDeleteFlowTest.java | ||
HostFlowUtilsTest.java | ||
HostInfoFlowTest.java | ||
HostUpdateFlowTest.java |