1. 07 May, 2018 1 commit
    • Noel Gordon's avatar
      Clarify the "isInGuestMode" test extension command · 6a73e559
      Noel Gordon authored
      Add FileManageBrowserTestBase private helper routines: IsGuestModeTest
      and IsIncognitoModeTest to return true when the test extension browser
      test has that GetGuestMode(). Use the helpers everywhere.
      
      The "isInGuestMode" command actually wants to know if the test runs in
      guest or incognito mode, or not. Write that out explicitly in its code
      and add LOG(INFO) and ASSERT_EQ() for even more explanation.
      
      Move "isInGuestMode" command so it's the first, move "getTestCaseName"
      command so it's third, to match the call order the test extensions use
      to call them: isInGuestMode, getRootPaths, getTestCaseName [1].
      
      Minor change to getRootPaths: call the variable downloads_root.
      
      [1] The test extensions call in this order always and once these three
      are done, the test extensions start running the test case. Another way
      to think about it is: these three commands are preliminary set-up that
      every Files.app browser test case requires. All remaining commands are
      specific to the current test case.
      
      Bug: 833834
      Change-Id: Ida01b88e745df6bf4b760aa421d36c5d8e872ecd
      Reviewed-on: https://chromium-review.googlesource.com/1043672Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
      Reviewed-by: default avatarStuart Langley <slangley@chromium.org>
      Commit-Queue: Noel Gordon <noel@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#556362}
      6a73e559
  2. 06 May, 2018 14 commits
  3. 05 May, 2018 25 commits