Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.661s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.116s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.069s)
getUploadByPathsExactMatch passed (0.059s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.090s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.063s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.110s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.150s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.656s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.212s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.041s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.082s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.041s)
testEntityAndOCUploadConversionTogether passed (0.055s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.306s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.034s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.029s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.042s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.036s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.100s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.042s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.165s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.044s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.061s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.030s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.028s)