Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.725s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.082s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.032s)
getUploadByPathsExactMatch passed (0.023s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.314s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.029s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.048s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.039s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.413s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.044s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.039s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.033s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.053s)
testEntityAndOCUploadConversionTogether passed (0.019s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.307s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.019s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.025s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.034s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.028s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.023s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.020s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.017s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.017s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.030s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.019s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.018s)