DescriptionFiles.app: Refactoring for the onMessage function of FileManagerBrowserTest.
Previously onMessage function of FileManagerBrowserTest returns a string, but
the format of the return values is not consistent among the message types.
Also the onMessage function retunrs the value even if it is fatal error, but for
the case, we can stop the test directly in the function.
The CL removes unrequired result values, and adds test assertions for fatal
errors.
BUG=None
TEST=None
Committed: https://crrev.com/15161ce4e44d4945e6e7bdef17b2ca2d316e1578
Cr-Commit-Position: refs/heads/master@{#301076}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : Rebased. #Patch Set 5 : Fix test. #Patch Set 6 : Let the tests fail when onMessage has fatal errors. #Patch Set 7 : #
Messages
Total messages: 22 (10 generated)
|