Class AchievementSyncPulledIconTests
EditMode tests for the icons a pull brings in: where the file goes and what it is called, what is imported and registered, what is never overwritten, that a preview asks for nothing and writes nothing yet reports what an apply reports, and that one failed icon is one reported row.
Inherited Members
Namespace: Serenity.UnityAchievements.Tests.Editor
Assembly: Tests.Editor.dll
Syntax
public class AchievementSyncPulledIconTests : AchievementSyncAssetTestBase
Constructors
AchievementSyncPulledIconTests()
Declaration
public AchievementSyncPulledIconTests()
Methods
AcceptedIconsOf_NeverListsALockedIconToDownload()
Declaration
public void AcceptedIconsOf_NeverListsALockedIconToDownload()
Apply_AFailedDownload_IsOneReportedRowAndTheNextIconStillApplies()
Declaration
public void Apply_AFailedDownload_IsOneReportedRowAndTheNextIconStillApplies()
Apply_AMarkedFileTheAuthorHasSinceReplaced_IsTheAuthorsAndIsNotOverwritten()
Declaration
public void Apply_AMarkedFileTheAuthorHasSinceReplaced_IsTheAuthorsAndIsNotOverwritten()
Apply_ANewAchievementCreatedByThePull_GetsItsIconLikeAnyMissingIcon()
Declaration
public void Apply_ANewAchievementCreatedByThePull_GetsItsIconLikeAnyMissingIcon()
Apply_ANewAchievementWithoutTheIconAccepted_IsStillCreatedAndTheIconIsNotRequired()
Declaration
public void Apply_ANewAchievementWithoutTheIconAccepted_IsStillCreatedAndTheIconIsNotRequired()
Apply_ASavedIcon_IsASingleUncompressedSpriteMarkedAsTheStorefrontsOwnCopy()
Declaration
public void Apply_ASavedIcon_IsASingleUncompressedSpriteMarkedAsTheStorefrontsOwnCopy()
Apply_ASecondPullWhoseBesideNameHoldsTheStorefrontsCopy_ReplacesThatCopyOnly()
Declaration
public void Apply_ASecondPullWhoseBesideNameHoldsTheStorefrontsCopy_ReplacesThatCopyOnly()
Apply_ATargetFolderInsideTheShippedPackage_IsRefusedAndNothingIsCreated()
Declaration
public void Apply_ATargetFolderInsideTheShippedPackage_IsRefusedAndNothingIsCreated()
Apply_AcceptAllLeavesAnOfferedIconAlone()
Declaration
public void Apply_AcceptAllLeavesAnOfferedIconAlone()
Apply_AnAcceptedLockedIcon_IsRefusedAndNeverReplacesTheUnlockedOne()
Declaration
public void Apply_AnAcceptedLockedIcon_IsRefusedAndNeverReplacesTheUnlockedOne()
Apply_AnAcceptedMissingIcon_SavesItUnderIconsAndPointsTheAchievementAtIt()
Declaration
public void Apply_AnAcceptedMissingIcon_SavesItUnderIconsAndPointsTheAchievementAtIt()
Apply_AnIconThatWasNotAccepted_IsNeitherRequestedNorWritten()
Declaration
public void Apply_AnIconThatWasNotAccepted_IsNeitherRequestedNorWritten()
Apply_AnOfferedIconTickedOnItsOwn_ReplacesTheFileAlreadyThere()
Declaration
public void Apply_AnOfferedIconTickedOnItsOwn_ReplacesTheFileAlreadyThere()
Apply_AnOfferedIconWhoseFileIsNotThereYet_SavesItAndRepointsTheAchievementLeavingTheOriginalAlone()
Declaration
public void Apply_AnOfferedIconWhoseFileIsNotThereYet_SavesItAndRepointsTheAchievementLeavingTheOriginalAlone()
Apply_AnOfferedRowWhoseAchievementPointsAtTheAuthorsFileAtTheUsualName_SavesBesideItAndRepointsTheAchievement()
Declaration
public void Apply_AnOfferedRowWhoseAchievementPointsAtTheAuthorsFileAtTheUsualName_SavesBesideItAndRepointsTheAchievement()
Apply_AnOrdinaryRowWhoseUsualNameHoldsTheAuthorsOwnFile_SavesBesideItAndLeavesItAlone()
Declaration
public void Apply_AnOrdinaryRowWhoseUsualNameHoldsTheAuthorsOwnFile_SavesBesideItAndLeavesItAlone()
Apply_BytesThatAreNotAnImage_AreNeverWritten()
Declaration
public void Apply_BytesThatAreNotAnImage_AreNeverWritten()
Apply_TheFileIsNamedAfterTheImagesRealFormat_NotAfterTheAddress()
Declaration
public void Apply_TheFileIsNamedAfterTheImagesRealFormat_NotAfterTheAddress()
Apply_WhenTheBesideNameIsTheAuthorsToo_TakesTheNextNumberedName()
Declaration
public void Apply_WhenTheBesideNameIsTheAuthorsToo_TakesTheNextNumberedName()
Apply_WithAddressablesOff_LeavesTheAddressablesSettingsUntouched()
Declaration
public void Apply_WithAddressablesOff_LeavesTheAddressablesSettingsUntouched()
Apply_WithAddressablesOn_RegistersTheIconUnderTheAchievementsLabelBeforeItIsUsed()
Declaration
public void Apply_WithAddressablesOn_RegistersTheIconUnderTheAchievementsLabelBeforeItIsUsed()
Apply_WithNoIconSource_ReportsTheIconAsNotDownloaded()
Declaration
public void Apply_WithNoIconSource_ReportsTheIconAsNotDownloaded()
CreateSource()
Declaration
public void CreateSource()
DescribeDestination_ForTheStorefrontsCopyAPreviousPullSaved_SaysItReplacesIt()
Declaration
public void DescribeDestination_ForTheStorefrontsCopyAPreviousPullSaved_SaysItReplacesIt()
DescribeDestination_SaysWhichFileIsWrittenOrReplacedOrLeftAlone()
Declaration
public void DescribeDestination_SaysWhichFileIsWrittenOrReplacedOrLeftAlone()
FileNames_FollowOneRule()
Declaration
public void FileNames_FollowOneRule()
Preview_AsksForNothingWritesNothingAndReportsWhatTheApplyReports()
Declaration
public void Preview_AsksForNothingWritesNothingAndReportsWhatTheApplyReports()
Preview_WithTheAuthorsFileAtTheUsualName_ReportsTheSameBesideNameTheApplyUses()
Declaration
public void Preview_WithTheAuthorsFileAtTheUsualName_ReportsTheSameBesideNameTheApplyUses()