Gradle Test Run :app:testDevDebugUnitTest

UserFromMapTest

summary

60

tests

0

failures

0

skipped

0.081s

duration

100%

successful

Child Tests Failures Skipped Duration Success rate
fromMap defaults blockedUserIds to empty when null 1 0 0 0s 100%
fromMap defaults dateOfBirth to null 1 0 0 0s 100%
fromMap defaults hideAge to false 1 0 0 0s 100%
fromMap defaults hideFollowing and hideOnlineStatus to false 1 0 0 0s 100%
fromMap defaults language to en when missing 1 0 0 0.001s 100%
fromMap defaults minGiftAnimationValue to 0 when missing 1 0 0 0s 100%
fromMap defaults minGiftAnimationValue to 0 when null 1 0 0 0s 100%
fromMap defaults newStalkerCount to 0 when missing 1 0 0 0.005s 100%
fromMap defaults selfDestructAlertEnabled to false when missing 1 0 0 0s 100%
fromMap defaults shyBeans to 0 when missing 1 0 0 0.004s 100%
fromMap defaults shyCoins to 0 when missing 1 0 0 0s 100%
fromMap defaults stalkerCount to 0 when missing 1 0 0 0s 100%
fromMap defaults stalkersLastViewedAt to 0 when missing 1 0 0 0s 100%
fromMap defaults stalkersLastViewedAt to 0 when null 1 0 0 0s 100%
fromMap defaults suspension fields when missing 1 0 0 0s 100%
fromMap defaults uniqueId to 0 when missing 1 0 0 0s 100%
fromMap does not render a numeric id in scientific notation 1 0 0 0.017s 100%
fromMap drops nulls rather than inventing an id 1 0 0 0s 100%
fromMap handles empty map with all defaults 1 0 0 0s 100%
fromMap KEEPS a numeric blockedUserId — dropping it un-blocked people (SHY-0338) 1 0 0 0s 100%
fromMap of toMap produces equivalent user 1 0 0 0.001s 100%
fromMap of toMap roundtrip preserves suspension fields 1 0 0 0s 100%
fromMap parses complete valid map 1 0 0 0s 100%
fromMap parses dateOfBirth 1 0 0 0s 100%
fromMap parses hideAge 1 0 0 0.036s 100%
fromMap parses hideFollowing and hideOnlineStatus 1 0 0 0s 100%
fromMap parses language 1 0 0 0s 100%
fromMap parses minGiftAnimationValue 1 0 0 0s 100%
fromMap parses newStalkerCount 1 0 0 0s 100%
fromMap parses newStalkerCount from Double 1 0 0 0s 100%
fromMap parses newStalkerCount from Int 1 0 0 0s 100%
fromMap parses permanent suspension (null endDate) 1 0 0 0s 100%
fromMap parses selfDestructAlertEnabled 1 0 0 0.004s 100%
fromMap parses shyBeans from Double 1 0 0 0s 100%
fromMap parses shyBeans from Int 1 0 0 0s 100%
fromMap parses shyBeans from Long 1 0 0 0s 100%
fromMap parses shyCoins from Double 1 0 0 0s 100%
fromMap parses shyCoins from Int 1 0 0 0s 100%
fromMap parses shyCoins from Long 1 0 0 0s 100%
fromMap parses stalkerCount 1 0 0 0s 100%
fromMap parses stalkerCount from Double 1 0 0 0s 100%
fromMap parses stalkerCount from Int 1 0 0 0s 100%
fromMap parses stalkersLastViewedAt 1 0 0 0s 100%
fromMap parses suspension fields 1 0 0 0.001s 100%
fromMap parses uniqueId from Long 1 0 0 0s 100%
fromMap reads a MIXED array — real documents carry both 1 0 0 0s 100%
fromMap reads follow ids stored as NUMBERS — the SHY-0338 defect 1 0 0 0s 100%
fromMap still reads follow ids stored as strings 1 0 0 0.005s 100%
isActivelySuspended returns false for past end date 1 0 0 0.001s 100%
isActivelySuspended returns false when not suspended 1 0 0 0s 100%
isActivelySuspended returns true for future end date 1 0 0 0s 100%
isActivelySuspended returns true for permanent suspension 1 0 0 0.001s 100%
photoUrl falls back to avatarUrl when profilePhotoUrl is null 1 0 0 0s 100%
photoUrl prefers profilePhotoUrl over avatarUrl 1 0 0 0s 100%
photoUrl returns null when both are null 1 0 0 0s 100%
toMap defaults minGiftAnimationValue to 0 1 0 0 0.001s 100%
toMap defaults selfDestructAlertEnabled to false 1 0 0 0s 100%
toMap includes language 1 0 0 0s 100%
toMap includes minGiftAnimationValue 1 0 0 0.001s 100%
toMap includes selfDestructAlertEnabled 1 0 0 0s 100%