Commit becf0c40 authored by Umut Baris Oztunc's avatar Umut Baris Oztunc Committed by Commit Bot

Fix wrong naming for tests in arc_file_system_watcher_util_unittest.cc

This fixes the wrong naming for AndroidSupportedMediaExtensionsSorted
and HasAndroidSupportedMediaExtension unit tests. They were incorrectly named
as ArcFileSystemWatcherServiceTest instead of ArcFileSystemWatcherUtilTest.

Bug: 1037745
Test: unit_tests --gtest_filter="Arc*"
Change-Id: I0f35fa1f976dc93743a5d20ffae5e36d9c81c8f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1981246Reviewed-by: default avatarNaoki Fukino <fukino@chromium.org>
Commit-Queue: Umut Barış Öztunç <umutoztunc@google.com>
Cr-Commit-Position: refs/heads/master@{#727360}
parent 76af767b
...@@ -118,7 +118,7 @@ TEST(ArcFileSystemWatcherUtilTest, GetAndroidPath) { ...@@ -118,7 +118,7 @@ TEST(ArcFileSystemWatcherUtilTest, GetAndroidPath) {
.value()); .value());
} }
TEST(ArcFileSystemWatcherServiceTest, AndroidSupportedMediaExtensionsSorted) { TEST(ArcFileSystemWatcherUtilTest, AndroidSupportedMediaExtensionsSorted) {
const auto less_comparator = [](const char* a, const char* b) { const auto less_comparator = [](const char* a, const char* b) {
return strcmp(a, b) < 0; return strcmp(a, b) < 0;
}; };
...@@ -128,7 +128,7 @@ TEST(ArcFileSystemWatcherServiceTest, AndroidSupportedMediaExtensionsSorted) { ...@@ -128,7 +128,7 @@ TEST(ArcFileSystemWatcherServiceTest, AndroidSupportedMediaExtensionsSorted) {
less_comparator)); less_comparator));
} }
TEST(ArcFileSystemWatcherServiceTest, HasAndroidSupportedMediaExtension) { TEST(ArcFileSystemWatcherUtilTest, HasAndroidSupportedMediaExtension) {
EXPECT_TRUE(HasAndroidSupportedMediaExtension( EXPECT_TRUE(HasAndroidSupportedMediaExtension(
base::FilePath(FILE_PATH_LITERAL("/tmp/kitten.3g2")))); base::FilePath(FILE_PATH_LITERAL("/tmp/kitten.3g2"))));
EXPECT_TRUE(HasAndroidSupportedMediaExtension( EXPECT_TRUE(HasAndroidSupportedMediaExtension(
......
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