Commit a4f272b3 authored by Joel Hockey's avatar Joel Hockey Committed by Commit Bot

Fix spelling error

Change-Id: Ic6025326f0aaf5c173a2db650d512e0e4399e641
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2520478
Auto-Submit: Joel Hockey <joelhockey@chromium.org>
Commit-Queue: Timothy Loh <timloh@chromium.org>
Reviewed-by: default avatarTimothy Loh <timloh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824711}
parent de7ab7eb
...@@ -73,7 +73,7 @@ class PluginVmFilesTest : public testing::Test { ...@@ -73,7 +73,7 @@ class PluginVmFilesTest : public testing::Test {
return GetMyFilesFolderPath().Append("PvmDefault"); return GetMyFilesFolderPath().Append("PvmDefault");
} }
storage::FileSystemURL GetMyFilesFileSystmeURL(const std::string& path) { storage::FileSystemURL GetMyFilesFileSystemURL(const std::string& path) {
return mount_points_->CreateExternalFileSystemURL( return mount_points_->CreateExternalFileSystemURL(
url::Origin(), mount_name_, base::FilePath(path)); url::Origin(), mount_name_, base::FilePath(path));
} }
...@@ -143,7 +143,7 @@ TEST_F(PluginVmFilesTest, LaunchPluginVmApp) { ...@@ -143,7 +143,7 @@ TEST_F(PluginVmFilesTest, LaunchPluginVmApp) {
launch_plugin_vm_callback = std::move(callback); launch_plugin_vm_callback = std::move(callback);
})); }));
LaunchPluginVmApp(&profile_, app_id_, LaunchPluginVmApp(&profile_, app_id_,
{GetMyFilesFileSystmeURL("PvmDefault/file")}, {GetMyFilesFileSystemURL("PvmDefault/file")},
app_launched_callback.Get()); app_launched_callback.Get());
ASSERT_FALSE(launch_plugin_vm_callback.is_null()); ASSERT_FALSE(launch_plugin_vm_callback.is_null());
...@@ -183,7 +183,7 @@ TEST_F(PluginVmFilesTest, LaunchAppFail) { ...@@ -183,7 +183,7 @@ TEST_F(PluginVmFilesTest, LaunchAppFail) {
// Not enabled. // Not enabled.
fake_plugin_vm_features_.set_enabled(false); fake_plugin_vm_features_.set_enabled(false);
LaunchPluginVmApp(&profile_, app_id_, LaunchPluginVmApp(&profile_, app_id_,
{GetMyFilesFileSystmeURL("PvmDefault/file")}, {GetMyFilesFileSystemURL("PvmDefault/file")},
base::BindOnce(capture_result, &actual_result)); base::BindOnce(capture_result, &actual_result));
task_environment_.RunUntilIdle(); task_environment_.RunUntilIdle();
EXPECT_EQ(LaunchPluginVmAppResult::FAILED, actual_result); EXPECT_EQ(LaunchPluginVmAppResult::FAILED, actual_result);
...@@ -191,7 +191,7 @@ TEST_F(PluginVmFilesTest, LaunchAppFail) { ...@@ -191,7 +191,7 @@ TEST_F(PluginVmFilesTest, LaunchAppFail) {
// Path in MyFiles, but not MyFiles/PvmDefault. // Path in MyFiles, but not MyFiles/PvmDefault.
LaunchPluginVmApp(&profile_, app_id_, LaunchPluginVmApp(&profile_, app_id_,
{GetMyFilesFileSystmeURL("not/in/PvmDefault")}, {GetMyFilesFileSystemURL("not/in/PvmDefault")},
base::BindOnce(capture_result, &actual_result)); base::BindOnce(capture_result, &actual_result));
task_environment_.RunUntilIdle(); task_environment_.RunUntilIdle();
EXPECT_EQ(LaunchPluginVmAppResult::FAILED_DIRECTORY_NOT_SHARED, EXPECT_EQ(LaunchPluginVmAppResult::FAILED_DIRECTORY_NOT_SHARED,
......
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