Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.398s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.083s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.039s)
getUploadByPathsExactMatch passed (0.036s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.092s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.044s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.098s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.143s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.742s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.161s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.029s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.049s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.029s)
testEntityAndOCUploadConversionTogether passed (0.027s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.440s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.023s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.032s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.075s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.029s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.049s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.032s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.027s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.034s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.031s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.022s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.032s)