| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c935268f6339ac909e3a38f4a96d8ae0a8c5a2ff
|
| --- /dev/null
|
| +++ b/chrome_elf/chrome_elf_util_unittest.cc
|
| @@ -0,0 +1,11 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome_elf/chrome_elf_util.h"
|
| +
|
| +TEST(ChromeElfUtilTest, CanaryTest) {
|
| + EXPECT_TRUE(IsCanary(L"C:\\Users\\user\\AppData\\Local\\Google\\Chrome SxS"));
|
| + EXPECT_FALSE(IsCanary(L"C:\\Users\\user\\AppData\\Local\\Google\\Chrome"));
|
| + EXPECT_FALSE(IsCanary(L"C:\\Users\\user\\AppData\\Local\\Chromium"));
|
| +}
|
|
|