Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.009s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.079s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.045s)
getUploadByPathsExactMatch passed (0.017s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.092s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.048s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.034s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.060s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.699s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.111s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.043s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.052s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.031s)
testEntityAndOCUploadConversionTogether passed (0.037s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.301s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.023s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.044s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.015s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.014s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.021s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.034s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.129s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.014s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.011s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.030s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.025s)