DescriptionImplement GetCounterTextFromResult() for the hosted apps counter.
Possible outputs are:
- "none"
- "1 app (<example>)"
- "2 apps (<example 1>, <example 2>)"
- "X apps (<example 1>, <example 2>, and X-2 more)"
Since this is rather complex, also add a unittest.
BUG=510028
Committed: https://crrev.com/9d6006cd757f9d25828e6af2dfde77dd814ccdb6
Cr-Commit-Position: refs/heads/master@{#400681}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addressed comments. #
Total comments: 4
Patch Set 3 : Fixed compilation errors. #Patch Set 4 : Fixed cast type. #
Messages
Total messages: 15 (4 generated)
|