Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.430s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.117s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.048s)
getUploadByPathsExactMatch passed (0.085s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.069s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.069s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.063s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.087s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.504s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.332s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.035s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.083s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.035s)
testEntityAndOCUploadConversionTogether passed (0.035s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.407s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.047s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.027s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.029s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.057s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.032s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.038s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.092s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.048s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.026s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.039s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.026s)