Cambridge SMT System
googletesting.h
Go to the documentation of this file.
1 // Licensed under the Apache License, Version 2.0 (the "License");
2 // you may not use these files except in compliance with the License.
3 // You may obtain a copy of the License at
4 //
5 // http://www.apache.org/licenses/LICENSE-2.0
6 //
7 // Unless required by applicable law or agreed to in writing, software
8 // distributed under the License is distributed on an "AS IS" BASIS,
9 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 // See the License for the specific language governing permissions and
11 // limitations under the License.
12 
13 // Copyright 2012 - Gonzalo Iglesias, AdriĆ  de Gispert, William Byrne
14 
15 #ifndef GOOGLETESTING_HPP
16 #define GOOGLETESTING_HPP
17 
24 #define TESTING
25 #define USER_CHECK_DEBUG
26 
27 namespace ucam {
28 namespace util {
29 extern bool user_check_ok;
30 extern const bool detailed;
31 }
32 }
33 #include <gtest/gtest.h>
34 
35 #include "global_incls.hpp"
36 #include "global_decls.hpp"
37 
38 #include "custom_assert.hpp"
39 
40 #include "logger.hpp"
41 #include "global_funcs.hpp"
42 
43 #include "szfstream.hpp"
44 #include "registrypo.hpp"
45 #include "range.hpp"
46 
47 #include <constants-fsttools.hpp>
48 #include <constants-hifst.hpp>
49 
50 inline void ucam::util::init_param_options ( int argc, const char* argv[],
51  boost::program_options::variables_map *vm ) {};
52 
53 #define KENLM_MAX_ORDER 6
54 
55 namespace uu = ucam::util;
56 
57 #endif
Stream wrapper for pipe/text/compressed files.
void init_param_options(int argc, const char *argv[], po::variables_map *vm)
Function to initialize boost program_options module with command-line and config file options...
Provides smarter assert methods.
const bool detailed
General functions.
Handles different type of integer ranges.
General typedefs, defines...
Contains wrapper class RegistryPO, which uses boost::program_options to parse parameters, and provides methods to access them.
Definition: bleu.hpp:14
All included standard headers, boost headers,...