Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / athena / test / base / athena_browser_test.h
1 // Copyright 2014 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 #ifndef ATHENA_TEST_BASE_ATHENA_BROWSER_TEST_H_
6 #define ATHENA_TEST_BASE_ATHENA_BROWSER_TEST_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "content/public/test/browser_test.h"
10 #include "content/public/test/browser_test_base.h"
11
12 namespace base {
13 class CommandLine;
14 }
15
16 namespace content {
17 class BrowserContext;
18 }
19
20 namespace athena {
21 namespace test {
22
23 // Base class for athena browser tests.
24 class AthenaBrowserTest : public content::BrowserTestBase {
25  public:
26   AthenaBrowserTest();
27   ~AthenaBrowserTest() override;
28
29  protected:
30   // Returns the browser context used by the test.
31   content::BrowserContext* GetBrowserContext();
32
33  private:
34   // content::BrowserTestBase implementation.
35   void SetUpCommandLine(base::CommandLine* command_line) override;
36   void SetUpOnMainThread() override;
37   void RunTestOnMainThreadLoop() override;
38
39   DISALLOW_COPY_AND_ASSIGN(AthenaBrowserTest);
40 };
41
42 }  // namespace test
43 }  // namespace athena
44
45 #endif  // ATHENA_TEST_BASE_ATHENA_BROWSER_TEST_H_