Commit 42963500 authored by Noel Gordon's avatar Noel Gordon Committed by Commit Bot

Rename MultiProfileFilesAppBrowserTest

Rename the FileManager part of the test fixture to FilesApp since it's
all FilesApp these days, and it simplifies --gtest-filter.

Bug: 836254
Change-Id: Ibfd29300ced82fec3029864230c4db8f1e3accee
Reviewed-on: https://chromium-review.googlesource.com/1146416Reviewed-by: default avatarColin Blundell <blundell@chromium.org>
Reviewed-by: default avatarSam McNally <sammc@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577162}
parent 06ea7b0c
...@@ -544,9 +544,9 @@ static const TestAccountInfo kTestAccounts[] = { ...@@ -544,9 +544,9 @@ static const TestAccountInfo kTestAccounts[] = {
}; };
// Test fixture class for testing multi-profile features. // Test fixture class for testing multi-profile features.
class MultiProfileFileManagerBrowserTest : public FileManagerBrowserTestBase { class MultiProfileFilesAppBrowserTest : public FileManagerBrowserTestBase {
public: public:
MultiProfileFileManagerBrowserTest() = default; MultiProfileFilesAppBrowserTest() = default;
protected: protected:
// Enables multi-profiles. // Enables multi-profiles.
...@@ -637,25 +637,25 @@ class MultiProfileFileManagerBrowserTest : public FileManagerBrowserTestBase { ...@@ -637,25 +637,25 @@ class MultiProfileFileManagerBrowserTest : public FileManagerBrowserTestBase {
private: private:
std::string test_case_name_; std::string test_case_name_;
DISALLOW_COPY_AND_ASSIGN(MultiProfileFileManagerBrowserTest); DISALLOW_COPY_AND_ASSIGN(MultiProfileFilesAppBrowserTest);
}; };
IN_PROC_BROWSER_TEST_F(MultiProfileFileManagerBrowserTest, PRE_BasicDownloads) { IN_PROC_BROWSER_TEST_F(MultiProfileFilesAppBrowserTest, PRE_BasicDownloads) {
AddAllUsers(); AddAllUsers();
} }
IN_PROC_BROWSER_TEST_F(MultiProfileFileManagerBrowserTest, BasicDownloads) { IN_PROC_BROWSER_TEST_F(MultiProfileFilesAppBrowserTest, BasicDownloads) {
AddAllUsers(); AddAllUsers();
// Sanity check that normal operations work in multi-profile. // Sanity check that normal operations work in multi-profile.
set_test_case_name("keyboardCopyDownloads"); set_test_case_name("keyboardCopyDownloads");
StartTest(); StartTest();
} }
IN_PROC_BROWSER_TEST_F(MultiProfileFileManagerBrowserTest, PRE_BasicDrive) { IN_PROC_BROWSER_TEST_F(MultiProfileFilesAppBrowserTest, PRE_BasicDrive) {
AddAllUsers(); AddAllUsers();
} }
IN_PROC_BROWSER_TEST_F(MultiProfileFileManagerBrowserTest, BasicDrive) { IN_PROC_BROWSER_TEST_F(MultiProfileFilesAppBrowserTest, BasicDrive) {
AddAllUsers(); AddAllUsers();
// Sanity check that normal operations work in multi-profile. // Sanity check that normal operations work in multi-profile.
set_test_case_name("keyboardCopyDrive"); set_test_case_name("keyboardCopyDrive");
......
...@@ -30,7 +30,7 @@ class UserSessionManager; ...@@ -30,7 +30,7 @@ class UserSessionManager;
// Necessary to declare this class as a friend. // Necessary to declare this class as a friend.
namespace file_manager { namespace file_manager {
class MultiProfileFileManagerBrowserTest; class MultiProfileFilesAppBrowserTest;
} }
// Necessary to declare these classes as friends. // Necessary to declare these classes as friends.
...@@ -185,7 +185,7 @@ class IdentityManager : public SigninManagerBase::Observer, ...@@ -185,7 +185,7 @@ class IdentityManager : public SigninManagerBase::Observer,
const std::string& email); const std::string& email);
friend MultiProfileDownloadNotificationTest; friend MultiProfileDownloadNotificationTest;
friend ProfileSyncServiceHarness; friend ProfileSyncServiceHarness;
friend file_manager::MultiProfileFileManagerBrowserTest; friend file_manager::MultiProfileFilesAppBrowserTest;
// These clients needs to call SetPrimaryAccountSynchronously(). // These clients needs to call SetPrimaryAccountSynchronously().
friend ArcSupportHostTest; friend ArcSupportHostTest;
......
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