Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.510s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.078s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.064s)
getUploadByPathsExactMatch passed (0.061s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.078s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.068s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.060s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.118s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.794s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.129s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.040s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.059s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.057s)
testEntityAndOCUploadConversionTogether passed (0.057s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.397s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.029s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.035s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.100s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.034s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.048s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.039s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.037s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.029s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.031s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.034s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.034s)