| Index: chrome_elf/chrome_elf_util_unittest.cc
|
| diff --git a/chrome_elf/chrome_elf_util_unittest.cc b/chrome_elf/chrome_elf_util_unittest.cc
|
| index ad838018b43260c7d6609aa15ee9a8e121e19719..979a49a4364ecea153d3135ccf81aa52bf702207 100644
|
| --- a/chrome_elf/chrome_elf_util_unittest.cc
|
| +++ b/chrome_elf/chrome_elf_util_unittest.cc
|
| @@ -48,6 +48,12 @@ TEST(ChromeElfUtilTest, SystemInstallTest) {
|
| EXPECT_FALSE(IsSystemInstall(kChromeUserExePath));
|
| }
|
|
|
| +TEST(ChromeElfUtilTest, BrowserProcessTest) {
|
| + EXPECT_TRUE(g_process_type == ProcessType::UNINITIALIZED);
|
| + InitializeProcessType();
|
| + EXPECT_FALSE(IsNonBrowserProcess());
|
| +}
|
| +
|
| // Parameterized test with paramters:
|
| // 1: product: "canary" or "google"
|
| // 2: install level: "user" or "system"
|
|
|