| Index: chromeos/app_mode/kiosk_oem_manifest_parser_unittest.cc
|
| diff --git a/chrome/browser/chromeos/app_mode/kiosk_oem_manifest_parser_unittest.cc b/chromeos/app_mode/kiosk_oem_manifest_parser_unittest.cc
|
| similarity index 70%
|
| rename from chrome/browser/chromeos/app_mode/kiosk_oem_manifest_parser_unittest.cc
|
| rename to chromeos/app_mode/kiosk_oem_manifest_parser_unittest.cc
|
| index 2b6c8339ad56474219412f1ec99dd08790a657f0..246a79788d1698718255afca0eaa90118b9e01b4 100644
|
| --- a/chrome/browser/chromeos/app_mode/kiosk_oem_manifest_parser_unittest.cc
|
| +++ b/chromeos/app_mode/kiosk_oem_manifest_parser_unittest.cc
|
| @@ -2,10 +2,10 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/chromeos/app_mode/kiosk_oem_manifest_parser.h"
|
| +#include "chromeos/app_mode/kiosk_oem_manifest_parser.h"
|
|
|
| #include "base/path_service.h"
|
| -#include "chrome/common/chrome_paths.h"
|
| +#include "chromeos/chromeos_test_utils.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace chromeos {
|
| @@ -14,9 +14,10 @@ typedef testing::Test KioskOemManifestParserTest;
|
|
|
| TEST_F(KioskOemManifestParserTest, LoadTest) {
|
| base::FilePath test_data_dir;
|
| - PathService::Get(chrome::DIR_TEST_DATA, &test_data_dir);
|
| - base::FilePath kiosk_oem_file = test_data_dir.Append(FILE_PATH_LITERAL(
|
| - "chromeos/app_mode/kiosk_manifest/kiosk_manifest.json"));
|
| + ASSERT_TRUE(chromeos::test_utils::GetTestDataPath(
|
| + "app_mode", "kiosk_manifest", &test_data_dir));
|
| + base::FilePath kiosk_oem_file =
|
| + test_data_dir.AppendASCII("kiosk_manifest.json");
|
| KioskOemManifestParser::Manifest manifest;
|
| EXPECT_TRUE(KioskOemManifestParser::Load(kiosk_oem_file, &manifest));
|
| EXPECT_TRUE(manifest.enterprise_managed);
|
|
|