summaryrefslogtreecommitdiff
path: root/src/components/test_main.cc
diff options
context:
space:
mode:
authorAlex Kutsan <akutsan@luxoft.com>2017-03-03 12:02:50 +0200
committerJacob Keeler <jacob.keeler@livioradio.com>2017-05-16 10:10:01 -0400
commit30d73a1506411d7b779843a37dffc4bf759c32e2 (patch)
tree0751d21f824997a35d7e044516a95234c7adf0ee /src/components/test_main.cc
parent5a70594cbc053230d8132516ac99339768e4a664 (diff)
downloadsdl_core-30d73a1506411d7b779843a37dffc4bf759c32e2.tar.gz
Improve a bit code of test scripts build
moved redundant namespace in local scope Added test main to list of sources
Diffstat (limited to 'src/components/test_main.cc')
-rw-r--r--src/components/test_main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/test_main.cc b/src/components/test_main.cc
index 66013d78c4..72c90acb5c 100644
--- a/src/components/test_main.cc
+++ b/src/components/test_main.cc
@@ -1,8 +1,8 @@
#include "gmock/gmock.h"
#include "utils/logger.h"
#include "utils/custom_string.h"
-namespace custom_str = utils::custom_string;
int main(int argc, char** argv) {
+ namespace custom_str = utils::custom_string;
testing::InitGoogleMock(&argc, argv);
::testing::DefaultValue<custom_str::CustomString>::Set(
custom_str::CustomString(""));