Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

2.144s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.111s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.053s)
getUploadByPathsExactMatch passed (0.037s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.263s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.092s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.086s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.048s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.485s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.104s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.044s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.035s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.067s)
testEntityAndOCUploadConversionTogether passed (0.035s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.277s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.026s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.040s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.047s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.043s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.050s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.037s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.046s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.026s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.033s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.025s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.034s)