C# Class BusinessLogic.Tests.IntegrationTests.IntegrationTestBase

Afficher le fichier Open project: NemeStats/NemeStats

Protected Properties

Свойство Type Description
anotherTestGameDefinitionWithOtherGamingGroupId GameDefinition
championIdsToDelete List
eventFactory IUniversalAnalyticsEventFactory
eventTrackerStub IEventTracker
gameDefinitionWithNoChampion GameDefinition
gameDefinitionWithNoChampionName string
nemesisIdsToDelete List
playedGameTracker INemeStatsEventTracker
securedEntityValidatorFactory SecuredEntityValidatorFactory
testAlreadyRedeemedGamingGroupInvitation GamingGroupInvitation
testApplicationUserNameForUserWithDefaultGamingGroup string
testApplicationUserNameForUserWithDefaultGamingGroupAndNoInvites string
testApplicationUserNameForUserWithOtherGamingGroup string
testApplicationUserNameForUserWithThirdGamingGroup string
testBoardGameGeekGameDefinition BoardGameGeekGameDefinition
testGameDefinition GameDefinition
testGameDefinition2 GameDefinition
testGameDefinitionWithOtherGamingGroupId GameDefinition
testGameDescription string
testGameName string
testGameName2 string
testGameNameForAnotherGameWithOtherGamingGroupId string
testGameNameForGameWithOtherGamingGroupId string
testGamingGroup GamingGroup
testGamingGroup1Name string
testGamingGroup2Name string
testGamingGroup3Name string
testInviteeEmail1 string
testInviteeEmail2 string
testOtherGamingGroup GamingGroup
testPlayedGames List
testPlayer1 Player
testPlayer1Name string
testPlayer2 Player
testPlayer2Name string
testPlayer3 Player
testPlayer3Name string
testPlayer4 Player
testPlayer4Name string
testPlayer5 Player
testPlayer5Name string
testPlayer6 Player
testPlayer6Name string
testPlayer7Name string
testPlayer7WithOtherGamingGroupId Player
testPlayer8Name string
testPlayer8WithOtherGamingGroupId Player
testPlayer9UndefeatedWith5Games Player
testPlayer9UndefeatedWith5GamesName string
testPlayerWithNoPlayedGames Player
testPlayerWithNoPlayedGamesName string
testThirdGamingGroup GamingGroup
testUnredeemedGamingGroupInvitation GamingGroupInvitation
testUserWithDefaultGamingGroup ApplicationUser
testUserWithDefaultGamingGroupAndNoInvites ApplicationUser
testUserWithOtherGamingGroup ApplicationUser
testUserWithThirdGamingGroup ApplicationUser

Private Methods

Méthode Description
CleanUpApplicationUser ( string testApplicationUserName, NemeStatsDbContext nemeStatsDbContext ) : void
CleanUpBoardGameGeekGameDefinitions ( NemeStatsDbContext nemeStatsDbContext, BoardGameGeekGameDefinition boardGameGeekGameDefinition ) : void
CleanUpChampions ( NemeStatsDbContext nemeStatsDbContext ) : void
CleanUpGameDefinitions ( NemeStatsDbContext nemeStatsDbContext, string gameDefinitionName ) : void
CleanUpGamingGroup ( string testGamingGroupName, NemeStatsDbContext nemeStatsDbContext ) : void
CleanUpGamingGroupInvitation ( string inviteeEmail, NemeStatsDbContext nemeStatsDbContext ) : void
CleanUpNemeses ( NemeStatsDbContext nemeStatsDbContext ) : void
CleanUpPlayedGames ( NemeStatsDbContext nemeStatsDbContext ) : void
CleanUpPlayerByPlayerName ( string playerName, NemeStatsDbContext nemeStatsDbContext ) : void
CleanUpPlayerGameResults ( NemeStatsDbContext nemeStatsDbContext ) : void
CleanUpPlayers ( NemeStatsDbContext nemeStatsDbContext ) : void
CleanUpTestData ( ) : void
CreatePlayedGames ( NemeStatsDataContext dataContext ) : void
CreateTestPlayedGame ( int gameDefinitionId, List players, List correspondingPlayerRanks, ApplicationUser currentUser, IPlayedGameSaver playedGameSaver ) : PlayedGame
FixtureSetUp ( ) : void
FixtureTearDown ( ) : void
SaveApplicationUser ( NemeStatsDbContext nemeStatsDbContext, string userName, string email ) : ApplicationUser
SaveBoardGameGeekGameDefinition ( NemeStatsDataContext dataContext ) : BoardGameGeekGameDefinition
SaveGameDefinition ( NemeStatsDbContext nemeStatsDbContext, int gamingGroupId, string gameDefinitionName, int boardGameGeekGameDefinitionid = null ) : GameDefinition
SaveGamingGroup ( NemeStatsDataContext dataContext, string gamingGroupName, ApplicationUser owningUser ) : GamingGroup
SavePlayers ( NemeStatsDbContext nemeStatsDbContext, int primaryGamingGroupId, int otherGamingGroupId ) : void
UpdateDatefaultGamingGroupOnUser ( ApplicationUser user, GamingGroup gamingGroup, NemeStatsDataContext dataContext ) : ApplicationUser

Property Details

anotherTestGameDefinitionWithOtherGamingGroupId protected_oe property

protected GameDefinition anotherTestGameDefinitionWithOtherGamingGroupId
Résultat GameDefinition

championIdsToDelete protected_oe property

protected List championIdsToDelete
Résultat List

eventFactory protected_oe property

protected IUniversalAnalyticsEventFactory eventFactory
Résultat IUniversalAnalyticsEventFactory

eventTrackerStub protected_oe property

protected IEventTracker eventTrackerStub
Résultat IEventTracker

gameDefinitionWithNoChampion protected_oe property

protected GameDefinition gameDefinitionWithNoChampion
Résultat GameDefinition

gameDefinitionWithNoChampionName protected_oe property

protected string gameDefinitionWithNoChampionName
Résultat string

nemesisIdsToDelete protected_oe property

protected List nemesisIdsToDelete
Résultat List

playedGameTracker protected_oe property

protected INemeStatsEventTracker playedGameTracker
Résultat INemeStatsEventTracker

securedEntityValidatorFactory protected_oe property

protected SecuredEntityValidatorFactory securedEntityValidatorFactory
Résultat SecuredEntityValidatorFactory

testAlreadyRedeemedGamingGroupInvitation protected_oe property

protected GamingGroupInvitation testAlreadyRedeemedGamingGroupInvitation
Résultat GamingGroupInvitation

testApplicationUserNameForUserWithDefaultGamingGroup protected_oe property

protected string testApplicationUserNameForUserWithDefaultGamingGroup
Résultat string

testApplicationUserNameForUserWithDefaultGamingGroupAndNoInvites protected_oe property

protected string testApplicationUserNameForUserWithDefaultGamingGroupAndNoInvites
Résultat string

testApplicationUserNameForUserWithOtherGamingGroup protected_oe property

protected string testApplicationUserNameForUserWithOtherGamingGroup
Résultat string

testApplicationUserNameForUserWithThirdGamingGroup protected_oe property

protected string testApplicationUserNameForUserWithThirdGamingGroup
Résultat string

testBoardGameGeekGameDefinition protected_oe property

protected BoardGameGeekGameDefinition testBoardGameGeekGameDefinition
Résultat BoardGameGeekGameDefinition

testGameDefinition protected_oe property

protected GameDefinition testGameDefinition
Résultat GameDefinition

testGameDefinition2 protected_oe property

protected GameDefinition testGameDefinition2
Résultat GameDefinition

testGameDefinitionWithOtherGamingGroupId protected_oe property

protected GameDefinition testGameDefinitionWithOtherGamingGroupId
Résultat GameDefinition

testGameDescription protected_oe property

protected string testGameDescription
Résultat string

testGameName protected_oe property

protected string testGameName
Résultat string

testGameName2 protected_oe property

protected string testGameName2
Résultat string

testGameNameForAnotherGameWithOtherGamingGroupId protected_oe property

protected string testGameNameForAnotherGameWithOtherGamingGroupId
Résultat string

testGameNameForGameWithOtherGamingGroupId protected_oe property

protected string testGameNameForGameWithOtherGamingGroupId
Résultat string

testGamingGroup protected_oe property

protected GamingGroup testGamingGroup
Résultat GamingGroup

testGamingGroup1Name protected_oe property

protected string testGamingGroup1Name
Résultat string

testGamingGroup2Name protected_oe property

protected string testGamingGroup2Name
Résultat string

testGamingGroup3Name protected_oe property

protected string testGamingGroup3Name
Résultat string

testInviteeEmail1 protected_oe property

protected string testInviteeEmail1
Résultat string

testInviteeEmail2 protected_oe property

protected string testInviteeEmail2
Résultat string

testOtherGamingGroup protected_oe property

protected GamingGroup testOtherGamingGroup
Résultat GamingGroup

testPlayedGames protected_oe property

protected List testPlayedGames
Résultat List

testPlayer1 protected_oe property

protected Player testPlayer1
Résultat Player

testPlayer1Name protected_oe property

protected string testPlayer1Name
Résultat string

testPlayer2 protected_oe property

protected Player testPlayer2
Résultat Player

testPlayer2Name protected_oe property

protected string testPlayer2Name
Résultat string

testPlayer3 protected_oe property

protected Player testPlayer3
Résultat Player

testPlayer3Name protected_oe property

protected string testPlayer3Name
Résultat string

testPlayer4 protected_oe property

protected Player testPlayer4
Résultat Player

testPlayer4Name protected_oe property

protected string testPlayer4Name
Résultat string

testPlayer5 protected_oe property

protected Player testPlayer5
Résultat Player

testPlayer5Name protected_oe property

protected string testPlayer5Name
Résultat string

testPlayer6 protected_oe property

protected Player testPlayer6
Résultat Player

testPlayer6Name protected_oe property

protected string testPlayer6Name
Résultat string

testPlayer7Name protected_oe property

protected string testPlayer7Name
Résultat string

testPlayer7WithOtherGamingGroupId protected_oe property

protected Player testPlayer7WithOtherGamingGroupId
Résultat Player

testPlayer8Name protected_oe property

protected string testPlayer8Name
Résultat string

testPlayer8WithOtherGamingGroupId protected_oe property

protected Player testPlayer8WithOtherGamingGroupId
Résultat Player

testPlayer9UndefeatedWith5Games protected_oe property

protected Player testPlayer9UndefeatedWith5Games
Résultat Player

testPlayer9UndefeatedWith5GamesName protected_oe property

protected string testPlayer9UndefeatedWith5GamesName
Résultat string

testPlayerWithNoPlayedGames protected_oe property

protected Player testPlayerWithNoPlayedGames
Résultat Player

testPlayerWithNoPlayedGamesName protected_oe property

protected string testPlayerWithNoPlayedGamesName
Résultat string

testThirdGamingGroup protected_oe property

protected GamingGroup testThirdGamingGroup
Résultat GamingGroup

testUnredeemedGamingGroupInvitation protected_oe property

protected GamingGroupInvitation testUnredeemedGamingGroupInvitation
Résultat GamingGroupInvitation

testUserWithDefaultGamingGroup protected_oe property

protected ApplicationUser testUserWithDefaultGamingGroup
Résultat ApplicationUser

testUserWithDefaultGamingGroupAndNoInvites protected_oe property

protected ApplicationUser testUserWithDefaultGamingGroupAndNoInvites
Résultat ApplicationUser

testUserWithOtherGamingGroup protected_oe property

protected ApplicationUser testUserWithOtherGamingGroup
Résultat ApplicationUser

testUserWithThirdGamingGroup protected_oe property

protected ApplicationUser testUserWithThirdGamingGroup
Résultat ApplicationUser