Commit 91b6a17e authored by Noel Gordon's avatar Noel Gordon Committed by Commit Bot

Add tablet mode to FilesAppBrowserTest TestCase parameter

Bug: 839243
Change-Id: I9a726ce45a4ff500835dd8fdcd1372169250527e
Reviewed-on: https://chromium-review.googlesource.com/1071415Reviewed-by: default avatarNaoki Fukino <fukino@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#561457}
parent 03203a12
......@@ -16,7 +16,7 @@
namespace file_manager {
// TestCase: FileManagerBrowserTest parameters.
// TestCase: FilesAppBrowserTest parameters.
struct TestCase {
explicit TestCase(const char* name)
: test_name(name) {}
......@@ -26,9 +26,7 @@ struct TestCase {
return test_name;
}
GuestMode GetGuestMode() const {
return guest_mode;
}
GuestMode GetGuestMode() const { return guest_mode; }
TestCase& InGuestMode() {
guest_mode = IN_GUEST_MODE;
......@@ -40,8 +38,16 @@ struct TestCase {
return *this;
}
bool GetTabletMode() const { return tablet_mode; }
TestCase& TabletMode() {
tablet_mode = true;
return *this;
}
const char* test_name = nullptr;
GuestMode guest_mode = NOT_IN_GUEST_MODE;
bool tablet_mode = false;
};
// FilesApp browser test.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment