summaryrefslogtreecommitdiff
path: root/src/components/test_main.cc
blob: 66013d78c465cde82821b94e35406b1b1c7d7b87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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) {
  testing::InitGoogleMock(&argc, argv);
  ::testing::DefaultValue<custom_str::CustomString>::Set(
      custom_str::CustomString(""));
  const int result = RUN_ALL_TESTS();
  DEINIT_LOGGER();
  return result;
}