Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.513s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.092s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.068s)
getUploadByPathsExactMatch passed (0.063s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.089s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.090s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.111s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.226s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.615s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.114s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.068s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.048s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.032s)
testEntityAndOCUploadConversionTogether passed (0.034s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.389s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.022s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.055s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.069s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.044s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.044s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.072s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.032s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.029s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.043s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.029s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.035s)