File tree 2 files changed +18
-3
lines changed
2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ AM_CPPFLAGS += -isystem $(top_srcdir)/googletest/googletest/include \
53
53
check_PROGRAMS = \
54
54
apiexample_test \
55
55
bitvector_test \
56
+ cleanapi_test \
56
57
progress_test \
57
58
intsimdmatrix_test \
58
59
matrix_test \
@@ -71,6 +72,9 @@ apiexample_test_LDADD = $(GTEST_LIBS) $(TESS_LIBS) $(LEPTONICA_LIBS)
71
72
bitvector_test_SOURCES = bitvector_test.cc
72
73
bitvector_test_LDADD = $(GTEST_LIBS ) $(TESS_LIBS )
73
74
75
+ cleanapi_test_SOURCES = cleanapi_test.cc
76
+ cleanapi_test_LDADD = $(GTEST_LIBS ) $(TESS_LIBS )
77
+
74
78
progress_test_SOURCES = progress_test.cc
75
79
progress_test_LDFLAGS = $(OPENCL_LDFLAGS ) $(LEPTONICA_LIBS )
76
80
progress_test_LDADD = $(GTEST_LIBS ) $(GMOCK_LIBS ) $(TESS_LIBS ) $(LEPTONICA_LIBS )
Original file line number Diff line number Diff line change 1
- //
1
+ // (C) Copyright 2017, Google Inc.
2
+ // Licensed under the Apache License, Version 2.0 (the "License");
3
+ // you may not use this file except in compliance with the License.
4
+ // You may obtain a copy of the License at
5
+ // http://www.apache.org/licenses/LICENSE-2.0
6
+ // Unless required by applicable law or agreed to in writing, software
7
+ // distributed under the License is distributed on an "AS IS" BASIS,
8
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ // See the License for the specific language governing permissions and
10
+ // limitations under the License.
2
11
3
- #include " tesseract/api/ baseapi.h"
12
+ #include " baseapi.h"
4
13
5
14
// Dummy enum in the global namespace that checks for collision with awkward
6
15
// names.
@@ -18,6 +27,9 @@ enum NameTester {
18
27
WORD
19
28
};
20
29
30
+ #define ERRCODE_H // avoid redefinition of ABORT in errcode.h
31
+ #include " include_gunit.h"
32
+
21
33
namespace {
22
34
23
35
// Verifies that the global namespace is clean.
@@ -26,4 +38,3 @@ TEST(CleanNamespaceTess, DummyTest) {
26
38
}
27
39
28
40
} // namespace.
29
-
You can’t perform that action at this time.
0 commit comments