blob: f57ec3c555970d2e982b897c49225600aaa0b614 [file] [log] [blame]
Tom Sepez64ee2c32017-04-24 15:04:25 -07001// Copyright 2017 PDFium 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#include "core/fxcrt/fx_memory.h"
6#include "testing/gmock/include/gmock/gmock.h"
7#include "testing/gtest/include/gtest/gtest.h"
8
9// Can't use gtest-provided main since we need to initialize partition
10// alloc before invoking any test.
11int main(int argc, char** argv) {
Dan Sinclairdbc3d3e2017-05-11 13:41:38 -040012 FXMEM_InitializePartitionAlloc();
Tom Sepez64ee2c32017-04-24 15:04:25 -070013 testing::InitGoogleTest(&argc, argv);
14 testing::InitGoogleMock(&argc, argv);
15 return RUN_ALL_TESTS();
16}