backendmanager_local.h
Go to the documentation of this file.
1 
4 /* Copyright (C) 2007,2008,2009,2011,2016 Olly Betts
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; either version 2 of the
9  * License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 #ifndef XAPIAN_INCLUDED_BACKENDMANAGER_LOCAL_H
22 #define XAPIAN_INCLUDED_BACKENDMANAGER_LOCAL_H
23 
24 #include <xapian.h>
25 
26 #if defined XAPIAN_HAS_GLASS_BACKEND
27 # include "backendmanager_glass.h"
28 # define BackendManagerLocal BackendManagerGlass
29 #elif defined XAPIAN_HAS_CHERT_BACKEND
30 # include "backendmanager_chert.h"
31 # define BackendManagerLocal BackendManagerChert
32 #else
33 # include "backendmanager.h"
34 # include "testsuite.h"
35 class BackendManagerLocal : public BackendManager {
36  public:
38  SKIP_TEST("No local database backend enabled");
39  }
40 };
41 #endif
42 
43 #endif // XAPIAN_INCLUDED_BACKENDMANAGER_LOCAL_H
BackendManager subclass for chert databases.
a generic test suite engine
#define BackendManagerLocal
Base class for backend handling in test harness.
Public interfaces for the Xapian library.
BackendManager subclass for glass databases.
#define SKIP_TEST(MSG)
Skip the current testcase with message MSG.
Definition: testsuite.h:74

Documentation for Xapian (version 1.4.12).
Generated on Thu Jul 25 2019 by Doxygen 1.8.13.