Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.706s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.047s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.029s)
getUploadByPathsExactMatch passed (0.031s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.049s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.044s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.184s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.055s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.207s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.079s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.047s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.070s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.026s)
testEntityAndOCUploadConversionTogether passed (0.032s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.385s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.021s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.023s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.086s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.034s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.027s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.084s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.075s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.016s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.025s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.017s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.013s)