Electroneum
perftest.cpp
Go to the documentation of this file.
1
// Tencent is pleased to support the open source community by making RapidJSON available.
2
//
3
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
4
//
5
// Licensed under the MIT License (the "License"); you may not use this file except
6
// in compliance with the License. You may obtain a copy of the License at
7
//
8
// http://opensource.org/licenses/MIT
9
//
10
// Unless required by applicable law or agreed to in writing, software distributed
11
// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
12
// CONDITIONS OF ANY KIND, either express or implied. See the License for the
13
// specific language governing permissions and limitations under the License.
14
15
#include "
perftest.h
"
16
17
int
main
(
int
argc,
char
**argv) {
18
#if _MSC_VER
19
_CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
20
//void *testWhetherMemoryLeakDetectionWorks = malloc(1);
21
#endif
22
::testing::InitGoogleTest
(&argc, argv);
23
return
RUN_ALL_TESTS
();
24
}
perftest.h
main
int main(int argc, char **argv)
Definition:
perftest.cpp:17
testing::InitGoogleTest
GTEST_API_ void InitGoogleTest(int *argc, char **argv)
RUN_ALL_TESTS
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
Definition:
gtest.h:2232
external
rapidjson
test
perftest
perftest.cpp
Generated on Sun Mar 10 2024 12:00:00 for Electroneum by
1.8.14