blob: 90adfdacfb71229b2144503aa9bebe5ded52a690 [file] [log] [blame]
// Copyright 2022 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. See the AUTHORS file for names of contributors.
#include "base/command_line.h"
#include "base/test/task_environment.h"
#include "base/test/test_timeouts.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
int main(int argc, char** argv) {
testing::InitGoogleTest(&argc, argv);
testing::InitGoogleMock(&argc, argv);
// Chromium's leveldb::Env uses PostTask.
base::CommandLine::Init(argc, argv);
TestTimeouts::Initialize();
base::test::TaskEnvironment task_environment;
return RUN_ALL_TESTS();
}