blob: 99be959145b51769b79c5572586395308b97fd25 [file] [log] [blame]
Girish Gowdrae538dfd2019-09-30 11:07:30 +05301/*
2 Copyright (C) 2018 Open Networking Foundation
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#ifndef __BAL_MOCKER_H__
19#define __BAL_MOCKER_H__
20#include <cmock/cmock.h>
21#include <cstdlib>
22#include "bcmos_errno.h"
23#include "bcmolt_host_api.h"
24#include "bcmolt_system_types_typedefs.h"
25#include "bcmolt_msg.h"
26
27class BalMocker : public CMockMocker<BalMocker>
28{
29public:
30 MOCK_METHOD1(bcmolt_host_init, bcmos_errno(bcmolt_host_init_parms*));
31 MOCK_METHOD2(bcmolt_cfg_get, bcmos_errno(bcmolt_oltid, bcmolt_cfg*));
32 MOCK_METHOD2(bcmolt_oper_submit, bcmos_errno(bcmolt_oltid, bcmolt_oper*));
33};
34#endif