kwiberg 492c09fe59 Don't make a top-level namespace called "voetest"
We shouldn't pollute the global namespace.

BUG=webrtc:7484

Review-Url: https://codereview.webrtc.org/2813373002
Cr-Commit-Position: refs/heads/master@{#17797}
2017-04-20 20:17:52 +00:00

29 lines
854 B
C++

/*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#include "webrtc/test/gtest.h"
#include "webrtc/test/testsupport/fileutils.h"
namespace webrtc {
namespace voetest {
void InitializeGoogleTest(int* argc, char** argv) {
// Initialize WebRTC testing framework so paths to resources can be resolved.
webrtc::test::SetExecutablePath(argv[0]);
testing::InitGoogleTest(argc, argv);
}
int RunInAutomatedMode() {
return RUN_ALL_TESTS();
}
} // namespace voetest
} // namespace webrtc