Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.485s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.042s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.030s)
getUploadByPathsExactMatch passed (0.023s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.064s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.030s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.042s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.037s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.202s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.048s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.038s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.031s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.023s)
testEntityAndOCUploadConversionTogether passed (0.035s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.321s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.018s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.032s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.047s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.030s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.020s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.260s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.036s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.018s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.021s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.019s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.018s)