Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

1.466s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.074s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.049s)
getUploadByPathsExactMatch passed (0.040s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.062s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.045s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.044s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.037s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (0.395s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.047s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.024s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.057s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.028s)
testEntityAndOCUploadConversionTogether passed (0.032s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.220s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.023s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.041s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.019s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.034s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.044s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.054s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.016s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.016s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.027s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.018s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.020s)