Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.321s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.043s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.035s)
getUploadByPathsExactMatch passed (0.024s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.048s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.035s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.038s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.040s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.338s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.051s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.038s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.029s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.090s)
testEntityAndOCUploadConversionTogether passed (0.062s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.200s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.017s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.030s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.031s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.027s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.019s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.022s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.025s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.018s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.020s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.023s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.018s)