C# Class MultiTentantSurveyAppTests.WebAPISurveyControllerTests

Afficher le fichier Open project: Azure-Samples/guidance-identity-management-for-multitenant-apps

Méthodes publiques

Méthode Description
WebAPISurveyControllerTests ( ) : System.Collections.Generic

Private Methods

Méthode Description
CreateActionContextWithUserPrincipal ( string userId, string tenantId ) : Microsoft.AspNet.Mvc.ActionContext
GetSurveysForTenant_FailsIfNotInSameTenant ( ) : System.Threading.Tasks.Task
GetSurveysForTenant_ReturnsSurveys ( ) : System.Threading.Tasks.Task
GetSurveysForUser_FailsIfNotUser ( ) : System.Threading.Tasks.Task
GetSurveysForUser_ReturnsSurveys ( ) : System.Threading.Tasks.Task

Method Details

WebAPISurveyControllerTests() public méthode

public WebAPISurveyControllerTests ( ) : System.Collections.Generic
Résultat System.Collections.Generic