OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "android_webview/common/crash_reporter/crash_keys.h" |
| 6 #include "testing/gtest/include/gtest/gtest.h" |
| 7 |
| 8 class AwMicroDumpTest : public Test { |
| 9 public: |
| 10 AwMicroDumpUnittest() {} |
| 11 |
| 12 protected: |
| 13 }; |
| 14 |
| 15 TEST_F(AwMicroDumpTest, WhitelistedKeysAreRegistered) { |
| 16 std::vector<const char*> whitelisted_keys = |
| 17 crash_keys::GetWhiteListedWebViewCrashKeys(); |
| 18 std::vector<const char*> registered_keys = |
| 19 crash_keys::GetWebViewCrashKeysToRegister(); |
| 20 // TODO ensure whitelisted_keys is a sub-set of registered keys (with |
| 21 // special-cases for kMediumSize keys). |
| 22 } |
OLD | NEW |