Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.546s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.064s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.040s)
getUploadByPathsExactMatch passed (0.041s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.155s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.046s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.063s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.116s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.866s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.061s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.070s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.067s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.036s)
testEntityAndOCUploadConversionTogether passed (0.027s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.545s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.031s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.031s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.035s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.040s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.028s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.026s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.026s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.021s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.048s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.038s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.025s)