#include "components/omnibox/browser/voice_suggest_provider.h"
#include <memory>
#include "base/test/task_environment.h"
#include "build/build_config.h"
#include "components/omnibox/browser/fake_autocomplete_provider_client.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
class VoiceSuggestProviderTest : public testing::Test { … };
void VoiceSuggestProviderTest::SetUp() { … }
void VoiceSuggestProviderTest::TearDown() { … }
TEST_F(VoiceSuggestProviderTest, ServesNoSuggestionsByDefault) { … }
TEST_F(VoiceSuggestProviderTest, ServesSuppliedVoiceSuggestions) { … }
TEST_F(VoiceSuggestProviderTest, ConfidenceScoreImpliesOrdering) { … }
TEST_F(VoiceSuggestProviderTest,
VoiceSuggestionsAreNotReusedInSubsequentRequests) { … }
TEST_F(VoiceSuggestProviderTest, ClearCachePurgesAvailableVoiceSuggestions) { … }
TEST_F(VoiceSuggestProviderTest, MatchesWithSameScoresAreNotDropped) { … }
TEST_F(VoiceSuggestProviderTest, DuplicateMatchesAreMerged) { … }
TEST_F(VoiceSuggestProviderTest, HighConfidenceScoreDropsAlternatives) { … }
TEST_F(VoiceSuggestProviderTest, LowConfidenceScoresAreRejected) { … }
TEST_F(VoiceSuggestProviderTest, VoiceSuggestionResultsCanBeLimited) { … }