Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.373s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.037s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.031s)
getUploadByPathsExactMatch passed (0.024s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.061s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.032s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.054s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.052s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.415s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.046s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.033s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.027s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.036s)
testEntityAndOCUploadConversionTogether passed (0.020s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.256s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.018s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.019s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.019s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.020s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.057s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.021s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.023s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.018s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.018s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.017s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.019s)