tesseract v5.3.3.20231005
cleanapi_test.cc
Go to the documentation of this file.
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.
11
12#include <tesseract/baseapi.h>
13
14// Dummy enum in the global namespace that checks for collision with awkward
15// names.
16// If this test fails to compile, clean up the includes in tesseract/baseapi.h!
17// They are not supposed to drag in definitions of any of the tesseract
18// types included in this enum!
20
21#include "gtest/gtest.h"
22
23namespace tesseract {
24
25// Verifies that the global namespace is clean.
26TEST(CleanNamespaceTess, DummyTest) {
28}
29
30} // namespace tesseract
NameTester
@ BLOB
@ WORD
@ TBOX
@ ABORT
@ OKAY
@ ELIST
@ TPOINT
@ LOG
TEST(TesseractInstanceTest, TestMultipleTessInstances)