summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authordan sinclair <dsinclair@chromium.org>2018-03-29 03:12:19 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-29 03:12:19 +0000
commit3b76ebd5605488e0489938bd9326cf51c8be56c1 (patch)
tree4b0b0634426433e4f51e11ee06313fbb61ece6c3 /testing
parenta17a0e219d5fcd4b8714cf97e8daf119d4388bee (diff)
downloadpdfium-3b76ebd5605488e0489938bd9326cf51c8be56c1.tar.xz
Fixup API check
Fixup API check filename after fpdf_view_c_api_test was moved. TBR: hnakashima@chromium.org Change-Id: I49f1015616cb8c8a5d6a9f0646f1e19e8ed94779 Reviewed-on: https://pdfium-review.googlesource.com/29470 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/tools/api_check.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tools/api_check.py b/testing/tools/api_check.py
index c41701e0b8..e88af144c6 100755
--- a/testing/tools/api_check.py
+++ b/testing/tools/api_check.py
@@ -3,7 +3,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""Verifies exported functions in public/*.h are in fpdfview_c_api_test.c.
+"""Verifies exported functions in public/*.h are in fpdf_view_c_api_test.c.
This script gathers a list of functions from public/*.h that contain
FPDF_EXPORT. It then gathers a list of functions from
@@ -101,7 +101,7 @@ def main():
src_path = os.path.dirname(os.path.dirname(os.path.dirname(script_abspath)))
public_functions = _GetFunctionsFromPublicHeaders(src_path)
- api_test_relative_path = os.path.join('fpdfsdk', 'fpdfview_c_api_test.c')
+ api_test_relative_path = os.path.join('fpdfsdk', 'fpdf_view_c_api_test.c')
api_test_path = os.path.join(src_path, api_test_relative_path)
test_functions = _GetFunctionsFromTest(api_test_path)