MCPcopy Create free account
hub / github.com/GoogleChrome/webstatus.dev / MockWPTMetricsStorer

Struct MockWPTMetricsStorer

backend/pkg/httpserver/server_test.go:339–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337 request *http.Request
338 expectedResponse *http.Response
339}
340
341type MockWPTMetricsStorer struct {
342 featureCfg *MockListMetricsForFeatureIDBrowserAndChannelConfig
343 aggregateCfg *MockListMetricsOverTimeWithAggregatedTotalsConfig
344 featuresSearchCfg *MockFeaturesSearchConfig
345 listBrowserFeatureCountMetricCfg *MockListBrowserFeatureCountMetricConfig
346 listMissingOneImplCountCfg *MockListMissingOneImplCountsConfig
347 listMissingOneImplFeaturesCfg *MockListMissingOneImplFeaturesConfig
348 listBaselineStatusCountsCfg *MockListBaselineStatusCountsConfig
349 listChromeDailyUsageStatsCfg *MockListChromeDailyUsageStatsConfig
350 getFeatureByIDConfig *MockGetFeatureByIDConfig
351 getIDFromFeatureKeyConfig *MockGetIDFromFeatureKeyConfig
352 createUserSavedSearchCfg *MockCreateUserSavedSearchConfig
353 deleteUserSavedSearchCfg *MockDeleteUserSavedSearchConfig
354 getSavedSearchCfg *MockGetSavedSearchConfig
355 getSavedSearchPublicCfg *MockGetSavedSearchPublicConfig
356 getSavedSearchSubscriptionPublicCfg *MockGetSavedSearchSubscriptionPublicConfig
357 listSavedSearchNotificationEventsCfg *MockListSavedSearchNotificationEventsConfig
358 listUserSavedSearchesCfg *MockListUserSavedSeachesConfig
359 updateUserSavedSearchCfg *MockUpdateUserSavedSearchConfig
360 putUserSavedSearchBookmarkCfg *MockPutUserSavedSearchBookmarkConfig
361 removeUserSavedSearchBookmarkCfg *MockRemoveUserSavedSearchBookmarkConfig
362 syncUserProfileInfoCfg *MockSyncUserProfileInfoConfig
363 getNotificationChannelCfg *MockGetNotificationChannelConfig
364 listNotificationChannelsCfg *MockListNotificationChannelsConfig
365 createNotificationChannelCfg *MockCreateNotificationChannelConfig
366 updateNotificationChannelCfg *MockUpdateNotificationChannelConfig
367 deleteNotificationChannelCfg *MockDeleteNotificationChannelConfig
368 createSavedSearchSubscriptionCfg *MockCreateSavedSearchSubscriptionConfig
369 deleteSavedSearchSubscriptionCfg *MockDeleteSavedSearchSubscriptionConfig
370 getSavedSearchSubscriptionCfg *MockGetSavedSearchSubscriptionConfig
371 listSavedSearchSubscriptionsCfg *MockListSavedSearchSubscriptionsConfig
372 updateSavedSearchSubscriptionCfg *MockUpdateSavedSearchSubscriptionConfig
373 validateQueryReferencesCfg *MockValidateQueryReferencesConfig
374 listGlobalSavedSearchesCfg *MockListGlobalSavedSearchesConfig
375 listCodeSubscriptionsCfg *MockListCodeSubscriptionsConfig
376 recordVCSWebhookDeliveryCfg *MockRecordVCSWebhookDeliveryConfig
377 t *testing.T
378 callCountListMissingOneImplCounts int
379 callCountListMissingOneImplFeatures int
380 callCountListBaselineStatusCounts int
381 callCountListBrowserFeatureCountMetric int
382 callCountFeaturesSearch int
383 callCountListChromeDailyUsageStats int
384 callCountListMetricsForFeatureIDBrowserAndChannel int
385 callCountListMetricsOverTimeWithAggregatedTotals int
386 callCountGetFeature int
387 callCountCreateUserSavedSearch int
388 callCountDeleteUserSavedSearch int
389 callCountGetSavedSearch int
390 callCountListUserSavedSearches int
391 callCountUpdateUserSavedSearch int
392 callCountPutUserSavedSearchBookmark int
393 callCountRemoveUserSavedSearchBookmark int
394 callCountSyncUserProfileInfo int
395 callCountGetNotificationChannel int
396 callCountListNotificationChannels int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected