]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/ntp/sntp/tests_main.h
Fix a regression with SA-15:24 patch that prevented NIS from
[FreeBSD/releng/10.2.git] / contrib / ntp / sntp / tests_main.h
1 #ifndef TESTS_MAIN_H
2 #define TESTS_MAIN_H
3
4 #include "config.h"
5
6 #include <string>
7 #include <vector>
8
9 #include <gtest/gtest.h>
10
11 extern "C" {
12 #include "ntp_stdlib.h"
13 }
14
15 class ntptest : public ::testing::Test {
16 public:
17         static void SetExtraParams(int start, int count, char** argv);
18 protected:
19         static std::vector<std::string> m_params;
20 };
21
22 #endif // TESTS_MAIN_H