blob: bee70cb10f3cd722b0cf678fb4920bd176d14646 [file] [log] [blame]
Avi Drissman505076bc2022-10-06 21:15:301// Copyright 2022 The Chromium Authors
Victor Costand4993a72022-01-04 17:53:192// Use of this source code is governed by a BSD-style license that can be
Avi Drissman505076bc2022-10-06 21:15:303// found in the LICENSE file.
Victor Costand4993a72022-01-04 17:53:194
5#include "base/command_line.h"
6#include "base/test/task_environment.h"
7#include "base/test/test_timeouts.h"
8#include "testing/gmock/include/gmock/gmock.h"
9#include "testing/gtest/include/gtest/gtest.h"
10
11int main(int argc, char** argv) {
12 testing::InitGoogleTest(&argc, argv);
13 testing::InitGoogleMock(&argc, argv);
14
15 // Chromium's leveldb::Env uses PostTask.
16 base::CommandLine::Init(argc, argv);
17 TestTimeouts::Initialize();
18 base::test::TaskEnvironment task_environment;
19
20 return RUN_ALL_TESTS();
21}