Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.509s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.069s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.057s)
getUploadByPathsExactMatch passed (0.038s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.129s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.058s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.126s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.085s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.609s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.125s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.052s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.065s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.039s)
testEntityAndOCUploadConversionTogether passed (0.090s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.453s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.033s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.059s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.036s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.030s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.032s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.141s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.052s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.030s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.029s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.040s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.032s)