Change some test EXPECT to ASSERT to avoid segfaults am: 7f006997cb am: 69b6019d39 am: 81a9803241 am: 7d02410a43

Change-Id: Id84b31c3fdd6b32bf55954dae0552e3133cee569
This commit is contained in:
Automerger Merge Worker
2020-02-27 05:02:41 +00:00
2 changed files with 14 additions and 14 deletions

View File

@@ -437,7 +437,7 @@ class MockCryptoSession : public TestCryptoSession {
// Fake method for testing. Having an EXPECT_CALL causes complexities
// for getting table capacity during initialization.
virtual bool GetMaximumUsageTableEntries(SecurityLevel security_level,
virtual bool GetMaximumUsageTableEntries(SecurityLevel /*security_level*/,
size_t* number_of_entries) {
if (number_of_entries == nullptr || !maximum_usage_table_entries_set_)
return false;