Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

3.372s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.115s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.085s)
getUploadByPathsExactMatch passed (0.007s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.148s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.088s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.083s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.155s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.673s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.097s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.069s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.106s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.053s)
testEntityAndOCUploadConversionTogether passed (0.076s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (1.018s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.021s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.047s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.045s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.056s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.080s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.048s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.044s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.059s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.117s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.082s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0s)