Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.358s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.110s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.059s)
getUploadByPathsExactMatch passed (0.053s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.073s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.051s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.063s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.130s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.493s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.302s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.038s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.106s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.036s)
testEntityAndOCUploadConversionTogether passed (0.046s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.357s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.032s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.044s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.039s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.059s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.037s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.043s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.051s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.027s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.048s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.030s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.031s)