Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.565s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.077s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.054s)
getUploadByPathsExactMatch passed (0.037s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.083s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.066s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.066s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.070s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.648s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.256s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.053s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.143s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.039s)
testEntityAndOCUploadConversionTogether passed (0.040s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.358s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.039s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.042s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.037s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.109s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.034s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.048s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.148s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.029s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.031s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.029s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.029s)