1 // Copyright (c) 2013 Intel Corporation. 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.
5 #ifndef XWALK_APPLICATION_TEST_APPLICATION_BROWSERTEST_H_
6 #define XWALK_APPLICATION_TEST_APPLICATION_BROWSERTEST_H_
8 #include "base/command_line.h"
9 #include "xwalk/application/browser/application.h"
10 #include "xwalk/application/browser/application_service.h"
11 #include "xwalk/extensions/common/xwalk_extension_vector.h"
12 #include "xwalk/test/base/in_process_browser_test.h"
15 // Base class for application browser test.
16 class ApplicationBrowserTest: public InProcessBrowserTest {
18 ApplicationBrowserTest();
19 virtual ~ApplicationBrowserTest();
21 virtual void SetUp() OVERRIDE;
23 xwalk::application::ApplicationService* application_sevice() const;
25 scoped_ptr<ApiTestRunner> test_runner_;
26 base::FilePath test_data_dir_;
29 void CreateExtensions(xwalk::extensions::XWalkExtensionVector* extensions);
32 #endif // XWALK_APPLICATION_TEST_APPLICATION_BROWSERTEST_H_