summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/api_test_base_unittest.cc
blob: 149e34eb22a547e444da1c31b77f338db49371c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// 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 "extensions/renderer/api_test_base.h"

namespace extensions {

class ApiTestBaseTest : public ApiTestBase {
 public:
  void SetUp() override { ApiTestBase::SetUp(); }
};

TEST_F(ApiTestBaseTest, TestEnvironment) {
  RunTest("api_test_base_unittest.js", "testEnvironment");
}

TEST_F(ApiTestBaseTest, TestPromisesRun) {
  RunTest("api_test_base_unittest.js", "testPromisesRun");
}

TEST_F(ApiTestBaseTest, TestCommonModulesAreAvailable) {
  RunTest("api_test_base_unittest.js", "testCommonModulesAreAvailable");
}

TEST_F(ApiTestBaseTest, TestMojoModulesAreAvailable) {
  RunTest("api_test_base_unittest.js", "testMojoModulesAreAvailable");
}

TEST_F(ApiTestBaseTest, TestTestBindings) {
  RunTest("api_test_base_unittest.js", "testTestBindings");
}

}  // namespace extensions