Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.096s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.061s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.042s)
getUploadByPathsExactMatch passed (0.087s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.106s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.043s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.072s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.044s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.490s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.297s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.033s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.074s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.028s)
testEntityAndOCUploadConversionTogether passed (0.074s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.227s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.031s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.031s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.025s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.035s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.044s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.037s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.041s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.057s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.036s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.055s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.026s)