74ae84222594a99dc85ee4d9553660ffea588774
[platform/framework/web/crosswalk.git] / src / xwalk / application / common / application_unittest.cc
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "base/file_util.h"
6 #include "base/path_service.h"
7 #include "xwalk/application/common/application_data.h"
8 #include "xwalk/application/common/application_file_util.h"
9 #include "xwalk/application/common/application_manifest_constants.h"
10 #include "xwalk/application/common/manifest.h"
11 #include "xwalk/application/common/id_util.h"
12 #include "testing/gtest/include/gtest/gtest.h"
13
14 namespace xwalk {
15 namespace application {
16
17 // We persist location values in the preferences, so this is a sanity test that
18 // someone doesn't accidentally change them.
19 TEST(ApplicationTest, LocationValuesTest) {
20   ASSERT_EQ(0, Manifest::INVALID_TYPE);
21   ASSERT_EQ(1, Manifest::INTERNAL);
22   ASSERT_EQ(2, Manifest::COMMAND_LINE);
23 }
24
25 }  // namespace application
26 }  // namespace xwalk