Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.107s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.062s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.050s)
getUploadByPathsExactMatch passed (0.054s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.165s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.047s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.143s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.050s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.523s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.095s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.053s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.051s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.047s)
testEntityAndOCUploadConversionTogether passed (0.030s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.297s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.023s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.051s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.056s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.049s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.034s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.040s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.044s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.029s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.054s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.031s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.029s)