Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.669s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.105s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.072s)
getUploadByPathsExactMatch passed (0.047s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.089s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.086s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.101s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.101s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.486s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.146s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.053s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.081s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.047s)
testEntityAndOCUploadConversionTogether passed (0.027s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.703s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.034s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.064s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.041s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.041s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.091s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.068s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.037s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.041s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.040s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.035s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.033s)