Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

3.938s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.273s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.048s)
getUploadByPathsExactMatch passed (0.040s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.460s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.037s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.703s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.216s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.615s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.273s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.032s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.199s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.051s)
testEntityAndOCUploadConversionTogether passed (0.037s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.501s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.030s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.105s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.027s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.023s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.036s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.047s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.065s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.038s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.039s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.022s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.021s)