Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

4.235s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.086s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.110s)
getUploadByPathsExactMatch passed (0.068s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.081s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.122s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.073s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.105s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (1.248s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.083s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.094s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.059s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.247s)
testEntityAndOCUploadConversionTogether passed (0.045s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.745s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.045s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.098s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.036s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.080s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.040s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.040s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.036s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.334s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.044s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.202s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.114s)