DescriptionFixed AppListServceUnitTest so it tests what it says it's testing.
FakeProfileStore now returns the real kProfileLastUsed (from the pref
store), instead of a dummy value. This means that tests for code that
sets or manipulates the kProfileLastUsed pref will behave correctly.
AppListServceUnitTest.RemovedProfileResetsToInitialProfile now properly
tests the behaviour of RemoveProfile (that it clears kAppListProfile,
and that GetProfilePath returns the initial profile when kAppListProfile
is missing). Previously, it did not distinguish between the initial and
last used profiles.
AppListServiceUnitTest.RemovedProfileResetsToLastUsedProfileIfExists
also tests that the kAppListProfile has been set correctly.
BUG=487951
Committed: https://crrev.com/461a6f002efc93a8763c23c956b99bb1e437c3f6
Cr-Commit-Position: refs/heads/master@{#330319}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Remove explicit. #
Messages
Total messages: 15 (6 generated)
|