diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2017-07-14 14:24:42 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-14 18:40:27 +0000 |
commit | 3a4ebcc7c490eba0c22892ab04d1730c350fd0c0 (patch) | |
tree | 4b95eae21c4430e3db867f27c7ec6da83df4d68f /fpdfsdk/javascript/util.h | |
parent | 21dd189fe50d297dd1224c06319e166c1ac6bae2 (diff) | |
download | pdfium-3a4ebcc7c490eba0c22892ab04d1730c350fd0c0.tar.xz |
Create ParseDataType unit tests based on specs.chromium/3159chromium/3158
Test cases that are commented out are failing with our current
implementation.
Change-Id: I9f80003af5a5d182f53cc655454aec44397d278b
Reviewed-on: https://pdfium-review.googlesource.com/7890
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/javascript/util.h')
-rw-r--r-- | fpdfsdk/javascript/util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fpdfsdk/javascript/util.h b/fpdfsdk/javascript/util.h index 98761b6f30..125d193bda 100644 --- a/fpdfsdk/javascript/util.h +++ b/fpdfsdk/javascript/util.h @@ -40,6 +40,11 @@ class util : public CJS_EmbedObj { static CFX_WideString printx(const CFX_WideString& cFormat, const CFX_WideString& cSource); + + private: + friend class CJS_Util_ParseDataType_Test; + + static int ParseDataType(std::wstring* sFormat); }; class CJS_Util : public CJS_Object { |