Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.882s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.116s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.052s)
getUploadByPathsExactMatch passed (0.034s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.092s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.059s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.136s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.088s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (1.025s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.105s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.058s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.072s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.066s)
testEntityAndOCUploadConversionTogether passed (0.080s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.430s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.028s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.035s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.084s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.028s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.028s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.069s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.053s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.031s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.048s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.036s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.029s)