#include "extensions/renderer/bindings/listener_tracker.h"
#include <memory>
#include <utility>
#include "base/values.h"
#include "extensions/common/mojom/event_dispatcher.mojom.h"
#include "extensions/renderer/bindings/api_binding_test_util.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
namespace {
constexpr char kEvent1[] = …;
constexpr char kEvent2[] = …;
constexpr char kOwner1[] = …;
constexpr char kOwner2[] = …;
constexpr int kRoutingId = …;
}
TEST(ListenerTrackerTest, UnfilteredListeners) { … }
TEST(ListenerTrackerTest, FilteredListenersWithMultipleFilters) { … }
TEST(ListenerTrackerTest, FilteredListenersWithMultipleOwners) { … }
TEST(ListenerTrackerTest, FilteredListenersWithMultipleEvents) { … }
TEST(ListenerTrackerTest, InvalidFilteredListener) { … }
TEST(ListenerTrackerTest, GetMatchingFilters) { … }
}