Skip to content

Commit

Permalink
unittest: Remove unused methods
Browse files Browse the repository at this point in the history
This fixes compiler warnings.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed May 26, 2019
1 parent 4b3bbd9 commit 9551c3d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions unittest/applybox_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ class ApplyBoxTest : public testing::Test {
return file::JoinPath(TESTING_DIR, name);
}
std::string TessdataPath() { return TESSDATA_DIR; }
std::string OutputNameToPath(const std::string& name) {
return file::JoinPath(FLAGS_test_tmpdir, name);
}

ApplyBoxTest() { src_pix_ = nullptr; }
~ApplyBoxTest() { pixDestroy(&src_pix_); }
Expand Down
3 changes: 0 additions & 3 deletions unittest/mastertrainer_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,6 @@ class MasterTrainerTest : public testing::Test {
std::string TestDataNameToPath(const std::string& name) {
return file::JoinPath(TESTING_DIR, name);
}
std::string TessdataPath() {
return TESSDATA_DIR;
}
std::string TmpNameToPath(const std::string& name) {
return file::JoinPath(FLAGS_test_tmpdir, name);
}
Expand Down

0 comments on commit 9551c3d

Please sign in to comment.