blob: d8076abec675112b2c3300684ef655e9853797a8 [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) {
12 FXMEM_InitalizePartitionAlloc();
13 testing::InitGoogleTest(&argc, argv);
14 testing::InitGoogleMock(&argc, argv);
15 return RUN_ALL_TESTS();
16}