2
* @file geis_test_api.h
3
* @brief internal interface of the GEIS test API
5
* This header exposes the GEIS internal test API for use in the GEIS test
10
* Copyright 2012 Canonical Ltd.
12
* This library is free software; you can redistribute it and/or modify it under
13
* the terms of the GNU Lesser General Public License as published by the Free
14
* Software Foundation; either version 3 of the License, or (at your option) any
17
* This library is distributed in the hope that it will be useful, but WITHOUT
18
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
19
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
22
* You should have received a copy of the GNU General Public License
23
* along with this program. If not, see <http://www.gnu.org/licenses/>.
25
#ifndef GEIS_TEST_API_H_
26
#define GEIS_TEST_API_H_
29
* Back end to use in unit testing.
31
#define GEIS_INIT_MOCK_BACKEND "com.canonical.oif.backend.mock"
34
* Causes device messages to be discarded from back end.
36
* Argument is of tyep GeisBoolean. GEIS_TRUE means device messages will be
37
* discarded, GEIS_FALSE means messages will not be discarded.
39
* This cofiguration option is intended to be used with various device-related
40
* integration and unit tests.
42
#define GEIS_CONFIG_DISCARD_DEVICE_MESSAGES "com.canonical.oif.discard.device"
44
#endif /* GEIS_TEST_API_H_ */