Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / extensions / renderer / api_test_base_unittest.cc
blob149e34eb22a547e444da1c31b77f338db49371c7
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.
5 #include "extensions/renderer/api_test_base.h"
7 namespace extensions {
9 class ApiTestBaseTest : public ApiTestBase {
10 public:
11 void SetUp() override { ApiTestBase::SetUp(); }
14 TEST_F(ApiTestBaseTest, TestEnvironment) {
15 RunTest("api_test_base_unittest.js", "testEnvironment");
18 TEST_F(ApiTestBaseTest, TestPromisesRun) {
19 RunTest("api_test_base_unittest.js", "testPromisesRun");
22 TEST_F(ApiTestBaseTest, TestCommonModulesAreAvailable) {
23 RunTest("api_test_base_unittest.js", "testCommonModulesAreAvailable");
26 TEST_F(ApiTestBaseTest, TestMojoModulesAreAvailable) {
27 RunTest("api_test_base_unittest.js", "testMojoModulesAreAvailable");
30 TEST_F(ApiTestBaseTest, TestTestBindings) {
31 RunTest("api_test_base_unittest.js", "testTestBindings");
34 } // namespace extensions