Home
last modified time | relevance | path

Searched defs:scenarioContext (Results 1 – 18 of 18) sorted by relevance

/dports/www/grafana8/grafana-8.3.6/pkg/middleware/
H A Dtesting.go19 type scenarioContext struct { struct
20 t *testing.T
21 m *web.Mux
24 apiKey string
25 authHeader string
26 jwtAuthHeader string
27 tokenSessionCookie string
29 handlerFunc handlerFunc
30 defaultHandler web.Handler
31 url string
[all …]
H A Dquota_test.go271 func getQuotaHandler(sc *scenarioContext, target string) web.Handler {
/dports/www/grafana8/grafana-8.3.6/pkg/services/guardian/
H A Dguardian_util_test.go15 type scenarioContext struct { struct
16 t *testing.T
17 orgRoleScenario string
18 permissionScenario string
19 g DashboardGuardian
20 givenUser *models.SignedInUser
21 givenDashboardID int64
23 givenTeams []*models.TeamDTO
25 expectedFlags permissionFlags
26 callerFile string
[all …]
/dports/www/grafana8/grafana-8.3.6/pkg/tsdb/elasticsearch/client/
H A Dclient_test.go333 type scenarioContext struct { struct
334 client Client
335 request *http.Request
336 requestBody *bytes.Buffer
337 responseStatus int
338 responseBody string
/dports/www/grafana8/grafana-8.3.6/pkg/api/
H A Dcommon_test.go150 type scenarioContext struct { struct
151 t *testing.T
152 cfg *setting.Cfg
153 m *web.Mux
154 context *models.ReqContext
156 handlerFunc handlerFunc
157 handlerFuncCtx handlerFuncCtx
158 defaultHandler web.Handler
159 req *http.Request
160 url string
[all …]
H A Ddashboard_test.go1015 func getDashboardShouldReturn200WithConfig(sc *scenarioContext, provisioningService provisioning.Pr…
1042 func getDashboardShouldReturn200(sc *scenarioContext) dtos.DashboardFullWithMeta {
1046 func callGetDashboard(sc *scenarioContext, hs *HTTPServer) {
1051 func callGetDashboardVersion(sc *scenarioContext) {
1061 func callGetDashboardVersions(sc *scenarioContext) {
1071 func callDeleteDashboardBySlug(sc *scenarioContext, hs *HTTPServer) {
1080 func callDeleteDashboardByUID(sc *scenarioContext, hs *HTTPServer) {
1089 func callPostDashboard(sc *scenarioContext) {
1093 func callRestoreDashboardVersion(sc *scenarioContext) {
1097 func callPostDashboardShouldReturnSuccess(sc *scenarioContext) {
H A Dfolder_permission_test.go379 func callGetFolderPermissions(sc *scenarioContext, hs *HTTPServer) {
384 func callUpdateFolderPermissions(t *testing.T, sc *scenarioContext) {
H A Ddashboard_permission_test.go402 func callGetDashboardPermissions(sc *scenarioContext, hs *HTTPServer) {
407 func callUpdateDashboardPermissions(t *testing.T, sc *scenarioContext) {
H A Dalerting_test.go154 func callPauseAlert(sc *scenarioContext) {
H A Dfolder_test.go135 func callCreateFolder(sc *scenarioContext) {
170 func callUpdateFolder(sc *scenarioContext) {
H A Dplugins_test.go188 func callGetPluginAsset(sc *scenarioContext) {
H A Dshort_url_test.go51 func callCreateShortURL(sc *scenarioContext) {
H A Dldap_debug_test.go384 …APContext(t *testing.T, requestURL string, preHook func(*testing.T, *scenarioContext)) *scenarioCo…
/dports/www/grafana8/grafana-8.3.6/pkg/services/alerting/
H A Dnotifier_test.go156 type scenarioContext struct { struct
157 t *testing.T
158 evalCtx *EvalContext
159 notificationService *notificationService
160 imageUploadCount int
161 renderCount int
162 uploadProvider func(ctx context.Context, path string) (string, error)
163 renderProvider func(ctx context.Context, opts rendering.Opts) (*rendering.RenderResult, error)
164 rendererAvailable bool
/dports/www/grafana8/grafana-8.3.6/pkg/services/libraryelements/
H A Dlibraryelements_test.go170 type scenarioContext struct { struct
171 ctx *web.Context
172 service *LibraryElementService
173 reqContext *models.ReqContext
174 user models.SignedInUser
175 folder *models.Folder
176 initialResult libraryElementResult
177 sqlStore *sqlstore.SQLStore
270 func scenarioWithPanel(t *testing.T, desc string, fn func(t *testing.T, sc scenarioContext)) {
284 func testScenario(t *testing.T, desc string, fn func(t *testing.T, sc scenarioContext)) {
/dports/www/grafana8/grafana-8.3.6/pkg/services/auth/jwt/
H A Dauth_test.go26 type scenarioContext struct { struct
27 ctx context.Context
28 cfg *setting.Cfg
29 authJWTSvc *AuthService
33 scenarioContext anonMember
/dports/www/grafana8/grafana-8.3.6/pkg/services/librarypanels/
H A Dlibrarypanels_test.go1318 type scenarioContext struct { struct
1319 ctx context.Context
1320 service Service
1321 elementService libraryelements.Service
1322 user *models.SignedInUser
1323 folder *models.Folder
1324 initialResult libraryPanelResult
1325 sqlStore *sqlstore.SQLStore
1469 func scenarioWithLibraryPanel(t *testing.T, desc string, fn func(t *testing.T, sc scenarioContext))…
1514 func testScenario(t *testing.T, desc string, fn func(t *testing.T, sc scenarioContext)) {
/dports/www/grafana8/grafana-8.3.6/packages/grafana-e2e/src/support/
H A DscenarioContext.ts15 const scenarioContext: ScenarioContext = { constant