authpolicy: Add unit test for UserPolicyEncoder |
||||||||||
Issue description- Test encoding bool, int, string and string lists - Make sure an empty string list is encoded as such
,
Nov 11 2016
,
Nov 11 2016
,
Nov 11 2016
Copied issue chromium:664439 to issue chromium:664441
,
Nov 21 2016
,
Nov 21 2016
,
Jan 9 2017
,
Apr 5 2017
,
Apr 11 2017
,
Apr 13 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/platform2/+/7cb1e7de9d74ce74b998edbb52876160bbd8a145 commit 7cb1e7de9d74ce74b998edbb52876160bbd8a145 Author: Lutz Justen <ljusten@chromium.org> Date: Thu Apr 13 03:22:35 2017 authpolicy: Add unit test for UserPolicyEncoder Makes sure that all user policies get encoded into protobuf properly. BUG= chromium:664439 TEST=Compiled and ran tests. Change-Id: I394dec71e1c8e6c4050f4f3c460a912df10e3e89 Reviewed-on: https://chromium-review.googlesource.com/468846 Commit-Ready: Lutz Justen <ljusten@chromium.org> Tested-by: Lutz Justen <ljusten@chromium.org> Reviewed-by: Zentaro Kavanagh <zentaro@google.com> [modify] https://crrev.com/7cb1e7de9d74ce74b998edbb52876160bbd8a145/authpolicy/policy/device_policy_encoder.cc [modify] https://crrev.com/7cb1e7de9d74ce74b998edbb52876160bbd8a145/authpolicy/policy/device_policy_encoder.h [modify] https://crrev.com/7cb1e7de9d74ce74b998edbb52876160bbd8a145/authpolicy/policy/preg_policy_encoder.cc [modify] https://crrev.com/7cb1e7de9d74ce74b998edbb52876160bbd8a145/authpolicy/authpolicy.gyp [add] https://crrev.com/7cb1e7de9d74ce74b998edbb52876160bbd8a145/authpolicy/policy/user_policy_encoder_unittest.cc [modify] https://crrev.com/7cb1e7de9d74ce74b998edbb52876160bbd8a145/authpolicy/policy/device_policy_encoder_unittest.cc [modify] https://crrev.com/7cb1e7de9d74ce74b998edbb52876160bbd8a145/authpolicy/policy/user_policy_encoder.cc [modify] https://crrev.com/7cb1e7de9d74ce74b998edbb52876160bbd8a145/authpolicy/policy/user_policy_encoder.h [add] https://crrev.com/7cb1e7de9d74ce74b998edbb52876160bbd8a145/authpolicy/policy/policy_encoder_test_base.h
,
Apr 13 2017
,
Jul 6 2017
bulk Verify of Chromad V1 bugs |
||||||||||
►
Sign in to add a comment |
||||||||||
Comment 1 by ljusten@chromium.org
, Nov 11 2016