a1bd3ca4d96dd79b44fa459ca476723ef5177e0c
[ric-app/hw.git] / test / hw_unit_tests.cc
1 /*
2 ==================================================================================
3
4         Copyright (c) 2018-2019 AT&T Intellectual Property.
5
6    Licensed under the Apache License, Version 2.0 (the "License");
7    you may not use this file except in compliance with the License.
8    You may obtain a copy of the License at
9
10        http://www.apache.org/licenses/LICENSE-2.0
11
12    Unless required by applicable law or agreed to in writing, software
13    distributed under the License is distributed on an "AS IS" BASIS,
14    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15    See the License for the specific language governing permissions and
16    limitations under the License.
17 ==================================================================================
18 /*
19  * hw_unit_tests.cc
20  *
21  *  Created on: Mar, 2020
22  *  Author: Shraboni Jana
23  */
24
25 #include<iostream>
26 #include<stdlib.h>
27 #include<gtest/gtest.h>
28
29 #include "test_db.h"
30 //#include "test_rmr.h"
31 #include "test_hc.h"
32
33 #define HC_MSG_SIZE 512
34
35 using namespace std;
36
37
38 int main(int argc, char* argv[])
39 {
40         char rmr_seed[80]="RMR_SEED_RT=../src/routes.txt";
41         putenv(rmr_seed);
42
43         testing::InitGoogleTest(&argc, argv);
44         return RUN_ALL_TESTS();
45 }