Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.074s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.068s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.046s)
getUploadByPathsExactMatch passed (0.040s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.230s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.075s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.250s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.044s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.261s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.057s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.046s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.044s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.036s)
testEntityAndOCUploadConversionTogether passed (0.031s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.433s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.030s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.039s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.044s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.032s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.028s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.031s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.082s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.031s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.038s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.028s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.030s)