Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.558s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.089s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.066s)
getUploadByPathsExactMatch passed (0.078s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.105s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.068s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.094s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.147s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.492s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.195s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.037s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.084s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.061s)
testEntityAndOCUploadConversionTogether passed (0.158s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.442s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.037s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.038s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.035s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.036s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.057s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.048s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.041s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.027s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.066s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.030s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.027s)