gerrit/gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/account
Changcheng Xiao a2ffc209a4 Account REST API: adjust the deletable condition of external ids
Set the 'canDelete' field of external ids to be true if the external id
for the last login is null.

This is different from the old remote JSON service implementation, but it
seems reasonable because an external id should be deletable if the external
id is not a 'SCHEME_USERNAME' and it's not used to login.

And this change will make it much easier for us to test the get/delete
external ids REST API.

Change-Id: I0ab347bddf782b20a3be1826279df5a1ba88c5df
2017-01-17 08:35:54 +01:00
..
AccountAssert.java Convert Function/Predicate in acceptance tests to streams/lambdas 2016-09-22 09:06:23 +02:00
BUCK Buck: Make acceptance tests valid java class names 2016-06-01 08:10:57 +00:00
BUILD Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
CapabilitiesIT.java Remove test prefix from test methods 2016-12-06 10:36:42 +01:00
CapabilityInfo.java Add a Maintain Server global capability 2015-06-12 11:15:57 -04:00
ExternalIdIT.java Account REST API: adjust the deletable condition of external ids 2017-01-17 08:35:54 +01:00
GetAccountDetailIT.java AbstractDaemonTest: Add user SSH session 2016-04-25 07:28:21 +00:00
GetAccountIT.java GetAccountIT: use `expected` rather than catch and fail 2015-05-28 00:10:43 +00:00
ImpersonationIT.java Record real user in database for approvals/messages/comments 2016-10-10 12:01:03 -04:00
PutUsernameIT.java AbstractDaemonTest: Add user SSH session 2016-04-25 07:28:21 +00:00
WatchedProjectsIT.java Migrate project watches to git (part 1) 2016-07-20 14:16:14 +02:00