Deflake origin trial token validator tests
This removes the dependency on the system clock of the origin trial token validator tests. All static functions in the TrialTokenValidator namespace which validate tokens now take a base::Time argument which is used to compare against the tokens provided. BUG=672294 R=chasej@chromium.org,nhiroki@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_n5x_swarming_rel Review-Url: https://codereview.chromium.org/2555333006 Cr-Commit-Position: refs/heads/master@{#491601}
Showing
This diff is collapsed.
Please register or sign in to comment