Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

3.683s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.137s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.228s)
getUploadByPathsExactMatch passed (0.091s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.162s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.082s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.248s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.179s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.543s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.158s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.071s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.146s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.107s)
testEntityAndOCUploadConversionTogether passed (0.118s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.616s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.059s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.074s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.167s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.058s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.149s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.034s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.044s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.031s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.080s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.061s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.040s)