Class com.owncloud.android.utils.FileUploadHelperTest

25

tests

0

failures

0

skipped

7.868s

duration

100%

successful

Tests

Test emulator-5554
getUploadByPathsCaseInsensitiveExtensionFallback passed (0.072s)
getUploadByPathsCaseInsensitiveExtensionFallbackWCFDisabled passed (0.243s)
getUploadByPathsExactMatch passed (0.177s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercase passed (0.112s)
getUploadByPathsFindsRecordWhenDBHasLowercaseExtensionButSearchUsesUppercaseWCFDisabled passed (0.207s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtension passed (0.213s)
getUploadByPathsHandlesDeepNestedPathWithUppercaseExtensionWCFDisabled passed (0.190s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPath passed (3.552s)
getUploadByPathsOnlyTogglesExtensionNotRestOfFilenameOrPathWCFDisabled passed (0.180s)
getUploadByPathsReturnsNullWhenNeitherExactNorAlternativeExtensionPathExists passed (0.115s)
getUploadByPathsReturnsNullWhenRemotePathHasNoExtension passed (0.676s)
getUploadByPathsReturnsNullWhenRemotePathIsEmpty passed (0.099s)
testEntityAndOCUploadConversionTogether passed (0.041s)
toOCUploadAppliesAutoRenameWhenCapabilityIsProvided passed (0.975s)
toOCUploadHandlesNullOptionalFieldsGracefully passed (0.078s)
toOCUploadMapsAllFieldsCorrectlyWithoutCapability passed (0.047s)
toOCUploadMapsBooleanFalseFieldsCorrectly passed (0.065s)
toOCUploadReturnsNullWhenLocalPathIsNull passed (0.155s)
toOCUploadReturnsNullWhenRemotePathIsNull passed (0.134s)
toUploadEntityIsUseWifiOnlyIsFalseShouldReturnZero passed (0.033s)
toUploadEntityMapsAllFieldsCorrectlyWhenUploadIdIsSet passed (0.038s)
toUploadEntityMapsIsCreateRemoteFolderTrueShouldReturnOne passed (0.137s)
toUploadEntityMapsIsWhileChargingIsFalseShouldReturnZero passed (0.073s)
toUploadEntityPreservesExistingIdWhenUploadIdIsPositive passed (0.169s)
toUploadEntitySetsIdToNullWhenUploadIdIsNotValidToAllowRoomAutoGenerate passed (0.087s)