Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.774s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.111s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.052s)
getUploadByPathsExactMatch passed (0.054s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.108s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.065s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.061s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.103s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.772s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.079s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.038s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.069s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.062s)
testEntityAndOCUploadConversionTogether passed (0.036s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.711s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.032s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.033s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.033s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.038s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.034s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.090s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.040s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.054s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.032s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.035s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.032s)