Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.421s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.071s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.064s)
getUploadByPathsExactMatch passed (0.049s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.062s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.052s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.095s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.204s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.485s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.237s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.046s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.076s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.044s)
testEntityAndOCUploadConversionTogether passed (0.083s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.430s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.026s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.047s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.038s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.038s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.053s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.051s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.059s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.026s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.032s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.029s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.024s)