Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.298s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.063s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.066s)
getUploadByPathsExactMatch passed (0.048s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.072s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.050s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.075s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.125s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.513s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.303s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.035s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.121s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.035s)
testEntityAndOCUploadConversionTogether passed (0.045s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.333s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.027s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.044s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.051s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.071s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.029s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.035s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.053s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.024s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.027s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.030s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.023s)