C# Class BusinessLogic.Tests.IntegrationTests.IntegrationTestBase

Datei anzeigen Open project: NemeStats/NemeStats

Protected Properties

Property 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

Method 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
return GameDefinition

championIdsToDelete protected_oe property

protected List championIdsToDelete
return List

eventFactory protected_oe property

protected IUniversalAnalyticsEventFactory eventFactory
return IUniversalAnalyticsEventFactory

eventTrackerStub protected_oe property

protected IEventTracker eventTrackerStub
return IEventTracker

gameDefinitionWithNoChampion protected_oe property

protected GameDefinition gameDefinitionWithNoChampion
return GameDefinition

gameDefinitionWithNoChampionName protected_oe property

protected string gameDefinitionWithNoChampionName
return string

nemesisIdsToDelete protected_oe property

protected List nemesisIdsToDelete
return List

playedGameTracker protected_oe property

protected INemeStatsEventTracker playedGameTracker
return INemeStatsEventTracker

securedEntityValidatorFactory protected_oe property

protected SecuredEntityValidatorFactory securedEntityValidatorFactory
return SecuredEntityValidatorFactory

testAlreadyRedeemedGamingGroupInvitation protected_oe property

protected GamingGroupInvitation testAlreadyRedeemedGamingGroupInvitation
return GamingGroupInvitation

testApplicationUserNameForUserWithDefaultGamingGroup protected_oe property

protected string testApplicationUserNameForUserWithDefaultGamingGroup
return string

testApplicationUserNameForUserWithDefaultGamingGroupAndNoInvites protected_oe property

protected string testApplicationUserNameForUserWithDefaultGamingGroupAndNoInvites
return string

testApplicationUserNameForUserWithOtherGamingGroup protected_oe property

protected string testApplicationUserNameForUserWithOtherGamingGroup
return string

testApplicationUserNameForUserWithThirdGamingGroup protected_oe property

protected string testApplicationUserNameForUserWithThirdGamingGroup
return string

testBoardGameGeekGameDefinition protected_oe property

protected BoardGameGeekGameDefinition testBoardGameGeekGameDefinition
return BoardGameGeekGameDefinition

testGameDefinition protected_oe property

protected GameDefinition testGameDefinition
return GameDefinition

testGameDefinition2 protected_oe property

protected GameDefinition testGameDefinition2
return GameDefinition

testGameDefinitionWithOtherGamingGroupId protected_oe property

protected GameDefinition testGameDefinitionWithOtherGamingGroupId
return GameDefinition

testGameDescription protected_oe property

protected string testGameDescription
return string

testGameName protected_oe property

protected string testGameName
return string

testGameName2 protected_oe property

protected string testGameName2
return string

testGameNameForAnotherGameWithOtherGamingGroupId protected_oe property

protected string testGameNameForAnotherGameWithOtherGamingGroupId
return string

testGameNameForGameWithOtherGamingGroupId protected_oe property

protected string testGameNameForGameWithOtherGamingGroupId
return string

testGamingGroup protected_oe property

protected GamingGroup testGamingGroup
return GamingGroup

testGamingGroup1Name protected_oe property

protected string testGamingGroup1Name
return string

testGamingGroup2Name protected_oe property

protected string testGamingGroup2Name
return string

testGamingGroup3Name protected_oe property

protected string testGamingGroup3Name
return string

testInviteeEmail1 protected_oe property

protected string testInviteeEmail1
return string

testInviteeEmail2 protected_oe property

protected string testInviteeEmail2
return string

testOtherGamingGroup protected_oe property

protected GamingGroup testOtherGamingGroup
return GamingGroup

testPlayedGames protected_oe property

protected List testPlayedGames
return List

testPlayer1 protected_oe property

protected Player testPlayer1
return Player

testPlayer1Name protected_oe property

protected string testPlayer1Name
return string

testPlayer2 protected_oe property

protected Player testPlayer2
return Player

testPlayer2Name protected_oe property

protected string testPlayer2Name
return string

testPlayer3 protected_oe property

protected Player testPlayer3
return Player

testPlayer3Name protected_oe property

protected string testPlayer3Name
return string

testPlayer4 protected_oe property

protected Player testPlayer4
return Player

testPlayer4Name protected_oe property

protected string testPlayer4Name
return string

testPlayer5 protected_oe property

protected Player testPlayer5
return Player

testPlayer5Name protected_oe property

protected string testPlayer5Name
return string

testPlayer6 protected_oe property

protected Player testPlayer6
return Player

testPlayer6Name protected_oe property

protected string testPlayer6Name
return string

testPlayer7Name protected_oe property

protected string testPlayer7Name
return string

testPlayer7WithOtherGamingGroupId protected_oe property

protected Player testPlayer7WithOtherGamingGroupId
return Player

testPlayer8Name protected_oe property

protected string testPlayer8Name
return string

testPlayer8WithOtherGamingGroupId protected_oe property

protected Player testPlayer8WithOtherGamingGroupId
return Player

testPlayer9UndefeatedWith5Games protected_oe property

protected Player testPlayer9UndefeatedWith5Games
return Player

testPlayer9UndefeatedWith5GamesName protected_oe property

protected string testPlayer9UndefeatedWith5GamesName
return string

testPlayerWithNoPlayedGames protected_oe property

protected Player testPlayerWithNoPlayedGames
return Player

testPlayerWithNoPlayedGamesName protected_oe property

protected string testPlayerWithNoPlayedGamesName
return string

testThirdGamingGroup protected_oe property

protected GamingGroup testThirdGamingGroup
return GamingGroup

testUnredeemedGamingGroupInvitation protected_oe property

protected GamingGroupInvitation testUnredeemedGamingGroupInvitation
return GamingGroupInvitation

testUserWithDefaultGamingGroup protected_oe property

protected ApplicationUser testUserWithDefaultGamingGroup
return ApplicationUser

testUserWithDefaultGamingGroupAndNoInvites protected_oe property

protected ApplicationUser testUserWithDefaultGamingGroupAndNoInvites
return ApplicationUser

testUserWithOtherGamingGroup protected_oe property

protected ApplicationUser testUserWithOtherGamingGroup
return ApplicationUser

testUserWithThirdGamingGroup protected_oe property

protected ApplicationUser testUserWithThirdGamingGroup
return ApplicationUser