Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.746s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.060s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.043s)
getUploadByPathsExactMatch passed (0.054s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.053s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.050s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.042s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.118s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.568s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.058s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.034s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.049s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.029s)
testEntityAndOCUploadConversionTogether passed (0.025s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.258s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.024s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.035s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.022s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.026s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.039s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.025s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.026s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.022s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.033s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.026s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.027s)